Date: Wed, 09 Jan 2019 14:41:50 +0000 From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: maintainer-feedback requested: [Bug 234789] emulators/virtualbox-ose: fails to link on i386 with lld as system linker Message-ID: <bug-234789-26505-gALVuDFPkT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-234789-26505@https.bugs.freebsd.org/bugzilla/> References: <bug-234789-26505@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
Bugzilla Automation <bugzilla@FreeBSD.org> has asked vbox@FreeBSD.org for maintainer-feedback: Bug 234789: emulators/virtualbox-ose: fails to link on i386 with lld as system linker https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234789 --- Description --- http://package18.nyi.freebsd.org/build.html?mastername=headi386PR214864-default &build=2019-01-05_21h00m02s http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00 m02s/logs/errors/virtualbox-ose-5.2.22_2.log kBuild: Linking VBoxRT ld: error: relocation R_386_PC32 cannot be used against symbol RTMemAllocTag; recompile with -fPIC >>> defined in /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/freebsd. x86/release/obj/VBoxRT/r3/alloc.o >>> referenced by alloc.cpp:44 (/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/src/VBox/Ru ntime/common/alloc/alloc.cpp:44) >>> /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/freebsd. x86/release/obj/VBoxRT/common/alloc/alloc.o:(RTMemDupTag) ld: error: relocation R_386_PC32 cannot be used against symbol memcpy; recompile with -fPIC >>> defined in /lib/libc.so.7 >>> referenced by alloc.cpp:46 (/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/src/VBox/Ru ntime/common/alloc/alloc.cpp:46) >>> /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/freebsd. x86/release/obj/VBoxRT/common/alloc/alloc.o:(RTMemDupTag) ld: error: relocation R_386_PC32 cannot be used against symbol RTMemAllocTag; recompile with -fPIC >>> defined in /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/freebsd. x86/release/obj/VBoxRT/r3/alloc.o >>> referenced by alloc.cpp:54 (/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/src/VBox/Ru ntime/common/alloc/alloc.cpp:54) >>> /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/freebsd. x86/release/obj/VBoxRT/common/alloc/alloc.o:(RTMemDupExTag) ... Similar issues in: emulators/virtualbox-ose-additions http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00 m02s/logs/errors/virtualbox-ose-additions-5.2.22_2.log emulators/virtualbox-ose-additions-nox11 http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00 m02s/logs/errors/virtualbox-ose-additions-nox11-5.2.22_2.log emulators/virtualbox-ose-nox11 http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00 m02s/logs/errors/virtualbox-ose-nox11-5.2.22_2.log Most likely the link stage needs -z notext (e.g. -Wl,-z,notext in LDFLAGS).help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234789-26505-gALVuDFPkT>
