On Friday 15 April 2005 04:13 pm, Vibhav Garg wrote:
> Sorry for the dumb question but was do -fpie and -fno-pie do?
yeah you should be sorry !
seriously though, PIE stands for Position Independent Executables and -fpie /
-fno-pie controls whether the toolchain produces PIE (mmm PIE)
for someth
On Fri, Apr 15, 2005 at 04:05:16PM -0400, Mike Frysinger wrote:
> On Friday 15 April 2005 03:55 pm, Maurice van der Pot wrote:
> > On Fri, Apr 15, 2005 at 03:38:04PM -0400, Mike Frysinger wrote:
> > > uhh, gcc-3.3.x should certainly support -fpie and -fno-pie
> >
> > In that case, take a look at
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maurice van der Pot wrote:
> On Tue, Apr 12, 2005 at 12:10:25PM -0400, Daniel Ostrow wrote:
>
>>Take a look at dev-libs/glib/files/glib-2.6.3-testglib-ssp.patch to see
>>how solar and I dealt with a similar issue with tests and ssp. See if
>>you can a
On Friday 15 April 2005 03:55 pm, Maurice van der Pot wrote:
> On Fri, Apr 15, 2005 at 03:38:04PM -0400, Mike Frysinger wrote:
> > uhh, gcc-3.3.x should certainly support -fpie and -fno-pie
>
> In that case, take a look at
> http://bugs.gentoo.org/show_bug.cgi?id=89179.
it's because he has USE=bou
On Fri, Apr 15, 2005 at 03:38:04PM -0400, Mike Frysinger wrote:
> uhh, gcc-3.3.x should certainly support -fpie and -fno-pie
In that case, take a look at
http://bugs.gentoo.org/show_bug.cgi?id=89179.
--
Maurice van der Pot
Gentoo Linux Developer [EMAIL PROTECTED] http://www.gentoo.org
Cre
On Fri, Apr 15, 2005 at 08:40:55PM +0100, Stephen Bennett wrote:
> > Why is -fno-pie being added by filter-flags anyway?
>
> Because with hardened gcc profiles PIE is the default behaviour. So, if
> something doesn't work with pie (which is usually why one would filter
> out -fpie), we need to ad
On Friday 15 April 2005 03:27 pm, Maurice van der Pot wrote:
> Ok, so I thought it was all well and good, but now a bug report made me
> realise that gcc < 3.4 doesn't have -fpie/-fno-pie.
uhh, gcc-3.3.x should certainly support -fpie and -fno-pie
works on my 3.3.5.2005 on amd64 ...
-mike
--
On Fri, 2005-04-15 at 21:27 +0200, Maurice van der Pot wrote:
> What do I do now?
The obvious course of action would be to test whether the GCC being used
supports -fno-pie and add it if it does. If it doesn't, you'd just have
to assume that PIE isn't being used by default.
> Why is -fno-pie bei
On Tue, Apr 12, 2005 at 12:10:25PM -0400, Daniel Ostrow wrote:
>
> Take a look at dev-libs/glib/files/glib-2.6.3-testglib-ssp.patch to see
> how solar and I dealt with a similar issue with tests and ssp. See if
> you can adapt it, we just forced -fno-stack-protector after the CFLAGS
> pulled in fr
On Tue, Apr 12, 2005 at 12:10:25PM -0400, Daniel Ostrow wrote:
> Take a look at dev-libs/glib/files/glib-2.6.3-testglib-ssp.patch to see
> how solar and I dealt with a similar issue with tests and ssp. See if
> you can adapt it, we just forced -fno-stack-protector after the CFLAGS
> pulled in from
On Tuesday 12 April 2005 02:20 pm, Maurice van der Pot wrote:
> On Tue, Apr 12, 2005 at 01:52:05PM -0400, Mike Frysinger wrote:
> > On Tuesday 12 April 2005 11:59 am, Maurice van der Pot wrote:
> > > I have the following situation:
> > > - a package (valgrind) that can be compiled with PIE and uses
On Tue, Apr 12, 2005 at 01:52:05PM -0400, Mike Frysinger wrote:
> On Tuesday 12 April 2005 11:59 am, Maurice van der Pot wrote:
> > I have the following situation:
> > - a package (valgrind) that can be compiled with PIE and uses PIE
> > for some purpose or other if it is supported
> > - tests (m
On Tuesday 12 April 2005 11:59 am, Maurice van der Pot wrote:
> I have the following situation:
> - a package (valgrind) that can be compiled with PIE and uses PIE
> for some purpose or other if it is supported
> - tests (make check) that cannot be compiled with PIE
allowing user specified tests
On Tue, 2005-04-12 at 17:59 +0200, Maurice van der Pot wrote:
*snip*
> If compiled with the hardened gcc profile, -fno-pie has to be specified
> when compiling the tests or it will fail. Specifying -fno-pie always
> will force me to disable any PIE support through configure as well.
>
> I tried to
I have the following situation:
- a package (valgrind) that can be compiled with PIE and uses PIE
for some purpose or other if it is supported
- tests (make check) that cannot be compiled with PIE
In the upstream release CFLAGS is reset to "-Wno-long-long", but I would
prefer to allow customised
15 matches
Mail list logo