svn commit: r465903 - head/lang/fpc
Ed Maste
emaste at FreeBSD.org
Thu Mar 29 15:40:06 UTC 2018
Author: emaste (src committer)
Date: Thu Mar 29 15:40:06 2018
New Revision: 465903
URL: https://svnweb.freebsd.org/changeset/ports/465903
Log:
lang/fpc: Set LLD_UNSAFE
fpc produces and needs to link an object file with invalid section
header alignment, which lld refuses to do. The build fails with:
/usr/bin/ld: error: x86_64/units/x86_64-freebsd/i_linux.o: \
invalid alignment of section headers
Setting LLD_UNSAFE makes the port link with ld.bfd instead.
PR: 222172
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Modified:
head/lang/fpc/Makefile
Modified: head/lang/fpc/Makefile
==============================================================================
--- head/lang/fpc/Makefile Thu Mar 29 15:33:28 2018 (r465902)
+++ head/lang/fpc/Makefile Thu Mar 29 15:40:06 2018 (r465903)
@@ -23,6 +23,7 @@ COMMENT?= Free Pascal compiler with Turbo and Delphi
USES= gmake iconv
ONLY_FOR_ARCHS= i386 amd64
+LLD_UNSAFE= yes # Links object with invalid section header alignment
BOOTVER= 3.0.4
MANVER= 3.0.4
More information about the svn-ports-head
mailing list