[klibc] [parisc-linux] klibc parisc64

Kyle McMartin kyle at mcmartin.ca
Mon Jul 24 12:28:20 PDT 2006

On Mon, Jul 24, 2006 at 03:01:36PM -0400, John David Anglin wrote:
> > hppa64-linux-gnu-ld: usr/klibc/libc.so: Not enough room for program headers (allocated 5, need 6)
> > hppa64-linux-gnu-ld: final link failed: Bad value
> This is a ld bug.  I see the same problem on hpux with '-static'.  We
> need another program header sometimes and I haven't figured out why.

So, klibc linked statically (libc.a) properly...

Interesting. So I fetched the cmdline used to build some of the static
test programs from klibc out of a 32-bit parisc build, and edited them
in the relevant ways to build for 64-bit. The outputted executable when
examined with "file" claimed to be "dynamically linked (uses shared libs)"
and would return "No such file or directory" when executed, implying that
it wasn't linked properly.

However, examination with readelf seemed to be alright.

I can provide the test built program (minips).

	Kyle M.

More information about the klibc mailing list