Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Aug 2020 15:44:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts
Message-ID:  <bug-246322-29464-2teJIAeKWl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-246322-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-246322-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=3D246322

--- Comment #15 from Conrad Meyer <cem@freebsd.org> ---
Also, this doesn't seem to reproduce with modern (ports) binutils?

$ llvm-readelf10 --sections
/obj/usr/home/conrad/src/freebsd/i386.i386/lib/csu/i386/crt1.o
...
  [ 4] .eh_frame         PROGBITS        00000000 0003fc 0000b8 00   A  0  =
 0=20
4

$  cat main.c
int main(int argc, char **argv) { return 1; }

$ cc -Wall -Wextra -O2 -g -m32 -c main.c
$ ld.bfd -melf_i386_fbsd
/obj/usr/home/conrad/src/freebsd/i386.i386/lib/csu/i386/crt{1,i,n}.o main.o
/obj/usr/home/conrad/src/freebsd/i386.i386/tmp/usr/lib/libc.a   -o main.test
(no error)

$ ld.bfd --version
GNU ld (GNU Binutils) 2.33.1

If this issue is specific to ancient base ld.bfd on 11 (and maybe 12?), I t=
hink
we should just revert this in CURRENT.

--=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-246322-29464-2teJIAeKWl>