Summary: | syscall functions from kernel headers are not PIC-aware, causing various package compilation failures with PIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin F. Quinn (RETIRED) <kevquinn> |
Component: | [OLD] Core system | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pageexec, solar, tb, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
provides pic-aware versions of the macros
Simple compilation test file provides pic-aware versions of the macros, with the instruction parameter ordering correct this time |
Description
Kevin F. Quinn (RETIRED)
2005-01-29 04:03:27 UTC
Created attachment 49816 [details, diff]
provides pic-aware versions of the macros
Needs critical review; in particular could someone check I haven't got any of
the parameter numbers wrong.
Created attachment 49817 [details]
Simple compilation test file
for compiling to see the errors, to review the generated assembler etc.
Created attachment 49826 [details, diff]
provides pic-aware versions of the macros, with the instruction parameter ordering correct this time
Mike, mind testing these out? What do you think of this pic patch? Seems safe? So far this patch along with another flag-o-matic patch has cleared up many of the existing problems with hardened things. I think it wins my vote and might even be proper for upstream. Added in linux-headers-2.6.10 and solar's added it to 2.4; I guess this can be marked as FIXED. sorry for not getting back sooner, but yes, it looks quite good, nice job :) |