3.0, gcc_release fails on sparc-sun-solaris2.7
Nathan Sidwell
nathan@acm.org
Thu Jun 7 08:58:00 GMT 2001
Hi,
gcc_release fails today on sparc-sun-solaris2.7
First problems with gcc_release itself are fixed by the attached patch
ok to install?
Second, the bootstrap fails at,
creating libfficonvenience.la
(cd .libs && rm -f libfficonvenience.la && ln -s ../libfficonvenience.la libfficonvenience.la)
/bin/sh ./libtool --mode=link /home/staff/nathan/gcc-3.0-20010607/objdir/gcc/xgcc -B/home/staff/nathan/gcc-3.0-20010607/objdir/gcc/ -B/usr/local/sparc-sun-solaris2.7/bin/ -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem /usr/local/sparc-sun-solaris2.7/include -fexceptions -g -O2 -o libffi.la -rpath /usr/local/lib -release 2.00-beta src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/sparc/ffi.lo src/sparc/v8.lo src/sparc/v9.lo
/home/staff/nathan/gcc-3.0-20010607/objdir/gcc/xgcc -B/home/staff/nathan/gcc-3.0-20010607/objdir/gcc/ -B/usr/local/sparc-sun-solaris2.7/bin/ -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem /usr/local/sparc-sun-solaris2.7/include -shared src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/sparc/.libs/ffi.o src/sparc/.libs/v8.o src/sparc/.libs/v9.o -lc -Wl,-soname -Wl,libffi-2.00-beta.so -o .libs/libffi-2.00-beta.so
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libffi-2.00-beta.so: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libffi-2.00-beta.so
collect2: ld returned 1 exit status
make[4]: *** [libffi.la] Error 1
make[4]: Leaving directory `/home/staff/nathan/gcc-3.0-20010607/objdir/sparc-sun-solaris2.7/libffi'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/staff/nathan/gcc-3.0-20010607/objdir/sparc-sun-solaris2.7/libffi'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/staff/nathan/gcc-3.0-20010607/objdir/sparc-sun-solaris2.7/libffi'
make[1]: *** [all-target-libffi] Error 2
make[1]: Leaving directory `/home/staff/nathan/gcc-3.0-20010607/objdir'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler
gcc_release: error: Could not rebuild GCC
I am bootstrapping a 3.0 compiler outside of the release script right now,
bootstrap succeeded yesterday.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk
2001-06-07 Nathan Sidwell <nathan@acm.org>
* release.patch: Tweaks solaris for/bin/sh.
Index: gcc_release
===================================================================
RCS file: /cvs/gcc/egcs/contrib/Attic/gcc_release,v
retrieving revision 1.1.2.3
diff -c -3 -p -r1.1.2.3 gcc_release
*** gcc_release 2001/06/03 11:11:45 1.1.2.3
--- gcc_release 2001/06/07 15:51:17
*************** changedir() {
*** 86,92 ****
# to the working directory.
adjust_dirs() {
! for x; do
echo `basename ${SOURCE_DIRECTORY}`/$x
done
}
--- 86,92 ----
# to the working directory.
adjust_dirs() {
! for x in $@; do
echo `basename ${SOURCE_DIRECTORY}`/$x
done
}
*************** adjust_dirs() {
*** 96,102 ****
build_sources() {
# If the WORKING_DIRECTORY already exists, do not risk destroying it.
! if [ -e ${WORKING_DIRECTORY} ]; then
error "\`${WORKING_DIRECTORY}' already exists"
fi
# Create the WORKING_DIRECTORY.
--- 96,102 ----
build_sources() {
# If the WORKING_DIRECTORY already exists, do not risk destroying it.
! if [ -r ${WORKING_DIRECTORY} ]; then
error "\`${WORKING_DIRECTORY}' already exists"
fi
# Create the WORKING_DIRECTORY.
More information about the Gcc-bugs
mailing list