Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Cannot Build llvm-gcc-4.2-2.8 on Solaris/x86 #8737

Closed Quuxplusone closed 13 years ago

Quuxplusone commented 13 years ago
Bugzilla Link PR8378
Status RESOLVED WONTFIX
Importance P normal
Reported by Mike Spear (spear@cse.lehigh.edu)
Reported on 2010-10-14 10:52:03 -0700
Last modified on 2011-04-08 13:28:27 -0700
Version 2.8
Hardware Sun Solaris
CC anton@korobeynikov.info, baldrick@free.fr, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
I am unable to build llvm-gcc-4.2-2.8 on Solaris/x86.

I successfully built llvm-gcc-4.2-2.7 and llvm-2.7 on Solaris/x86.  I can also
build llvm-2.8 itself on Solaris/x86.  The break occurs only when moving from
the released llvm-gcc-4.2-2.7 to llvm-gcc-4.2-2.8

Platform:
uname -a == SunOS 5.10 Generic_142901-12 i86pc i386 i86pc

Toolchain:
gcc 4.5.1
binutils 2.20.1

Configure invocation:
../llvm-gcc-4.2-2.8.source/configure --prefix=/proj/spear0/dtmc_x86/llvm-2.8-
gcc --program-prefix=llvm- --enable-llvm=/proj/spear0/dtmc_x86/llvm --enable-
languages=c,c++ --enable-checking --with-gnu-as --with-as=/proj/spear0/binutils-
2.20.1/bin/as --with-gnu-ld --with-ld=/proj/spear0/binutils-2.20.1/bin/ld

The specific error occurs when building libgcc2.c.  I'm building using 'gmake'
(no -j flag).

<output>

/tmp/mfs/2.8/build/./gcc/xgcc -B/tmp/mfs/2.8/build/./gcc/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/bin/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include   -O2  -O2 -
g -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../llvm-
gcc-4.2-2.8.source/gcc -I../../llvm-gcc-4.2-2.8.source/gcc/. -I../../llvm-gcc-
4.2-2.8.source/gcc/../include -I./../intl -I../../llvm-gcc-4.2-
2.8.source/gcc/../libcpp/include  -I../../llvm-gcc-4.2-
2.8.source/gcc/../libdecnumber -I../libdecnumber -
I/proj/spear0/dtmc_x86/llvm/include -DL_mulxc3 -fvisibility=hidden -
DHIDE_EXPORTS -c ../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c -o
libgcc/./_mulxc3.o
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c: In function '__mulxc3':
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c:1855: internal compiler error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

</output>

Re-running gmake reproduces the error, and provides the following background
about gcc build progress:

<output>
[ -f stage_final ] || echo stage3 > stage_final
gmake[1]: Entering directory `/tmp/mfs/2.8/build'
gmake[2]: Entering directory `/tmp/mfs/2.8/build'
gmake[3]: Entering directory `/tmp/mfs/2.8/build'
rm -f stage_current
gmake[3]: Leaving directory `/tmp/mfs/2.8/build'
gmake[2]: Leaving directory `/tmp/mfs/2.8/build'
gmake[2]: Entering directory `/tmp/mfs/2.8/build'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libiberty'
gmake[4]: Entering directory `/tmp/mfs/2.8/build/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/mfs/2.8/build/libiberty/testsuite'
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libiberty'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/intl'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty'
gmake[4]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty/testsuite'
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/fixincludes'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/fixincludes'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libcpp'
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libcpp'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libdecnumber'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libdecnumber'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/gcc'
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/gcc'
gmake[2]: Leaving directory `/tmp/mfs/2.8/build'
gmake[2]: Entering directory `/tmp/mfs/2.8/build'
gmake[3]: Entering directory `/tmp/mfs/2.8/build'
rm -f stage_current
gmake[3]: Leaving directory `/tmp/mfs/2.8/build'
gmake[2]: Leaving directory `/tmp/mfs/2.8/build'
gmake[2]: Entering directory `/tmp/mfs/2.8/build'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libiberty'
gmake[4]: Entering directory `/tmp/mfs/2.8/build/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/mfs/2.8/build/libiberty/testsuite'
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libiberty'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/intl'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty'
gmake[4]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty/testsuite'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty/testsuite'
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/libiberty'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/fixincludes'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/build-i386-pc-
solaris2.10/fixincludes'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libcpp'
test -f config.h || (rm -f stamp-h1 && gmake stamp-h1)
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libcpp'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/libdecnumber'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/libdecnumber'
gmake[3]: Entering directory `/tmp/mfs/2.8/build/gcc'
gmake \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common " \
  CONFIG_H="config.h  auto-host.h ../../llvm-gcc-4.2-2.8.source/gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[4]: Entering directory `/tmp/mfs/2.8/build/gcc'
gmake GCC_FOR_TARGET="/tmp/mfs/2.8/build/./gcc/xgcc -B/tmp/mfs/2.8/build/./gcc/
-B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/bin/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include " \
  AR_FOR_TARGET="/usr/ccs/bin/ar" \
  AR_CREATE_FOR_TARGET="/usr/ccs/bin/ar  rc" \
  AR_EXTRACT_FOR_TARGET="/usr/ccs/bin/ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="/tmp/mfs/2.8/build/./prev-gcc/xgcc -B/tmp/mfs/2.8/build/./prev-gcc/ -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/bin/" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -O2 -g -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  "  \
  LIBGCC2_STATIC_CFLAGS=""  \
  MULTILIB_CFLAGS="" T= gmon.o crtbegin.o crtend.o
gmake[5]: Entering directory `/tmp/mfs/2.8/build/gcc'
gmake[5]: `crtend.o' is up to date.
gmake[5]: Leaving directory `/tmp/mfs/2.8/build/gcc'
/tmp/mfs/2.8/build/./gcc/xgcc -B/tmp/mfs/2.8/build/./gcc/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/bin/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include   -O2  -O2 -
g -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../llvm-
gcc-4.2-2.8.source/gcc -I../../llvm-gcc-4.2-2.8.source/gcc/. -I../../llvm-gcc-
4.2-2.8.source/gcc/../include -I./../intl -I../../llvm-gcc-4.2-
2.8.source/gcc/../libcpp/include  -I../../llvm-gcc-4.2-
2.8.source/gcc/../libdecnumber -I../libdecnumber -
I/proj/spear0/dtmc_x86/llvm/include -DL_mulxc3 -fvisibility=hidden -
DHIDE_EXPORTS -c ../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c -o
libgcc/./_mulxc3.o
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c: In function '__mulxc3':
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c:1855: internal compiler error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
gmake[4]: *** [libgcc/./_mulxc3.o] Error 1
gmake[4]: Leaving directory `/tmp/mfs/2.8/build/gcc'
gmake[3]: *** [stmp-multilib] Error 2
gmake[3]: Leaving directory `/tmp/mfs/2.8/build/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/tmp/mfs/2.8/build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/tmp/mfs/2.8/build'
gmake: *** [all] Error 2

</output>

The bug also occurs when using gcc 4.4.1 on Solaris/x86.  And even though the
exact error is "internal compiler error", which would imply a gcc bug, the fact
that both compilers can handle llvm-gcc-2.7-4.2 but not llvm-gcc-2.8-4.2
suggests that this has more to do with changes to llvm-gcc between the 2.7 and
2.8 releases.

Any advice would be greatly appreciated!

- Mike Spear
Quuxplusone commented 13 years ago
(In reply to comment #0)
> The bug also occurs when using gcc 4.4.1 on Solaris/x86.  And even though the
> exact error is "internal compiler error", which would imply a gcc bug,
Yes, but not your system gcc, it's during the libgcc compilation, where newly-
built llvm-gcc is already used.

> Any advice would be greatly appreciated!
Noone is working on any solaris support right now, so any breakage is
definitely expected.
Quuxplusone commented 13 years ago
If you try running the failing command
  /tmp/mfs/2.8/build/./gcc/xgcc -B/tmp/mfs/2.8/build/./gcc/ ...
by hand in the correct directory, does it still crash if you add
-emit-llvm to the command line?
Quuxplusone commented 13 years ago
(In reply to comment #2)
> If you try running the failing command
>   /tmp/mfs/2.8/build/./gcc/xgcc -B/tmp/mfs/2.8/build/./gcc/ ...
> by hand in the correct directory, does it still crash if you add
> -emit-llvm to the command line?

Unfortunately, with --emit-llvm I have the exact same error:

<output>
/tmp/mfs/2.8/build/./gcc/xgcc --emit-llvm -B/tmp/mfs/2.8/build/./gcc/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/bin/ -
B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include   -O2  -O2 -
g -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../llvm-
gcc-4.2-2.8.source/gcc -I../../llvm-gcc-4.2-2.8.source/gcc/. -I../../llvm-gcc-
4.2-2.8.source/gcc/../include -I./../intl -I../../llvm-gcc-4.2-
2.8.source/gcc/../libcpp/include  -I../../llvm-gcc-4.2-
2.8.source/gcc/../libdecnumber -I../libdecnumber -
I/proj/spear0/dtmc_x86/llvm/include -DL_mulxc3 -fvisibility=hidden -
DHIDE_EXPORTS -c ../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c -o
libgcc/./_mulxc3.o
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c: In function '__mulxc3':
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c:1855: internal compiler error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
</output>
Quuxplusone commented 13 years ago
Did you build LLVM with assertions enabled?  If not, I suggest you do so and
try again.
Quuxplusone commented 13 years ago
(In reply to comment #4)
> Did you build LLVM with assertions enabled?  If not, I suggest you do so and
> try again.
Probably ice is related to f128 stuff. At least this goes from the file name....
Quuxplusone commented 13 years ago
(In reply to comment #4)
> Did you build LLVM with assertions enabled?  If not, I suggest you do so and
> try again.

Will do.  Thanks for the help!
Quuxplusone commented 13 years ago
(In reply to comment #4)
> Did you build LLVM with assertions enabled?  If not, I suggest you do so and
> try again.

This didn't seem to change anything:

<output>

/tmp/mfs/build/./gcc/xgcc -B/tmp/mfs/build/./gcc/ -B/proj/spear0/dtmc_x86/llvm-
2.8-gcc/i386-pc-solaris2.10/bin/ -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-
solaris2.10/lib/ -isystem /proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-
solaris2.10/include -isystem /proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-
solaris2.10/sys-include   -O2  -O2 -g -O2  -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -
I. -I. -I../../llvm-gcc-4.2-2.8.source/gcc -I../../llvm-gcc-4.2-
2.8.source/gcc/. -I../../llvm-gcc-4.2-2.8.source/gcc/../include -I./../intl -
I../../llvm-gcc-4.2-2.8.source/gcc/../libcpp/include  -I../../llvm-gcc-4.2-
2.8.source/gcc/../libdecnumber -I../libdecnumber -
I/proj/spear0/dtmc_x86/llvm/include -DL_mulxc3 -fvisibility=hidden -
DHIDE_EXPORTS -c ../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c -o
libgcc/./_mulxc3.o
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c: In function '__mulxc3':
../../llvm-gcc-4.2-2.8.source/gcc/libgcc2.c:1855: internal compiler error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
gmake[4]: *** [libgcc/./_mulxc3.o] Error 1

</output>

I just realized that I didn't specify --disable-multilib and --disable-
bootstrap to configure.  Just for kicks, I tried adding both.  This leads the
build to fail differently:

<output>
gmake[2]: Entering directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3'
gmake "AR_FLAGS=cr" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/tmp/mfs/build/./gcc/xgcc
-B/tmp/mfs/build/./gcc/ -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-
solaris2.10/bin/ -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -
isystem /proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include " "CFLAGS=-
O2 -g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2
-g -O2 " "INSTALL=/opt/sfw/bin/install -c" "INSTALL_DATA=/opt/sfw/bin/install -
c -m 644" "INSTALL_PROGRAM=/opt/sfw/bin/install -c"
"INSTALL_SCRIPT=/opt/sfw/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2 "
"LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=gmake" "MAKEINFO=makeinfo --split-
size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/proj/spear0/dtmc_x86/llvm-2.8-
gcc" "infodir=/proj/spear0/dtmc_x86/llvm-2.8-gcc/info"
"libdir=/proj/spear0/dtmc_x86/llvm-2.8-gcc/lib"
"includedir=/proj/spear0/dtmc_x86/llvm-2.8-gcc/include"
"prefix=/proj/spear0/dtmc_x86/llvm-2.8-gcc" "tooldir=/proj/spear0/dtmc_x86/llvm-
2.8-gcc/i386-pc-solaris2.10" "gxx_include_dir=/proj/spear0/dtmc_x86/llvm-2.8-
gcc/include/c++/4.2.1" "AR=/usr/ccs/bin/ar" "AS=/tmp/mfs/build/./gcc/as"
"LD=/tmp/mfs/build/./gcc/collect-ld" "RANLIB=/usr/ccs/bin/ranlib"
"NM=/tmp/mfs/build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/ccs/bin/nm"
"DESTDIR=" "WERROR=" all-recursive
gmake[3]: Entering directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3'
Making all in include
gmake[4]: Entering directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-
v3/include'
if [ ! -d "./i386-pc-solaris2.10/bits/stdc++.h.gch" ]; then \
  mkdir -p ./i386-pc-solaris2.10/bits/stdc++.h.gch; \
fi; \
/tmp/mfs/build/./gcc/xgcc -shared-libgcc -B/tmp/mfs/build/./gcc -nostdinc++ -
L/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3/src -L/tmp/mfs/build/i386-pc-
solaris2.10/libstdc++-v3/src/.libs -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-
solaris2.10/bin/ -B/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/lib/ -
isystem /proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/include -isystem
/proj/spear0/dtmc_x86/llvm-2.8-gcc/i386-pc-solaris2.10/sys-include  -Winvalid-
pch -Wno-deprecated -x c++-header -g -O2  -I/tmp/mfs/build/i386-pc-
solaris2.10/libstdc++-v3/include/i386-pc-solaris2.10 -I/tmp/mfs/build/i386-pc-
solaris2.10/libstdc++-v3/include -I/tmp/mfs/llvm-gcc-4.2-2.8.source/libstdc++-
v3/libsupc++ -O0 -g /tmp/mfs/llvm-gcc-4.2-2.8.source/libstdc++-
v3/include/precompiled/stdc++.h -o i386-pc-solaris2.10/bits/stdc++.h.gch/O0g.gch
In file included from /tmp/mfs/build/i386-pc-solaris2.10/libstdc++-
v3/include/bits/stl_algobase.h:76,
                 from /tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3/include/algorithm:65,
                 from /tmp/mfs/llvm-gcc-4.2-2.8.source/libstdc++-v3/include/precompiled/stdc++.h:55:
/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-
v3/include/bits/stl_iterator.h:244: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
gmake[4]: *** [i386-pc-solaris2.10/bits/stdc++.h.gch/O0g.gch] Error 1
gmake[4]: Leaving directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-
v3/include'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/mfs/build/i386-pc-solaris2.10/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/tmp/mfs/build'
gmake: *** [all] Error 2

</output>
Quuxplusone commented 13 years ago

LLVM-GCC has reached its end of life as far as llvm.org releases go. Please migrate to Clang or DragonEgg when possible. The llvm-gcc SVN repo will still continue to exist, so additional patches can go into it if you so desire, but since we have no more releases of it coming, it doesn't make sense to track bugs for it anymore.

If this is a problem that still exists with clang or DragonEgg, please file a new bug to track it. Thanks!

-Chris