svn commit: r465725 - head/lang/myrddin
Tobias Kortkamp
tobik at FreeBSD.org
Tue Mar 27 17:45:31 UTC 2018
Author: tobik
Date: Tue Mar 27 17:45:30 2018
New Revision: 465725
URL: https://svnweb.freebsd.org/changeset/ports/465725
Log:
lang/myrddin: Fix build when ld is ld.lld
ld: error: <internal>: section sh_addralign is not a power of 2
Myrddin's build system directly calls ld so LLD_UNSAFE can't work
here. Workaround the issue by adding a binary alias to ld.bfd to fix
the build for now.
PR: 226986
Reported by: emaste
Modified:
head/lang/myrddin/Makefile
Modified: head/lang/myrddin/Makefile
==============================================================================
--- head/lang/myrddin/Makefile Tue Mar 27 17:40:06 2018 (r465724)
+++ head/lang/myrddin/Makefile Tue Mar 27 17:45:30 2018 (r465725)
@@ -17,8 +17,12 @@ USES= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix "${PREFIX}"
-WRKSRC= ${WRKDIR}/mc
TEST_TARGET= check
+WRKSRC= ${WRKDIR}/mc
+
+# Myrddin is LLD_UNSAFE:
+# ld: error: <internal>: section sh_addralign is not a power of 2
+BINARY_ALIAS= ld=ld.bfd
OPTIONS_DEFINE= DEBUG VIM
OPTIONS_DEFAULT= VIM
More information about the svn-ports-all
mailing list