[parisc-linux] -pie is broken on hppa
John David Anglin
dave at hiauly1.hia.nrc.ca
Fri Jun 1 07:05:18 MDT 2007
> Hi,
> I discovered that the breakage of portmap on hppa is related to the
> -pie linkage.
> Every program linked with the -pie option segfaults at start.
> Unfortunately, portmap is unconditionnaly built with this option.
> I suspect nscd is in the same case.
This problem was fixed sometime ago. I don't see it with libc6
2.3.6.ds1-13. Also, nscd doesn't segfault on my system. Make sure
the libc6 and binutils packages on your system are up to date.
If they are up to date and you still have the problem, provide testcase
and details on libc6, gcc and binutils versions.
The problem was in crt1.o and related to the handling of R_PARISC_PLABEL21L
and R_PARISC_PLABEL14R relocations.
Dave
--
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list