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
Cc: 
Subject: Re: port-arm/45520: -pie broken, breaks some pkgsrc builds.
Date: Tue, 25 Oct 2011 10:26:03 -0400

 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