From owner-freebsd-games@freebsd.org Wed May 22 02:26:37 2019 Return-Path: Delivered-To: freebsd-games@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 B00331597BBE for ; Wed, 22 May 2019 02:26:37 +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 47FB08C1E1 for ; Wed, 22 May 2019 02:26:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 052CA1597BBD; Wed, 22 May 2019 02:26:37 +0000 (UTC) Delivered-To: games@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 E6D641597BBC for ; Wed, 22 May 2019 02:26:36 +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 79B248C1DC for ; Wed, 22 May 2019 02:26:36 +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 9FE021704D for ; Wed, 22 May 2019 02:26:35 +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 x4M2QZnX076856 for ; Wed, 22 May 2019 02:26:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4M2QZxE076851 for games@FreeBSD.org; Wed, 22 May 2019 02:26:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: games@FreeBSD.org Subject: [Bug 226980] openal-using ports fail to link when lld is the system linker Date: Wed, 22 May 2019 02:26:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: toolchain X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emacsray@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emaste@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-games@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support for Games on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 02:26:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226980 maskray changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emacsray@gmail.com --- Comment #63 from maskray --- Position-dependent object files compiled for main executable cannot call protected functions defined in DSOs (PLT cannot be created as otherwise add= ress uniqueness is not guaranteed), e.g. /usr/bin/ld: error: cannot preempt symbol: alcGetIntegerv >>> defined in /usr/local/lib/libopenal.so >>> referenced by audio_openal.c >>> audio_openal.c.o:(openal_input) alcGetIntegerv is STV_PROTECTED defined in a DSO. These object files for ma= in programs are incorrectly compiled without -fPIC/-fPIE. More appropriate fix= es might be add -fPIE to these programs depending on openal. https://bugs.llvm.org//show_bug.cgi?id=3D30960 you'll get similar link erro= rs if you use modern binutils. --=20 You are receiving this mail because: You are on the CC list for the bug.=