Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14706] New: GCC uses wrong CFLAGS

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14706] New: GCC uses wrong CFLAGS
  • Date: 3 Sep 2008 13:13:11 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14706

Summary: GCC uses wrong CFLAGS
Product: Codex
Version: stable grimoire
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: gnu
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: fredrik.carlstrom AT tele2.se


The version of gcc might have an influence on the value of CFLAGS (-march=
something or another).

When updating gcc, it is installed with the CFLAGS value computed from the old
version of gcc. The BOOT_CFLAGS can be used so that gcc is installed with the
CFLAGS obtained from the new version of gcc.

The attached patch fixes this for me, but should be reviewed before inclusion.
It also includes a minor fix for bug 14701.

IMHO there is also a bug when installing any other compiler in GCC. If the
user
has changed the optimization since gcc was installed, the other compilers will
be installed with the value used for gcc. The user should at least be
presented
with the opportunity to reinstall the already installed compilers with the new
(requested) optimization.


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




Archive powered by MHonArc 2.6.24.

Top of Page