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.
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