sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS
- Date: 3 Sep 2008 16:07:12 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=14706
--- Comment #2 from Fredrik Carlström <fredrik.carlstrom AT tele2.se>
2008-09-03 11:07:11 ---
I just noticed that optimizations set in sorcery didn't get through to
BOOT_CFLAGS in my previous patch. When trying to install g++ after upgrading
gcc, it failed with the bug 14071 error. I thought of the possibility to
change
the row BOOT_CFLAGS="$CFLAGS" to BOOT_CFLAGS="$CFLAGS $CFLAGS_TEMP", but that
won't work if gcc is downgraded. I've not tested this, but if nothing but the
-march value can change, the following should work:
BOOT_CFLAGS="$(echo $CFLAGS_TEMP | sed 's/-march=[^ ]*[ $]/ /') \
$(echo $CFLAGS | sed 's/^.*\(-march=[^ ]*\)[ $].*/\1/')".
Also, I do not know if the -funit-at-a-time fix is relevant on other than
x86_64 architectures.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-
[SM-Grimoire-Bugs] [Bug 14706] New: GCC uses wrong CFLAGS,
bugzilla-daemon, 09/03/2008
- [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS, bugzilla-daemon, 09/03/2008
- [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS, bugzilla-daemon, 09/03/2008
- [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS, bugzilla-daemon, 09/27/2008
- [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS, bugzilla-daemon, 09/27/2008
- [SM-Grimoire-Bugs] [Bug 14706] GCC uses wrong CFLAGS, bugzilla-daemon, 09/28/2008
Archive powered by MHonArc 2.6.24.