[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox with -Wl,--sort-section,alignment

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #6 from Sam James --- If I attach gdb after it's been running for a while: ``` 0x55af4c8e93c1 in compare_section (bsec=, asec=, sort=) at ../bfd/bfd.h:1115 1115 return sec->name; (gdb) bt #0 0x55af4c8e93c1 in compare_

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox with -Wl,--sort-section,alignment

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #5 from Sam James --- (In reply to Sam James from comment #4) > To get the hang `-Wl,--sort-section,alignment` is sufficient: > ``` Happens with -Wl,--sort-section,name too. -- You are receiving this mail because: You are on the

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox with -Wl,--sort-section,alignment

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 Sam James changed: What|Removed |Added Summary|bfd very slow (> 4 minutes) |bfd very slow (> 4 minutes)

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #4 from Sam James --- To get the hang `-Wl,--sort-section,alignment` is sufficient: ``` x86_64-pc-linux-gnu-gcc -static -o busybox_unstripped -Wl,--sort-section,alignment -Wl,--start-group applets/built-in.o archival/lib.a archival

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #3 from Sam James --- Created attachment 14829 --> https://sourceware.org/bugzilla/attachment.cgi?id=14829&action=edit ps faux output -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #2 from Sam James --- (In reply to Sam James from comment #1) > (Tarball with files coming.) This contains the object files, command used, and perf.data: https://dev.gentoo.org/~sam/bugs/sourceware/30358/busybox-hangs.tar.xz --

[Bug ld/30358] bfd very slow (> 4 minutes) to link busybox

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 --- Comment #1 from Sam James --- If I run 'perf record ...' (... = command above), I get this from 'perf report': # Event count (approx.): 543334586 # # Overhead Command Shared Object Symbol # .

[Bug ld/30358] New: bfd very slow (> 4 minutes) to link busybox

2023-04-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30358 Bug ID: 30358 Summary: bfd very slow (> 4 minutes) to link busybox Product: binutils Version: 2.41 (HEAD) Status: NEW Severity: normal Priority: P2 Component:

[Bug binutils/30355] New: [DWARFv5] readelf: loc_offset XX too big

2023-04-14 Thread ndesaulniers at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30355 Bug ID: 30355 Summary: [DWARFv5] readelf: loc_offset XX too big Product: binutils Version: 2.40 Status: UNCONFIRMED Severity: normal Priority: P2 Component: b

[Bug ld/30354] New: Debug info is lost for functions only called from functions marked with cmse_nonsecure_entry

2023-04-14 Thread torbjorn.svensson at foss dot st.com
https://sourceware.org/bugzilla/show_bug.cgi?id=30354 Bug ID: 30354 Summary: Debug info is lost for functions only called from functions marked with cmse_nonsecure_entry Product: binutils Version: unspecified Status: UNCO