From owner-freebsd-toolchain@freebsd.org Sun Jan 6 23:37:35 2019 Return-Path: Delivered-To: freebsd-toolchain@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 A4C36149F1A6 for ; Sun, 6 Jan 2019 23:37:35 +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 2968196A67 for ; Sun, 6 Jan 2019 23:37:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DE4FA149F1A2; Sun, 6 Jan 2019 23:37:34 +0000 (UTC) Delivered-To: toolchain@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 BBDAF149F1A0 for ; Sun, 6 Jan 2019 23:37:34 +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 59BF496A60 for ; Sun, 6 Jan 2019 23:37:34 +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 6B836E32D for ; Sun, 6 Jan 2019 23:37:33 +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 x06NbXKM035719 for ; Sun, 6 Jan 2019 23:37:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x06NbX3j035718 for toolchain@FreeBSD.org; Sun, 6 Jan 2019 23:37:33 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: toolchain@FreeBSD.org Subject: [Bug 220103] devel/glib20: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" (WITH_LLD_IS_LD) Date: Sun, 06 Jan 2019 23:37:31 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2019 23:37:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220103 --- Comment #31 from Chris Hutchinson --- (In reply to Dimitry Andric from comment #28) > Created attachment 200811 [details] > Add FreeBSD specific entries to chrome's version map >=20 > Here is a patch that works for me, at least. It explicitly adds __progna= me > and environ, which are (as far as I know) the only two symbols that are > required to be exported from an executable. >=20 > I'm side stepping the wildcard problem too, but first listing the "local:= *" > line, then listing the global symbols after that. This works fine for ll= d, > but I didn't try recent BFD ld yet on it. Chromium is rather expensive in > terms of build time... >=20 > In any case, this approach can also work for other chromium based ports s= uch > as iridium. Mplayer is maybe a simpler case, as its version script can > simply be deleted. Thank you for all the time you've spent on this! I was also going to give that a try. But hadn't found enough time to test it.. till now. My results were negative. :( As I had already built, and installed it. I performed the following: # cd /usr/ports/iridium # make deinstall # make patch edited the patch-build_linux_chrome.map file. moving the local clause, and asterisk above the global stanzas. then performing # make ... looonnnggg time later ... # make install But no joy. Same result(s) as before. Do I perhaps need to clean out ld(1)'s cache? Dunno. I didn't build a package prior to this. So I can count on pkg(8) not having used a prior built package. Thanks again! --Chris --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=