Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jan 2019 14:01:33 +0000
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)
Message-ID:  <bug-220103-29464-BATjBTT7yG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220103-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220103-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220103

--- Comment #20 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Jan Beich from comment #9)
> (In reply to Antoine Brodin from comment #8)
> Probably. I can reproduce mplayer issue with LLD 7.0 but not 6.0[1] nor
> 5.0[2]. Being runtime issue it's not clear how many ports are affected.
>=20
> [1] LDFLAGS+=3D-fuse-ld=3Dlld60 + BUILD_DEPENDS+=3Dld.lld60:devel/llvm60
> [2] LDFLAGS+=3D-fuse-ld=3D/usr/local/llvm50/bin/ld.lld +
> BUILD_DEPENDS+=3Dlld50:devel/llvm50

Hm, this is still strange to me.  I think we need to investigate some more =
if
this is really not something that has changed due to another revision in ll=
d.

E.g. https://bugs.llvm.org/show_bug.cgi?id=3D40176 is talking about this sp=
ecific
use case:

FOO {
        foo*;
};

BAR {
        *;
};

causing symbols starting with "foo" to end up in the BAR namespace with lld=
.=20
As far as I know, this has always been the case.

But with all the chromium based ports, I am not so sure.  Does anybody know
what kind of linker script(s) are used in those?

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220103-29464-BATjBTT7yG>