[LLVMbugs] [Bug 11914] New: llvm/clang bootstrap powerpc-darwin8 dies during codegen

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 2 17:59:05 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11914

             Bug #: 11914
           Summary: llvm/clang bootstrap powerpc-darwin8 dies during
                    codegen
           Product: new-bugs
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I'm attempting to bootstrap clang-3.0 on powerpc-darwin8.
Stage 1 built with g++-4.0.1 ok, a few test failures with details found at:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-clang-release-3.0-patched-1-powerpc-darwin8-g++-4.0.1-fink-build-log.txt
(+ .bz2 for compressed)

at stage 2, building with stage-1-built clang:

[  1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
cd /sw/src/fink.build/llvm30-3.0-0.3/build/stage2/lib/Support &&
/sw/src/fink.build/llvm30-3.0-0.3/opt-bin/cc-st1-clang++  
-DLLVMSupport_EXPORTS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -fno-common -fPIC -O3 -DNDEBUG -fPIC
-I/sw/src/fink.build/llvm30-3.0-0.3/build/stage2/lib/Support
-I/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/lib/Support
-I/sw/src/fink.build/llvm30-3.0-0.3/build/stage2/include
-I/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/include    -Wall -W
-Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fno-exceptions
-o CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -c
/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/lib/Support/APFloat.cpp
Stack dump:
0.      Program arguments:
/Volumes/Mercedes2/sw/src/fink.build/llvm30-3.0-0.3/build/stage1/bin/clang-3.0
-cc1 -triple powerpc-apple-darwin8.11.0 -S -disable-free -disable-llvm-verifier
-main-file-name APFloat.cpp -pic-level 2 -mdisable-fp-elim -coverage-file
/tmp/APFloat-0oHd2f.s -resource-dir
/Volumes/Mercedes2/sw/src/fink.build/llvm30-3.0-0.3/build/stage1/bin/../lib/clang/3.0
-D LLVMSupport_EXPORTS -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -D NDEBUG -I
/sw/src/fink.build/llvm30-3.0-0.3/build/stage2/lib/Support -I
/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/lib/Support -I
/sw/src/fink.build/llvm30-3.0-0.3/build/stage2/include -I
/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/include -fmodule-cache-path
/var/tmp/clang-module-cache -O3 -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wno-long-long -pedantic -fconst-strings -fdeprecated-macro -fno-dwarf2-cfi-asm
-ferror-limit 19 -fmessage-length 80 -fobjc-fragile-abi -fno-common
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/APFloat-0oHd2f.s -x c++
/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/lib/Support/APFloat.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/sw/src/fink.build/llvm30-3.0-0.3/llvm-3.0.src/lib/Support/APFloat.cpp'.
4.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function
'@_ZN4llvm7APFloat28convertFromHexadecimalStringENS_9StringRefENS0_12roundingModeE'
clang-3: error: unable to execute command: Bus error
clang-3: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang-3: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang-3: note: diagnostic msg: Preprocessed source(s) are located at:
clang-3: note: diagnostic msg: /tmp/APFloat-oISpPA.ii
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o] Error 254
make[1]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make: *** [all] Error 2

Will attach .ii file shortly.

-- 
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.



More information about the llvm-bugs mailing list