Closed
Bug 449977
Opened 17 years ago
Closed 17 years ago
-ftracer doesn't work with -O2 (Mac OS X, gcc 4.2)
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Nomis101, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; de-de) AppleWebKit/526.11 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1
Build Identifier:
I have a strange problem. I build Thunderbird Trunk with Apples GCC 4.2 on Mac OS X 10.5. If I use "-ftracer" in combination with "-O2" it doesn't build and I get an error. But if I use "-ftracer" in combination with "-O3", than I get a successful build. But I really don't understand why.
The error message I get if I use "-O2 -ftracer" is:
<<
gcc-4.2 -o prcountr.o -c -fvisibility=hidden -Wmost -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -pthread -O2 -ftracer -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -Di386=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/temp/src/obj-i386-apple-darwin9.4.0/mozilla/dist/include/nspr -I/temp/src/mozilla/nsprpub/pr/include -I/temp/src/mozilla/nsprpub/pr/include/private /temp/src/mozilla/nsprpub/pr/src/misc/prcountr.c
gcc-4.2 -o prdtoa.o -c -fvisibility=hidden -Wmost -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -pthread -O2 -ftracer -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -Di386=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/temp/src/obj-i386-apple-darwin9.4.0/mozilla/dist/include/nspr -I/temp/src/mozilla/nsprpub/pr/include -I/temp/src/mozilla/nsprpub/pr/include/private /temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c: In function ‘dtoa’:
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:3359: warning: label ‘trimzeros’ defined but not used
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c: In function ‘PR_dtoa’:
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:2754: warning: ‘ilim1’ may be used uninitialized in this function
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:2754: note: ‘ilim1’ was declared here
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:2754: warning: ‘ilim’ may be used uninitialized in this function
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:2754: note: ‘ilim’ was declared here
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c: In function ‘PR_strtod’:
/temp/src/mozilla/nsprpub/pr/src/misc/prdtoa.c:2492: internal compiler error: internal consistency failure
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[7]: *** [prdtoa.o] Error 1
make[6]: *** [export] Error 2
make[5]: *** [export] Error 2
make[4]: *** [export] Error 2
make[3]: *** [tier_nspr] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
>>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
I also reported this bug to Apple today. Maybe it has something to do with my CPU-Architekture (compare Bug 439087).
Comment 1•17 years ago
|
||
This is an internal compiler error, which pretty much by definition means it is not a Mozilla bug.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•