From owner-freebsd-emulation@freebsd.org Wed Jan 9 14:41:53 2019 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDC021481C1B for ; Wed, 9 Jan 2019 14:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D70C889C8 for ; Wed, 9 Jan 2019 14:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 489751481C17; Wed, 9 Jan 2019 14:41:52 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DFD21481C16 for ; Wed, 9 Jan 2019 14:41:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A65F9889BA for ; Wed, 9 Jan 2019 14:41:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 926EE111E; Wed, 9 Jan 2019 14:41:51 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 7463B111D for ; Wed, 9 Jan 2019 14:41:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3520E889B5 for ; Wed, 9 Jan 2019 14:41:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6288611421 for ; Wed, 9 Jan 2019 14:41:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x09EfoIY060407 for ; Wed, 9 Jan 2019 14:41:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x09Efobf060405 for vbox@FreeBSD.org; Wed, 9 Jan 2019 14:41:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Date: Wed, 09 Jan 2019 14:41:50 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: A65F9889BA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-Mailman-Approved-At: Wed, 09 Jan 2019 14:55:22 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 14:41:53 -0000 Bugzilla Automation has asked vbox@FreeBSD.org for maintainer-feedback: Bug 234789: emulators/virtualbox-ose: fails to link on i386 with lld as sys= tem linker https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234789 --- Description --- http://package18.nyi.freebsd.org/build.html?mastername=3Dheadi386PR214864-d= efault &build=3D2019-01-05_21h00m02s http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_2= 1h00 m02s/logs/errors/virtualbox-ose-5.2.22_2.log kBuild: Linking VBoxRT ld: error: relocation R_386_PC32 cannot be used against symbol RTMemAllocTa= g; recompile with -fPIC >>> defined in /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/free= bsd. x86/release/obj/VBoxRT/r3/alloc.o >>> referenced by alloc.cpp:44 (/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/src/VBo= x/Ru ntime/common/alloc/alloc.cpp:44) >>>=09=09=20 /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/free= bsd. 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/VBo= x/Ru ntime/common/alloc/alloc.cpp:46) >>>=09=09=20 /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/free= bsd. x86/release/obj/VBoxRT/common/alloc/alloc.o:(RTMemDupTag) ld: error: relocation R_386_PC32 cannot be used against symbol RTMemAllocTa= g; recompile with -fPIC >>> defined in /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/free= bsd. x86/release/obj/VBoxRT/r3/alloc.o >>> referenced by alloc.cpp:54 (/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/src/VBo= x/Ru ntime/common/alloc/alloc.cpp:54) >>>=09=09=20 /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.22/out/free= bsd. 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_2= 1h00 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_2= 1h00 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_2= 1h00 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).