From mboxrd@z Thu Jan 1 00:00:00 1970 From: Franz Sirl To: Ian Lance Taylor Cc: gas2@cygnus.com Subject: Re: make check problems on powerpc-unknown-linux-gnu Date: Thu, 25 Mar 1999 02:35:00 -0000 Message-id: <99032511382700.00872@ns1102.munich.netsurf.de> References: <199903250345.TAA22602@rtl.cygnus.com> X-SW-Source: 1999/msg00038.html Am Thu, 25 Mar 1999 schrieb Ian Lance Taylor: >Date: Thu, 25 Mar 1999 00:36:05 +0100 > From: Franz Sirl > > Running /home/fsirl/BUILD/gas-990324/ld/testsuite/ld-shared/shared.exp ... > > /home/fsirl/BUILD/gas-990324/ld/ld-new -o tmpdir/shnp.so -shared -T > /home/fsirl/BUILD/gas-990324/ld/testsuite/ld-shared/elf-offset.ld tmpdir/sh1np. > o tmpdir/sh2np.o > /home/fsirl/BUILD/gas-990324/ld/ld-new -m elf32ppc -o tmpdir/shnp > -dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o > /usr/lib/gcc-lib/ppc > -redhat-linux/egcs-2.91.66/crtbegin.o -rpath tmpdir tmpdir/mainnp.o > tmpdir/shnp.so /usr/lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/libgcc.a -lc /usr > /lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/libgcc.a > /usr/lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/crtend.o /usr/lib/crtn.o > tmpdir/shnp >tmpdir/shnp.out > tmpdir/shnp: error in loading shared libraries: tmpdir/shnp.so: program > headers not contained in any loaded segment > FAIL: shared (non PIC, load offset) > >This one is the only serious error. It's worth investigating why this >is happening. Do other people using PowerPC GNU/Linux see this as >well? dunno, actually only a few PPC/Linux people are using snapshots right now (it is needed to build the egcs mainline). I get this FAIL since early January, 981227 is the last snapshot I have without this problem. What can I do to help to track down this problem? > On the last on the only special thing about shnp.so I noticed is the > following readelf output: > > Program Headers: > Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align > LOAD 0x010000 0x00100000 0x00100000 0x017d0 0x017d0 RWE 0x10000 > DYNAMIC 0x01176c 0x0010176c 0x0010176c 0x00050 0x00050 RW 0x4 > > AFAI remember there are usually 2 LOAD entries here, or? > >Yes, there usually are. However, it is not a requirement. maybe glibc-2.1/glibc-2.1.1pre1 enforce this? Do people on other glibc-2.1 platforms see this failure too? Or is it PPC only? Franz.