Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2019 08:02:08 +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-yvwgyeBMiK@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 #30 from Michal Meloun <mmel@FreeBSD.org> ---
Only FYI. Reordering of local and global sections isn't necessary in this c=
ase.
Seems that global section have priority before local section.


root@tegra210:/usr/ports/multimedia/mplayer/work/mplayer-export-2018-12-24 =
# ld
-v
LLD 7.0.1 (FreeBSD 349250-1300001) (compatible with GNU linkers)

root@tegra210:/usr/ports/multimedia/mplayer/work/mplayer-export-2018-12-24 #
more binary.ver
MPLAYER_1 {
  # to support glibcs abhorrent backwards-compatibility hack
  global: _IO_stdin_used;
          __progname;
          environ;

  local: *;
};

root@tegra210:/usr/ports/multimedia/mplayer/work/mplayer-export-2018-12-24 #
readelf -s ./mplayer | grep environ
   818: 0000000000500000     8 OBJECT  GLOBAL DEFAULT   24 environ@@MPLAYER=
_1
(2)
  7023: 0000000000500000     8 OBJECT  GLOBAL DEFAULT   24 environ

root@tegra210:/usr/ports/multimedia/mplayer/work/mplayer-export-2018-12-24 #
./mplayer
MPlayer SVN-r38119-snapshot-7.0.1 (C) 2000-2018 MPlayer Team
Usage:   mplayer [options] [url|path/]filename
...

--=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-yvwgyeBMiK>