This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/18434] [4.0/4.1 Regression] Ada: cannot build gnattools on Tru64 UNIX V5.1B

------- Comment #24 from olle at cb dot uu dot se  2005-11-15 17:27 -------
(In reply to comment #20)
> Could people check if the problem was indeed fixed where reported?

I did try the new suggested fix on tru64 5.1B on an Alpha. It gets past the
previous error pointb ut it fails later on while linking 

Somehow an extra "-L" is generated that disables the default library
search paths.

configured with 

 ../gcc-4.0.2/configure alpha-dec-osf5.1 --enable-languages=c,ada

exactly the same config bootstrapped OK with the preliminary fix

below is an excerpt of the output from make bootstrap

make[4]: Entering directory `/usr/users/olle/xyz/objdir/gcc/ada/tools'
rm -f tools/*
rm -rf tools
mkdir -p tools
(cd tools; ln -s ../sdefault.adb .)
rm -f tools/mlib-tgt.adb; ln -s
/usr/users/olle/xyz/gcc-4.0.2/gcc/ada/mlib-tgt-tru64.adb tools/mlib-tgt.adb;
touch ../stamp-tools
../../gnatmake -c -I../rts -I. -I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada gnatchop
--GCC="../../xgcc -B../../ -O2 -g -O2 -mieee      -gnatpg -gnata"
../../xgcc -c -I./ -I../rts -I. -I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada
-B../../ -O2 -g -O2 -mieee -gnatpg -gnata -I-
../../gnatbind -I../rts -I. -I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada -static -x
../../gnatlink -v gnatchop -o ../../gnatchop --GCC="../../xgcc -B../../
-static-libgcc -I../rts -I. -I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada"
../rts/libgnat.a  ../../prefix.o ../../version.o link.o
../../../libiberty/libiberty.a -lexc  

Copyright 1995-2005 Free Software Foundation, Inc
xgcc -c -gnatA -gnatWb -gnatiw -B../../ -static-libgcc -I../rts -I.
-I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada -gnatws b~gnatchop.adb
../../xgcc b~gnatchop.o ../../prefix.o ../../version.o link.o ../rts/ada.o
../rts/a-charac.o ../rts/a-chlat1.o ../rts/gnat.o ../rts/g-string.o interfac.o
system.o ../rts/s-addope.o s-casuti.o ../rts/g-casuti.o s-htable.o
../rts/s-parame.o ../rts/s-crtl.o ../rts/i-cstrea.o s-purexc.o
../rts/s-restri.o s-stoele.o ../rts/s-carun8.o ../rts/s-imgint.o
../rts/a-comlin.o ../rts/s-stache.o ../rts/s-strops.o ../rts/s-sopco3.o
../rts/s-sopco4.o ../rts/s-sopco5.o ../rts/s-traent.o ../rts/a-elchha.o
../rts/s-except.o ../rts/s-traceb.o ../rts/s-soflin.o s-secsta.o s-exctab.o
../rts/a-ioexce.o ../rts/a-string.o ../rts/a-tags.o ../rts/a-stream.o
../rts/g-os_lib.o ../rts/s-assert.o ../rts/s-finroo.o ../rts/s-memory.o
../rts/s-mastop.o s-stalib.o ../rts/s-unstyp.o a-except.o ../rts/s-bitops.o
../rts/a-strmap.o ../rts/a-stmaco.o ../rts/a-chahan.o ../rts/a-strsea.o
../rts/a-strfix.o ../rts/s-stratt.o ../rts/s-finimp.o ../rts/a-finali.o
../rts/a-filico.o ../rts/g-dirope.o ../rts/g-regexp.o ../rts/g-comlin.o
../rts/s-ficobl.o ../rts/s-fileio.o ../rts/a-textio.o ../rts/s-valuti.o
../rts/s-valuns.o ../rts/s-valint.o gnatvsn.o hostparm.o gnatchop.o -o
../../gnatchop ../rts/libgnat.a ../../../libiberty/libiberty.a -lexc -L
-L../rts/ -L./ -L/usr/users/olle/xyz/gcc-4.0.2/gcc/ada/
-L/usr/local/lib/gcc/alpha-dec-osf5.1/4.0.2/adalib/ ../rts/libgnat.a -lexc
-B../../ -static-libgcc -I../rts -I. -I/usr/users/olle/xyz/gcc-4.0.2/gcc/ada
Can't locate file for: -lc
collect2: ld returned 1 exit status
gnatlink: cannot call ../../xgcc
make[4]: *** [../../gnatchop] Error 4
make[4]: Leaving directory `/usr/users/olle/xyz/objdir/gcc/ada/tools'
make[3]: *** [gnattools2] Error 2
make[3]: Leaving directory `/usr/users/olle/xyz/objdir/gcc/ada'
make[2]: *** [gnattools-native] Error 2
make[2]: Leaving directory `/usr/users/olle/xyz/objdir/alpha-dec-osf5.1/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: Leaving directory `/usr/users/olle/xyz/objdir'
make: *** [bootstrap] Error 2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]