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_
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
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)
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
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.
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
--
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
# .
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:
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
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
10 matches
Mail list logo