[LLVMbugs] [Bug 8153] New: llvm-gcc fails to build with gcc-4.2 on x86-32 linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 15 03:15:44 PDT 2010


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

           Summary: llvm-gcc fails to build with gcc-4.2 on x86-32 linux
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


If LLVM is configured with --enable-optimization --enable-assertions and
built with gcc-4.2/g++-4.2 on x86-32 linux, then the llvm-gcc build fails
(see below).  This does not occur if gcc-4.3 or gcc-4.4 is used.

.../gcc/xgcc -B/home/duncan/LLVM/gcc-4.2.llvm-objects-32/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include  -O2 -O2 -g -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -I. -I. -I../../gcc-4.2.llvm/gcc
-I../../gcc-4.2.llvm/gcc/. -I../../gcc-4.2.llvm/gcc/../include
-I../../gcc-4.2.llvm/gcc/../libcpp/include 
-I../../gcc-4.2.llvm/gcc/../libdecnumber -I../libdecnumber
-I/home/duncan/llvm-2.8/Phase1/Release/llvmCore-2.8-rc1.obj/include
-I/home/duncan/llvm-2.8/llvmCore-2.8-rc1.src/include  -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder  -fno-omit-frame-pointer \
      -c ../../gcc-4.2.llvm/gcc/crtstuff.c -DCRT_BEGIN \
      -o crtbegin.o
../../gcc-4.2.llvm/gcc/crtstuff.c:378: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

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