<br><br><div class="gmail_quote">2011/8/3 Maciej Bliziński <span dir="ltr"><<a href="mailto:maciej@opencsw.org">maciej@opencsw.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">2011/8/3 Jesse Reynolds <<a href="mailto:jesse@opencsw.org">jesse@opencsw.org</a>>:<br>
</div><div class="im">> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf<br>
> CHECKPKG_OVERRIDES_CSWgperf +=<br>
> bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf<br>
<br>
</div>This check deals with the RPATH setting in the resulting binaries.<br>
Sun Studio by default adds extra RPATH entries, e.g.<br>
"/opt/SUNWspro/lib/v8".  To fix this, you need to tell Sun Studio to<br>
stop doing that:<br>
<br>
EXTRA_CFLAGS = -xnorunpath<br>
<br>
The EXTRA_CFLAGS variable value will be put by GAR into the right<br>
places for autotools to pick up.<br>
<div><div></div><div class="h5"></div></div></blockquote></div><br><div>Thanks. So I put that line into gperf/Makefile and ran 'mgar clean', 'mgar package' and it ends up with the same errors again (though in a different order):</div>
<div><br></div><div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib|opt/csw/bin/gperf</div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib/rw7|opt/csw/bin/gperf</div><div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/opt/SUNWspro/lib/v8|opt/csw/bin/gperf</div>
<div>CHECKPKG_OVERRIDES_CSWgperf += bad-rpath-entry|/lib|opt/csw/bin/gperf</div></div><div><br></div><div>This is on unstable9s, I think I ran it last time on one of the other sparc machines in the build farm. </div>