Compiling gcc-3.2 with gcc-3.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am in the process of building RHEL 3 from source. Source system is FC
1. Major part in such a process of course is building the compiler for
the target system. The compiler I am using is gcc-3.3.2-1. I am trying
to build gcc-3.2.3-34.

I disabled the building of Ada in the spec file. I do however need to
build java, as python requires this, and python is needed to rpmbuild
other packages etc.

Sadly the building of java fails with a segmentation fault:

/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/gcc/xgcc -shared-libgcc -B/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/gcc/ -nostdinc++ -L/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/i386-redhat-linux/libstdc++-v3/src -L/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/i386-redhat-linux/libstdc++-v3/src/.libs -B/usr/i386-redhat-linux/bin/ -B/usr/i386-redhat-linux/lib/ -isystem /usr/i386-redhat-linux/include -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -I./gcj -I../../../libjava -Iinclude -I../../../libjava/include -I../../../libjava/../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I../../../libjava/libltdl -I../../../libjava/libltdl -I../../../libjava/.././libjava/../gcc -I../../../libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-ca!
ll-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES -ffloat-store -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -O2 -g -march=i386 -mcpu=i686 -D_GNU_SOURCE -Wp,-MD,.deps/verify.pp -c ../../../libjava/verify.cc  -fPIC -DPIC -o .libs/verify.o
../../../libjava/verify.cc: In function `void debug_print(const char*,
...)':
../../../libjava/verify.cc:40: warning: unused parameter `const
char*fmt'
../../../libjava/verify.cc: In member function `void 
   _Jv_BytecodeVerifier::verify_instructions_0()':
../../../libjava/verify.cc:2983: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
Preprocessed source stored into /tmp/cciaubAg.out file, please attach
this to your bugreport.
make[3]: *** [verify.lo] Error 1
make[3]: Leaving directory
`/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/i386-redhat-linux/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux/i386-redhat-linux/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory
`/data/rpmbuild-fc1/BUILD/gcc-3.2.3-20040414/obj-i386-redhat-linux'
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /data/rpmbuild-fc1/tmp/rpm-tmp.3710 (%build)


RPM build errors:
    Bad exit status from /data/rpmbuild-fc1/tmp/rpm-tmp.3710 (%build)

What causes this segfault, and how can I work around it?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux