make check problems on powerpc-unknown-linux-gnu

Ian Lance Taylor
Wed Mar 24 19:48:00 GMT 1999

   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/ -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/ /usr/lib/crt1.o /usr/lib/crti.o 
   -redhat-linux/egcs-2.91.66/crtbegin.o -rpath tmpdir tmpdir/mainnp.o 
   tmpdir/ /usr/lib/gcc-lib/ppc-redhat-linux/egcs-2.91.66/libgcc.a -lc /usr
   /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/ 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

   On the last on the only special thing about 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.


More information about the Gas2 mailing list