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: Matt Thomas <matt%3am-software.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: Ignatios Souvatzis <presse%ycm-bonn.de@localhost>,
 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
Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
Date: Wed, 26 Oct 2011 08:46:11 -0700

 On Oct 26, 2011, at 8:26 AM, Christos Zoulas wrote:
 
 > On Oct 26,  9:52am, presse%ycm-bonn.de@localhost (Ignatios Souvatzis) wrote:
 > -- Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
 > 
 > | No change:
 > | 
 > | marie hello !% cc -pie -fpie -o hello hello.c 
 > | marie hello !% ./hello
 > | Abort
 > | marie hello !% cc -pie -fPIE -o hello hello.c
 > | marie hello !% ./hello
 > | Abort
 > | e hello !% ktrace ./hello
 > | Abort
 > 
 > Try with:
 > 
 > cc -pie -fPIE -o hello hello.c -lgcc_s
 > 
 > I'll boot my arm box and fix it.
 
 doesn't crt0 need to be compiled with -fpie as well?
 


Home | Main Index | Thread Index | Old Index