Date: Thu, 20 Jun 2019 15:25:42 +0000 (UTC) From: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <royger@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504632 - head/emulators/xen-kernel Message-ID: <201906201525.x5KFPgje047674@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: royger (src committer) Date: Thu Jun 20 15:25:42 2019 New Revision: 504632 URL: https://svnweb.freebsd.org/changeset/ports/504632 Log: emulators/xen-kernel: use binutils to workaround LLD 8 bug LLD 8 changed the behaviour regarding the placement of orphaned sections, which produces a non-bootable Xen kernel: https://bugs.llvm.org/show_bug.cgi?id=42327 Switch to GNU LD (and NM) until this is resolved. Sponsored by: Citrix Systems R&D Reviewed by: mat Differential revision: https://reviews.freebsd.org/D20706 Modified: head/emulators/xen-kernel/Makefile Modified: head/emulators/xen-kernel/Makefile ============================================================================== --- head/emulators/xen-kernel/Makefile Thu Jun 20 15:21:40 2019 (r504631) +++ head/emulators/xen-kernel/Makefile Thu Jun 20 15:25:42 2019 (r504632) @@ -2,7 +2,7 @@ PORTNAME= xen PORTVERSION= 4.12.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/ PKGNAMESUFFIX= -kernel @@ -15,10 +15,17 @@ LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 USES= cpe gmake python:2.7,build +# LLD 8 changed the behaviour re the placement of orphaned sections, which +# produces a non-bootable Xen kernel: +# +# https://bugs.llvm.org/show_bug.cgi?id=42327 +# +# Switch to GNU LD (and NM) until this is resolved. +USE_BINUTILS= yes # Ports build environment has ARCH=amd64 set which disables Xen automatic arch # detection, but amd64 is not a valid arch for Xen. Hardcode x86_64 on the # command line in order to overwrite the one from the environment. -MAKE_ARGS= clang=y PYTHON=${PYTHON_CMD} ARCH=x86_64 +MAKE_ARGS= clang=y PYTHON=${PYTHON_CMD} ARCH=x86_64 LD=${LD} NM=${NM} NO_MTREE= yes STRIP= # PLIST_FILES= /boot/xen \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906201525.x5KFPgje047674>