https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246322

--- Comment #15 from Conrad Meyer <c...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to