[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
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
| 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
| > it. For predictable results, you must also specify the same set
| > options that were used to generate code (-fpie, -fPIE, or model
| > 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
| 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
Main Index |
Thread Index |