ld.so 1.7.11 Help

ld.so 1.7.11 Help

Post by Paul Bla » Mon, 20 Nov 1995 04:00:00



I am in the process of installing version 1.7.11 of ld.so.
I have a mixed elf and a.out system, I gradually replacing the
a.out parts of the system with elf executables. When I
compile ld.so 1.7.11 the elf components compile ok but I'm
getting link problems with the a.out gcc compiler. I'm almost
certain its a problem with how I have the a.out gcc 2.7.0 set
up. If anyone could help in sorting out the link errors I'd be
most grateful...   Paul

Following is the messages produced by the make of ld.so.1.7.11

for d in util ld-so d-link test ; do make  -C $d ; done
make[1]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/util'
gcc -Wall -DVERSION=\"1.7.11\" -O4    -c ldconfig.c -o ldconfig.o
gcc -Wall -DVERSION=\"1.7.11\" -O4    -c readelf.c -o readelf.o
gcc -static -s -Wall -DVERSION=\"1.7.11\" -O4   ldconfig.o readelf.o -o ldconfig
gcc -c -Wall -DVERSION=\"1.7.11\" -O4  -DLDSO_ADDR="(0x62f00000+32)" ldd.c -o ldd.o
gcc -static -s -Wall -DVERSION=\"1.7.11\" -O4   ldd.o -o ldd
make[1]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/util'
make[1]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/ld-so'
/usr/i486-linuxaout/bin/gcc  -c -Wall -DVERSION=\"1.7.11\" -O4  -DLDSO_ADDR="(0x62f00000+32)" __load.c -o __load.o
__load.c:63: warning: `exit' was declared `extern' and later `static'
__load.c:66: warning: static declaration for `uselib' follows non-static
__load.c:69: warning: static declaration for `write' follows non-static
__load.c:72: warning: static declaration for `munmap' follows non-static
/usr/i486-linuxaout/bin/as   -o preld.o preld.s
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c ld.so.c -o ld.so.o
ld.so.c: In function `exit':
ld.so.c:88: warning: function declared `noreturn' has a `return' statement
ld.so.c:88: warning: function declared `noreturn' has a `return' statement
ld.so.c: In function `shared_loader':
ld.so.c:163: warning: `__SHARED_LIBRARIES__' might be used uninitialized in this function
ld.so.c:164: warning: `_SHARABLE_CONFLICTS__' might be used uninitialized in this function
ld.so.c:165: warning: `argv0' might be used uninitialized in this function
ld.so.c:243: warning: `argv0' might be used uninitialized in this function
ld.so.c:287: warning: `argv0' might be used uninitialized in this function
ld.so.c:302: warning: `argv0' might be used uninitialized in this function
ld.so.c:308: warning: `argv0' might be used uninitialized in this function
ld.so.c:310: warning: `argv0' might be used uninitialized in this function
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c fixups.c -o fixups.o
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c fdprintf.c -o fdprintf.o
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c vsprintf.c -o vsprintf.o
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c ctype.c -o ctype.o
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c strerror.c -o strerror.o
/usr/i486-linuxaout/bin/gcc  -Wall -DVERSION=\"1.7.11\" -O4    -c preload.c -o preload.o
/usr/i486-linuxaout/bin/ld -m i386linux -static -qmagic -s -o ld.so -Ttext 62f00000 preld.o ld.so.o fixups.o fdprintf.o vsprintf.o ctype.o strerror.o preload.o -s -lc
ld.so.o(.text+0x3fb): undefined reference to `getenv'
ld.so.o(.text+0x418): undefined reference to `getenv'
ld.so.o(.text+0x43e): undefined reference to `getenv'
ld.so.o(.text+0x45a): undefined reference to `getuid'
ld.so.o(.text+0x461): undefined reference to `geteuid'
ld.so.o(.text+0x46f): undefined reference to `getgid'
ld.so.o(.text+0x476): undefined reference to `getegid'
ld.so.o(.text+0x489): undefined reference to `getenv'
ld.so.o(.text+0x4a0): undefined reference to `getenv'
ld.so.o(.text+0x4b3): undefined reference to `getenv'
ld.so.o(.text+0x4ca): undefined reference to `getenv'
ld.so.o(.text+0x696): undefined reference to `unsetenv'
ld.so.o(.text+0x6a0): undefined reference to `unsetenv'
ld.so.o(.text+0x6aa): undefined reference to `unsetenv'
ld.so.o(.text+0x6be): undefined reference to `unsetenv'
ld.so.o(.text+0x6c8): undefined reference to `unsetenv'
ld.so.o(.text+0x6d2): more undefined references to `unsetenv' follow
ld.so.o(.text+0x7a4): undefined reference to `access'
ld.so.o(.text+0x865): undefined reference to `uselib'
ld.so.o(.text+0x9c4): undefined reference to `uselib'
ld.so.o(.text+0xab7): undefined reference to `uselib'
ld.so.o(.text+0xb8c): undefined reference to `uselib'
ld.so.o(.text+0xeb7): undefined reference to `munmap'
ld.so.o(.text+0x1123): undefined reference to `stat'
ld.so.o(.text+0x1138): undefined reference to `open'
ld.so.o(.text+0x1186): undefined reference to `mmap'
ld.so.o(.text+0x11ac): undefined reference to `close'
ld.so.o(.text+0x11c5): undefined reference to `close'
ld.so.o(.text+0x120a): undefined reference to `munmap'
fdprintf.o(.text+0x29): undefined reference to `write'
preload.o(.text+0x93): undefined reference to `open'
preload.o(.text+0xee): undefined reference to `read'
preload.o(.text+0x125): undefined reference to `uselib'
preload.o(.text+0x17e): undefined reference to `open'
preload.o(.text+0x18c): undefined reference to `read'
preload.o(.text+0x1a7): undefined reference to `close'
preload.o(.text+0x211): undefined reference to `close'
preload.o(.text+0x262): undefined reference to `lseek'
preload.o(.text+0x26f): undefined reference to `read'
preload.o(.text+0x3e4): undefined reference to `lseek'
preload.o(.text+0x3f3): undefined reference to `read'
preload.o(.text+0x59a): undefined reference to `lseek'
preload.o(.text+0x5aa): undefined reference to `read'
preload.o(.text+0x5d8): undefined reference to `lseek'
preload.o(.text+0x5e3): undefined reference to `read'
preload.o(.text+0x6b2): undefined reference to `strncmp'
preload.o(.text+0x7cd): undefined reference to `strcmp'
preload.o(.text+0x8b5): undefined reference to `bcopy'
/usr/i486-linuxaout/bin/ld: final link failed: Nonrepresentable section on output
make[1]: *** [ld.so] Error 1
make[1]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/ld-so'
make[1]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link'
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I. -I./i386 -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE -fPIC -D__PIC__    -c boot1.c -o boot1.o
boot1.c: In function `_dl_boot':
boot1.c:236: warning: `zfileno' might be used uninitialized in this function
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I. -I./i386 -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE -fPIC -D__PIC__    -c hash.c -o hash.o
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I. -I./i386 -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE -fPIC -D__PIC__    -c readelflib1.c -o readelflib1.o
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I. -I./i386 -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE -fPIC -D__PIC__    -c vsprintf.c -o vsprintf.o
making lib in i386
make[2]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/i386'
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I.. -I. -DNO_UNDERSCORE -DVERBOSE_DLINKER -fPIC -D__PIC__  -c resolve.S -o ../resolve.o
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I.. -I. -DNO_UNDERSCORE -DVERBOSE_DLINKER -fPIC -D__PIC__  -c elfinterp.c -o ../elfinterp.o
make[2]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/i386'
making lib in libdl
make[2]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/libdl'
gcc -Wall -DVERSION=\"1.7.11\" -O4  -I.. -I../i386 -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE -fPIC -D__PIC__    -c dlib.c -o dlib.o
dlib.c:458: warning: `foobar1' defined but not used
gcc --shared -nostartfiles -nostdlib  -o libdl.so -Wl,-soname -Wl,libdl.so.1 *.o
make[2]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/libdl'
ld -x -e _dl_boot --shared  -o ld-linux.so *.o
making lib in i386
make[2]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/i386'
make[2]: Nothing to be done for `lib'.
make[2]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/i386'
making lib in libdl
make[2]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/libdl'
gcc --shared -nostartfiles -nostdlib  -o libdl.so -Wl,-soname -Wl,libdl.so.1 *.o
make[2]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link/libdl'
make[1]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/d-link'
make[1]: Entering directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/test'
/usr/i486-linuxaout/bin/gcc  testi.c ../ld-so/__load.o -o atesti -s
/usr/i486-linuxaout/bin/gcc  testf.c ../ld-so/__load.o -lm -o atestf -s
gcc -Wl,-dynamic-linker -Wl,../d-link/ld-linux.so testi.c -o etesti -s
gcc -Wl,-dynamic-linker -Wl,../d-link/ld-linux.so testf.c -lm -o etestf -s
make[1]: Leaving directory `/ftp/linux/compilers/gcc/src/ld.so-1.7.11/test'

 
 
 

ld.so 1.7.11 Help

Post by Jared Mau » Wed, 22 Nov 1995 04:00:00




Quote:>Where are folks coming up with ld.so 1.7.11 and libc > 5.0.9 ?
>I've tried the normal mirrors, and archie comes up blank. (on ld.so-1.7.11.tar.
>gz - the same convention as 1.7.3 was named. If I do a substring search on
>achie for libc-5, I get matches only for libc-5.0.9...)

        I'm mirroring them at

        ftp.nether.net:/linux/ld.so

        - jared

 
 
 

ld.so 1.7.11 Help

Post by Nathan Stewa » Wed, 22 Nov 1995 04:00:00


Where are folks coming up with ld.so 1.7.11 and libc > 5.0.9 ?
I've tried the normal mirrors, and archie comes up blank. (on ld.so-1.7.11.tar.
gz - the same convention as 1.7.3 was named. If I do a substring search on
achie for libc-5, I get matches only for libc-5.0.9...)

Nate

 
 
 

ld.so 1.7.11 Help

Post by Dr A O V Le Bla » Wed, 29 Nov 1995 04:00:00



>Where are folks coming up with ld.so 1.7.11 and libc > 5.0.9 ?
>I've tried the normal mirrors, and archie comes up blank. (on ld.so-1.7.11.tar.
>gz - the same convention as 1.7.3 was named. If I do a substring search on
>achie for libc-5, I get matches only for libc-5.0.9...)

It is usual in the development of ld.so, libc, and gcc to release
versions first to a small number of people, in the expectation that
problems may be discovered which can be fixed before releasing the
software to the general public.  It is true that libc-5.2.14 and
ld.so-1.7.11 have been released privately in this way.

The last public release of libc was libc-5.0.9, as you know, but
ld.so-1.7.10 has also been released to the public; for example, see
tsx-11.mit.edu in /pub/linux/packages/GCC.  Archie does not normally
list software which has not yet been released in public.  Indeed, it is
not usually in the public interest to release this software, since its
bugs will not benefit Linux's reputation.

     -- Owen

 
 
 

1. ld.so.1.7.11, please, thanks!

I've looked on sunsite and mit.edu for ld.so.1.7.11 and
can't find the darn thang'. Please, can some kind person
let me know where it resides?

Thanks,

Tim

--
+--------------------------------------------------------------------------+
| Tim Bass                           | #include<campfire.h>                |
| Principal Network Systems Engineer |       for(beer=100;beer>1;beer++){  |
| The Silk Road Group, Ltd.          |           take_one_down();          |
|                                    |           pass_it_around();         |
| http://www.silkroad.com/           |       }                             |
|                                    |  back_to_work(); /*never reached */ |
+--------------------------------------------------------------------------+

2. PPP and IPX, I know I am close....

3. Help with gcc: Internal compiler error: program ld got fatal signal 11

4. mkisofs for long filenames

5. Stray IRQ 7s

6. Help Required

7. help with ld script to build iBCS shared library (gnu ld 2.2)

8. IBM AS400 9402 9404 400 & V4R3 LICENSED OS400 AVAILABLE!

9. ld got signal 11 !

10. LD error - Signal 11

11. signal 11 with ld

12. compiler error...ld got fatal signal 11..Anybody seen a faq??

13. ld got fatal signal 11