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 25, 8:00am, is%beverly.kleinbus.org@localhost
(is%beverly.kleinbus.org@localhost) wrote:
-- Subject: port-arm/45520: -pie broken, breaks some pkgsrc builds.
| # compile hello/hello.o
| cc -pie -Werror -c hello.c
| # link hello/hello
| cc -pie -o hello hello.o -Wl,-rpath-link,/lib -L/lib
-Wl,-rpath-link,/usr/lib -L/usr/lib
| ./hello
| *** Signal 6
>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.
christos
Home |
Main Index |
Thread Index |
Old Index