cvs commit: ports/lang/egcs Makefile ports/lang/egcs/files

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Mon Mar 1 12:54:00 GMT 1999


I have access to an old FreeBSD 2.2.6 machine.

After I applied those three patch files, patch-ba, patch-bb and patch-bc
that Alexandre forwarded me in private mail to the current CVS repository,
bootstrap with --enable-shared fails with the following error:

for f in `cat ../libiberty/needed-list` strerror.o ; do \
  echo "../libiberty/$f" >> tlist ; \
done
mv tlist stdlist
rm -f tlibstdc++.a.2.9.0
ar rc tlibstdc++.a.2.9.0 `cat stdlist`
mv tlibstdc++.a.2.9.0 libstdc++.a.2.9.0
ranlib libstdc++.a.2.9.0
rm -f tlist
cp stdlist tlist
if [ x"yes" = xyes ]; then \
  sed 's,\([A-Za-z_]*\.o\),pic/\1,g' tlist > tlist2 ; \
  mv tlist2 tlist ; \
else true ; fi
mv tlist piclist
/files/pfeifer/OBJ-0103-21:02/gcc/xgcc
-B/files/pfeifer/OBJ-0103-21:02/gcc/
-B/sw/swtest/egcs/FreeBSD/i386-unknown-freebsd2.2.6/bin/ -g -O2
-fno-implicit-templates -Wl,-soname,libstdc++.so.`echo 2.9.0 | sed
's/\([0-9][.][0-9]\).*/\1/'` -shared -o libstdc++.so.2.9.0 `cat piclist`
-lm
ld: libstdc++.so.2.9: No such file or directory
collect2: ld returned 1 exit status
gmake[2]: *** [libstdc++.so.2.9.0] Error 1
gmake[2]: Leaving directory
`/files/pfeifer/OBJ-0103-21:02/i386-unknown-freebsd2.2.6/libstdc++'
gmake[1]: *** [all-target-libstdc++] Error 2
gmake[1]: Leaving directory `/files/pfeifer/OBJ-0103-21:02'
gmake: *** [bootstrap] Error 2

The problem appears to be this patch, as the others already seemed to be
present in the current CVS repository:

--- libstdc++/configure.in.orig Thu Feb 18 11:40:03 1999
+++ libstdc++/configure.in      Thu Feb 18 11:44:01 1999
@@ -54,6 +54,7 @@
     *-*-hpux*)         frags="${frags} hpux.ml" ;;
     *-*-irix[56]*)     frags="${frags} irix5.ml" ;;
     *-*-linux*aout*)   ;;
+    *-*-freebsd*)      frags="${frags} freebsd.ml" ;;
     *-*-linux*)                frags="${frags} linux.ml" ;;
     *-*-sysv4*)                frags="${frags} elf.ml" ;;
     *-*-solaris*)      frags="${frags} sol2shm.ml" ;;

http://egcs.cygnus.com/ml/egcs-bugs/1999-02/msg00870.html

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-patches mailing list