unwanted global cflags in Fedora 4 - where are they?
From: fc4user (seawolf_at_scssi.org)
Date: 07/17/05
- Next message: GO: "Re: BEST LINUX CERTIFICATION?"
- Previous message: seawolf_at_scssi.org: "Re: Starting SMB on FC4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Jul 2005 11:44:55 -0700
Hi, all
i have asked the following in a number of redhat, fedora and gcc
newsgroups, but no one seems to know:
I'm a newbie at compiling - particularly, at compiling optimally.
On my my Fedora Core 4 I have been having compatibility and version
problems.
FC4 comes with gcc-4.0 as the default gcc . Some new sources (which
compiled nicely on FC3 / gcc3.4) are apparently non-compliant with
gcc-4.0, but, luckily(?) there is a gcc32 package, which I have used to
circumvent that non-compliance.
Still, in spite of, or unrelated to the gcc32 compat package,
Fedora Core 4 seems to present additional gcc problems.
Occasionally, some ./configure scripts and/or make files pull in global
gcc settings from some mysterious configuration, settings such as
" -mtune=pentium4 "
I am on a pentium3, so, apparently the FC4 installer goofed and
misconfigured the system
the "pentium4" flag is detected as global by cpan, for instance, and
this creates nasty perl installation problems.
Also, i have compiled various modules, which, when modprobe'd, cause
"version magic" errors. E.g.,
"... version magic '2.6.11-1.1369_FC4smp SMP PENTIUMIII REGPARM
4KSTACKS gcc-4.0' should be '2.6.11-1.1369_FC4smp SMP 686 REGPARM
4KSTACKS gcc-4.0' ...
...
... no version magic, tainting kernel "
Not sure if they above is related to the "pentium4" imposition, or
perhaps some other flag
Also, when I set my own CFLAGS, some ./configure scripts combine mine
with the phantom global ones...(!)
Does anyone know where to find these global configuration(s)
for -mtune, -march, -mcpu, etc., for the gcc ?
Thanks in advance
andrew
- Next message: GO: "Re: BEST LINUX CERTIFICATION?"
- Previous message: seawolf_at_scssi.org: "Re: Starting SMB on FC4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|