pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/gcc5-aux



On 12/7/2016 21:29, Kamil Rytarowski wrote:


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.

The -rpath is being set in the internal gcc netbsd specs file itself, and the build works on DragonFly and FreeBSD, so it's not a pkgsrc makefile issue.

But I did notice that the gold linker is being specified in the pkgsrc makefile, so I can try the pkgsrc binutils with the bfd linker now.

John




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




Home | Main Index | Thread Index | Old Index