On 08.12.2016 04:31, John Marino wrote:
Module Name: pkgsrc
Committed By: marino
Date: Thu Dec 8 03:31:27 UTC 2016
Modified Files:
pkgsrc/lang/gcc5-aux: Makefile Makefile.version
pkgsrc/lang/gcc5-aux/files: diff-core
Log Message:
lang/gcc5-aux: Fix runpath, at least for non-NetBSD platforms
NetBSD doesn't seem to be honoring -rpath, at least not with binutils
from base. Using binutils from pkgsrc doesn't work either because it
uses the gold linker (for an unknown reason) which fails with an
"unsupported operation". As a result, gcc5-aux was limited to base
binutils for NetBSD 7 and later. The issue was never resolved.
Maybe BUILDLINK_PASSTHRU_DIRS, BUILDLINK_PASSTHRU_RPATHDIRS and
COMPILER_RPATH_FLAG can help. Please see lang/coreclr.