[LLVMbugs] [Bug 14387] New: stage 2 powerpc-darwin8 compile error without proper diagnostic

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 19 18:03:59 PST 2012


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

             Bug #: 14387
           Summary: stage 2 powerpc-darwin8 compile error without proper
                    diagnostic
           Product: new-bugs
           Version: trunk
          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


After a successfully built (with g++-4.0.1) powerpc-darwin8 llvm and clang
(r167855), and showing that hello-world compiled and ran successfully, I
embarked on stage 2 of self-hosting/bootstrap.
A few translation units in, I get compile failures with no diagnostic except
10000s of lines of assembler errors:

/Volumes/Mercedes2/sw/bin/cmake -H/Users/fang/local/src/LLVM-svn/llvm
-B/Users/f
ang/local/src/LLVM-svn/gcc40-stage2-build --check-build-system
CMakeFiles/Makefi
le.cmake 0
/Volumes/Mercedes2/sw/bin/cmake -E cmake_progress_start
/Users/fang/local/src/LL
VM-svn/gcc40-stage2-build/CMakeFiles
/Users/fang/local/src/LLVM-svn/gcc40-stage2
-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/Volumes/Isolde/builds/LLVM/gcc40-stage2-build'
make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make
lib/Support/CMakeFiles
/LLVMSupport.dir/depend
make[2]: Entering directory `/Volumes/Isolde/builds/LLVM/gcc40-stage2-build'
cd /Users/fang/local/src/LLVM-svn/gcc40-stage2-build &&
/Volumes/Mercedes2/sw/bi
n/cmake -E cmake_depends "Unix Makefiles" /Users/fang/local/src/LLVM-svn/llvm
/U
sers/fang/local/src/LLVM-svn/llvm/lib/Support
/Users/fang/local/src/LLVM-svn/gcc
40-stage2-build /Users/fang/local/src/LLVM-svn/gcc40-stage2-build/lib/Support
/U
sers/fang/local/src/LLVM-svn/gcc40-stage2-build/lib/Support/CMakeFiles/LLVMSuppo
rt.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/Volumes/Isolde/builds/LLVM/gcc40-stage2-build'
make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make
lib/Support/CMakeFiles
/LLVMSupport.dir/build
make[2]: Entering directory `/Volumes/Isolde/builds/LLVM/gcc40-stage2-build'
/Volumes/Mercedes2/sw/bin/cmake -E cmake_progress_report
/Users/fang/local/src/L
LVM-svn/gcc40-stage2-build/CMakeFiles 
[  0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
cd /Users/fang/local/src/LLVM-svn/gcc40-stage2-build/lib/Support &&
/Volumes/Iso
lde/sources/LLVM-svn/gcc40-cmake-build/bin/clang++   -DLLVMSupport_EXPORTS
-D_DE
BUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-fno-c
ommon -fPIC -fvisibility-inlines-hidden -fno-rtti -O2 -g -fPIC
-I/Users/fang/loc
al/src/LLVM-svn/gcc40-stage2-build/lib/Support
-I/Users/fang/local/src/LLVM-svn/
llvm/lib/Support -I/Users/fang/local/src/LLVM-svn/gcc40-stage2-build/include
-I/
Users/fang/local/src/LLVM-svn/llvm/include    -Wall -W -Wno-unused-parameter
-Ww
rite-strings -pedantic -Wno-long-long -Wcovered-switch-default -fno-exceptions
-
o CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -c
/Users/fang/local/src/LLVM-svn/llv
m/lib/Support/APFloat.cpp
/tmp/APFloat-CRRODx.s:5:Missing string
/tmp/APFloat-CRRODx.s:5:Rest of line ignored. 1st junk character valued 49 (1).
/tmp/APFloat-CRRODx.s:6:Missing string
/tmp/APFloat-CRRODx.s:6:Rest of line ignored. 1st junk character valued 50 (2).
/tmp/APFloat-CRRODx.s:7:Missing string
/tmp/APFloat-CRRODx.s:7:Rest of line ignored. 1st junk character valued 51 (3).
/tmp/APFloat-CRRODx.s:8:Missing string
/tmp/APFloat-CRRODx.s:8:Rest of line ignored. 1st junk character valued 52 (4).
/tmp/APFloat-CRRODx.s:9:Missing string
/tmp/APFloat-CRRODx.s:9:Rest of line ignored. 1st junk character valued 53 (5).
/tmp/APFloat-CRRODx.s:10:Missing string
/tmp/APFloat-CRRODx.s:10:Rest of line ignored. 1st junk character valued 54
(6).
/tmp/APFloat-CRRODx.s:11:Missing string
/tmp/APFloat-CRRODx.s:11:Rest of line ignored. 1st junk character valued 55
(7).
/tmp/APFloat-CRRODx.s:12:Missing string
/tmp/APFloat-CRRODx.s:12:Rest of line ignored. 1st junk character valued 56
(8).
/tmp/APFloat-CRRODx.s:13:Missing string
/tmp/APFloat-CRRODx.s:13:Rest of line ignored. 1st junk character valued 57
(9).
/tmp/APFloat-CRRODx.s:14:Missing string
/tmp/APFloat-CRRODx.s:14:Rest of line ignored. 1st junk character valued 49
(1).
/tmp/APFloat-CRRODx.s:15:Missing string
/tmp/APFloat-CRRODx.s:15:Rest of line ignored. 1st junk character valued 49
(1).
/tmp/APFloat-CRRODx.s:16:Missing string
/tmp/APFloat-CRRODx.s:16:Rest of line ignored. 1st junk character valued 49
(1).

I don't know what is actually wrong, but certainly there needs to be some
meaningful diagnostic message.
Will post more details as find out more...

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