-pie is broken on hppa
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines
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
Signature · 6 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602) _______________________________________________ parisc-linux mailing list [email protected] http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 4 lines
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 advise not updating to libc6 2.5-9. More than pie apps seem affected. For example, svn is broken on my system. _start in *crt1.o needs fixing.
Dave
Signature · 6 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602) _______________________________________________ parisc-linux mailing list [email protected] http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · John David Anglin
Quoted 4 lines
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 advise not updating to libc6 2.5-9. More than pie apps seem affected. For example, svn is broken on my system.
_startin *crt1.o needs fixing.
This is a matter of some urgency -- I heard glibc 2.5 moved into Debian Testing today.
_______________________________________________
parisc-linux mailing list [email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux