make check problems on powerpc-unknown-linux-gnu

Ian Lance Taylor ian@zembu.com
Wed Mar 24 19:48:00 GMT 1999


   Date: Thu, 25 Mar 1999 00:36:05 +0100
   From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

   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?

   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.

Ian



More information about the Gas2 mailing list