Bug 9922 - need to configure with --disable-pie on ubuntu
Summary: need to configure with --disable-pie on ubuntu
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: releng (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rajan Arora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 15:09 UTC by Frank Ch. Eigler
Modified: 2019-11-11 22:55 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
shortcut method patch (772 bytes, patch)
2009-03-25 02:10 UTC, Rajan Arora
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2009-03-04 15:09:31 UTC
It appears that ubuntu and maybe other distros ship elfutils only in
static library form.  That breaks our default linking with -fpie etc..
So our configury needs to check for pie-compatibility of -ldw etc.,
and disable it if absent.
Comment 1 Frank Ch. Eigler 2009-03-24 15:13:14 UTC
Please look at this today if able.
As a shortcut, we could make --disable-pie the autoconf-level default
(and set it to true in the .spec file).
Comment 2 Rajan Arora 2009-03-25 02:10:18 UTC
Created attachment 3842 [details]
shortcut method patch

Makes --disable-pie the configure default and enables it in .spec
Comment 3 Rajan Arora 2009-03-25 19:07:09 UTC
submitted patch checked in.
Comment 4 Frank Ch. Eigler 2019-11-11 22:55:16 UTC
Blast from the future: we're turning --enable-pie to default because of 2019 fedora rawhide policies that sneak in -fpie in unexpected places.