Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2019 22:28:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 237068] /usr/local/bin/ld: BFD (GNU Binutils) 2.30 assertion fail elflink.c:2824
Message-ID:  <bug-237068-29464-4hccheXZzk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237068-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237068-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=3D237068

--- Comment #42 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #41)

Looks like the old 2.17..50 [FreeBSD] 2007-07-03
ld puts __bss_satrt in the .dynsym information
fairly generally:

# find /lib* /usr/lib*  -exec objdump -T {} \; 2>&1 | egrep '(file format
elf32-p| D .*__bss_start)' | grep -C1 __bss_start | more
/lib/libnv.so.0:     file format elf32-powerpc-freebsd
0002430c g    D  *ABS*  00000000  Base        __bss_start
/lib/libalias_ftp.so:     file format elf32-powerpc-freebsd
000131ac g    D  *ABS*  00000000  Base        __bss_start
/lib/libzpool.so.2:     file format elf32-powerpc-freebsd
0023c238 g    D  *ABS*  00000000  Base        __bss_start
/lib/libutil.so.9:     file format elf32-powerpc-freebsd
00022610 g    D  *ABS*  00000000  Base        __bss_start
/lib/libncurses.so.8:     file format elf32-powerpc-freebsd
00057448 g    D  *ABS*  00000000  Base        __bss_start
/lib/libipsec.so.4:     file format elf32-powerpc-freebsd
00017404 g    D  *ABS*  00000000  Base        __bss_start
/lib/libctf.so.2:     file format elf32-powerpc-freebsd
0001d460 g    D  *ABS*  00000000  Base        __bss_start
/lib/libncursesw.so.8:     file format elf32-powerpc-freebsd
0006648c g    D  *ABS*  00000000  Base        __bss_start
/lib/libdevstat.so.7:     file format elf32-powerpc-freebsd
00016454 g    D  *ABS*  00000000  Base        __bss_start
/lib/libbsdxml.so.4:     file format elf32-powerpc-freebsd
00035a1c g    D  *ABS*  00000000  Base        __bss_start
/lib/librss.so.1:     file format elf32-powerpc-freebsd
000127a4 g    D  *ABS*  00000000  Base        __bss_start
. . . (I'll not list it all) . . .

So using 2.17.50 is sort of like using 2.32 was before the
removal of the temporary patch, if I gather right: removal
of the temporary patch made 2.32 stop generating these
.dynsym entries and once the libraries involved were rebuilt
the prolem went away in the 2.32 based context.

Looks like the blame may go on 2.17.50's ld. That makes a
mess for 32-bit powerpc built with gcc 4.2.1's tool chain.

--=20
You are receiving this mail because:
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-237068-29464-4hccheXZzk>