This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Add --enable-static-pie to build static executables as PIE


On Mon, Jul 17, 2017 at 11:00 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * H. J. Lu:
>
>> Are there any interests for --enable-static-pie, which builds static
>> executables as PIE?
>
> I would welcome it, unless it's very invasive.

Please take a look at hl/pie/static branch:

https://sourceware.org/git/?p=glibc.git;a=shortlog;h=refs/heads/hl/pie/static

I only tested it on x86-64.  You need binutils 2.29 branch or master branch
for

https://sourceware.org/bugzilla/show_bug.cgi?id=21782

I got these regressions:

FAIL: nptl/tst-cancel21-static
FAIL: nptl/tst-cancel24-static
FAIL: nptl/tst-cond8-static
FAIL: nptl/tst-mutex8-static
FAIL: nptl/tst-mutexpi8-static
FAIL: nptl/tst-sem11-static
FAIL: nptl/tst-sem12-static

I am looking into them.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]