[Bug 246322] ld.bfd error on releng/11.4 confuses many autoconf scripts
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 5 15:44:10 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246322
--- Comment #15 from Conrad Meyer <cem at 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
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 think
we should just revert this in CURRENT.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list