mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
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
This commit is contained in:
parent
c9da0b5946
commit
43b9be10c5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504632
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user