This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: binutils-2.11 ld testsuite problems + PATCH


On Tue, May 08, 2001 at 10:14:19PM -0700, Matthew Schalit wrote:
> 
> 
> 
> Sir!
> 
> I get it now.  Sometimes it takes a while...
> Sigh.
> 
> I found the results interesting though....
> 
> 
> 
> "H . J . Lu" wrote:
> > 
> > On Tue, May 08, 2001 at 09:09:03PM -0700, Matthew Schalit wrote:
> > > /home/matthew/Uber/CVS/binutils/src/ld/ld-new -m elf_i386 -o tmpdir/ld-partial.o -r  ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf_i386.o
> > > /home/matthew/Uber/CVS/binutils/src/ld/ld-new -m elf_i386  -o tmpdir/ld1 /usr/ccs/lib/crt1.o  tmpdir/ld-partial.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a  -lc /usr/ccs/lib/crtn.o
> > > /home/matthew/Uber/CVS/binutils/src/ld/ld-new: cannot find -lc
> > 
> > Please run
> > 
> > # /home/matthew/Uber/CVS/binutils/src/ld/ld-new -m elf_i386  -o tmpdir/ld1 /usr/ccs/lib/crt1.o  tmpdir/ld-partial.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a ./../intl/libintl.a  -lc /usr/ccs/lib/crtn.o -verbose
> 
> 
> 
> 
> GNU ld version 2.11.90 (with BFD 2.11.90)
>   Supported emulations:
>    elf_i386
> using internal linker script:
> ==================================================
> OUTPUT_FORMAT("elf32-i386", "elf32-i386",
> 	      "elf32-i386")
> OUTPUT_ARCH(i386)
> ENTRY(_start)
> SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/i586-sco-sysv5uw7.1.1/lib);
> 

That is it. I don't know if it is normal for SCO. It seems that
SCO puts all the libraries used by linker in /usr/ccs/lib. Your
SCO patch is wrong. Your SCO looks more like svsv4. You should
check if you can use i[3456]86-*-sysv4* or i[3456]86-*-solaris*
in configure.host for your SCO. If not, you should copy and modify
the i[3456]86-*-sysv4* entry for your SCO.


H.J.
----
> 
> > # ls -l /usr/ccs/lib
> 
> total 17064
> -r--r--r--    1 bin      bin          891628 Nov  1  2000 libc.a
> -r--r--r--    1 bin      bin            3184 Apr  3  1998 libcrt.a
> -r--r--r--    1 bin      bin          594220 Nov  1  2000 libc.so
> -r--r--r--    1 bin      bin           28320 Oct 12  1999 libcudk70.a
> -r--r--r--    3 bin      bin          491048 Aug 24  2000 libcurses.a
> -r--r--r--    1 bin      bin            4572 Apr  3  1998 libdl.so
> -r--r--r--    1 bin      bin           98860 Oct 12  1999 libelf.a
> -r--r--r--    1 bin      bin           75404 Oct 12  1999 libform.a
> -r--r--r--    2 bin      bin           66960 Sep 15  2000 libfprof.so
> -r--r--r--    2 bin      bin           66960 Sep 15  2000 libfprof.so.1
> -r--r--r--    1 bin      bin           77472 Apr  3  1998 libgen.a
> -r--r--r--    1 bin      bin            4236 Apr  3  1998 libl.a
> -r--r--r--    1 bin      bin           20152 Apr  3  1998 libld.a
> -r--r--r--    1 bin      bin           89496 Apr  3  1998 libm.a
> -r--r--r--    1 bin      bin             504 Apr  3  1998 libmalloc.a
> -r--r--r--    1 bin      bin           36148 Oct 12  1999 libmenu.a
> -r--r--r--    3 bin      bin          428680 Oct 12  1999 libocurses.a
> -r--r--r--    3 bin      bin          428680 Oct 12  1999 libotermcap.a
> -r--r--r--    3 bin      bin          428680 Oct 12  1999 libotermlib.a
> drwxr-xr-x    2 bin      bin            1024 Nov 22 15:41 libp
> -r--r--r--    1 bin      bin            9864 Apr  3  1998 libpanel.a
> -r--r--r--    1 bin      bin           22332 Oct 12  1999 libprof.a
> -r--r--r--    1 bin      bin           85268 Apr  3  1998 libtam.a
> -r--r--r--    3 bin      bin          491048 Aug 24  2000 libtermcap.a
> -r--r--r--    3 bin      bin          491048 Aug 24  2000 libtermlib.a
> -r--r--r--    1 bin      bin              15 Apr  3  1998 libxnet.a
> -r--r--r--    1 bin      bin            1248 Apr  3  1998 liby.a


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