Hi Bill, The preliminary result of regression test on ARM shows quit a lot failures, which makes me nervous. After discussion on IRC, echristo and chandlerc sugguested the following possibilities, 1) some flag weirdness 2) miscompile via cross toolchain 3) architecture-specific fundamental bug chandlerc told me compile LLVM/Clang without "-fno-strict-aliasing" first, see if those failures gone. If not, turn off all optimizations when building LLVM/Clang. But I have trouble with tweaking test-release.sh so that it can compile with "-fno-strict-aliasing" option. You can see the script I modified at [2]. Although I set CFLAGS and CXXFLAGS to "-fno-strict-aliasing", I see no "-fno-strict-aliasing" in llvm.make-Phase1-Release.log, seems CFLAGS and CXXFLAGS don't work. Do you know the correct way to enable/disable compiler options? Thanks! :) Regards, chenwj [1] http://people.cs.nctu.edu.tw/~chenwj/tmp/regression-test.txt [2] http://people.cs.nctu.edu.tw/~chenwj/tmp/test-release.txt -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
I have a native compile and the result seems better... You can compare the result of cross compile [1] and the native compile [2]. Any though? Regards, chenwj [1] http://people.cs.nctu.edu.tw/~chenwj/tmp/regression-test.txt [2] http://people.cs.nctu.edu.tw/~chenwj/tmp/llvm.check-Phase1-Release.txt -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Bill Wendling
2012-Apr-24 09:28 UTC
[LLVMdev] Trouble with tweaking test-release.sh script
Hi 陳韋任, Sorry for the late response. On Apr 21, 2012, at 8:03 PM, 陳韋任 wrote:> I have a native compile and the result seems better... You can compare > the result of cross compile [1] and the native compile [2]. > > Any though? >I'm not particularly happy about the failures here. We need to get to the bottom of them. In the previous email, you tried setting CFLAGS and CXXFLAGS to -fno-strict-aliasing during configuration. Try setting them during the 'make' command: $ make ... CFLAGS=-fno-strict-aliasing CXXFLAGS=-fno-strict-aliasing etc. If you get failures with that, then try one of the test cases and see how it's failing. If it's a crash, then see if you can figure out why it's crashing. :-) You may have to compile and run things by hand to really dig into this... -bw
Seemingly Similar Threads
- [LLVMdev] Trouble with tweaking test-release.sh script
- [LLVMdev] Trouble with tweaking test-release.sh script
- [LLVMdev] Trouble with tweaking test-release.sh script
- [LLVMdev] Trouble with tweaking test-release.sh script
- [LLVMdev] Trouble with tweaking test-release.sh script