Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 15:40:06 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465903 - head/lang/fpc
Message-ID:  <201803291540.w2TFe6gw060871@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803291540.w2TFe6gw060871>