Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137785107
D20706.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20706.diff
View Options
Index: head/emulators/xen-kernel/Makefile
===================================================================
--- head/emulators/xen-kernel/Makefile
+++ head/emulators/xen-kernel/Makefile
@@ -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 @@
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 \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 26, 8:17 PM (9 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26213671
Default Alt Text
D20706.diff (1 KB)
Attached To
Mode
D20706: emulators/xen-kernel: use binutils to workaround LLD 8 bug
Attached
Detach File
Event Timeline
Log In to Comment