http://llvm.org/bugs/show_bug.cgi?id=3042
Summary: Seems to miscompile qmake with -O2
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
So I was trying to compile Qt 4.5 TP1
(http://trolltech.com/developer/preview-qt-4.5 ) with 2.4 release of llvm and
Svn snapshot from llvm-gcc 4.2 taken on Nov 9.
It all works fine unless I specify the -optimized-qmake option to configure
script for Qt. This option just enables -O2 for qmake compilation. The
compilation succeeds but then qmake starts failing with weird file not found
errors.
All of the files exist and are having right permissions and strace of optimized
qmake shows that the files are being stat()ed with return of 0 which seems all
is ok with the files.
Needless to say if I use FSF GCC both optimized and non-optimized qmake
versions work fine and so does non-optimized llvm compiled qmake. Just
switching on -O2 breaks something when all other factors are same - this to
my naive instinct sounds like a code generation bug someplace?
I wasn't able to do more debugging as the LLVM -g compiled qmake still doesn't
produce debug info that gdb can use but that's another problem.
Any hints as to where to look will be helpful.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs