NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.



The following reply was made to PR port-arm/45520; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, port-arm-maintainer%netbsd.org@localhost, 
        gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
is%netbsd.org@localhost
Cc: 
Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
Date: Tue, 25 Oct 2011 17:35:42 -0400

 On Oct 25,  8:45pm, is%netbsd.org@localhost (is%netbsd.org@localhost) wrote:
 -- Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
 
 | The following reply was made to PR port-arm/45520; it has been noted by 
GNATS.
 | 
 | From: is%netbsd.org@localhost
 | To: gnats-bugs%NetBSD.org@localhost
 | Cc: 
 | Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
 | Date: Tue, 25 Oct 2011 22:41:34 +0200
 | 
 |  On Tue, Oct 25, 2011 at 02:30:05PM +0000, Christos Zoulas wrote:
 |  
 |  >  >From the gcc manual:
 |  >  
 |  >       -pie
 |  >           Produce a position independent executable on targets which 
support
 |  >           it.  For predictable results, you must also specify the same 
set of
 |  >           options that were used to generate code (-fpie, -fPIE, or model 
sub-
 |  >           options) when you specify this option.
 |  
 |  ENOPARSE (I read that sentence in the manual myself, and didn't
 |  understand it.) Same options when using the compiler as to when
 |  what?
 |  
 |  My demo program/Makefile is about the minimum I could distill the
 |  mantohtml rules used when making the cups package - at least I
 |  think so, and it breaks the same way on arm as the mantohtml, and
 |  works the same way on i386 and amd64 as mantohtml. If options should
 |  be added for right usage, please advise.
 
 
 cc -fpie -pie hello.c -o hello
 
 christos
 


Home | Main Index | Thread Index | Old Index