[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:
From: |
bugdal at aerifal dot cx |
Subject: |
[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387 |
Date: |
Tue, 01 Jul 2014 02:14:00 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16698
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #12 from Rich Felker <bugdal at aerifal dot cx> ---
For musl libc.a, neither stdin.o nor fflush.o should be pulled in unless
they're actually used. For stdin.o, that means referencing stdin itself or a
function (like scanf or getchar) that explicitly uses stdin. For fflush.o, the
users are assert, getpass, fclose, freopen, and the stdio_ext.h functions. So
this seems wrong:
> it seems they're getting pulled in via crt1.o -> __libc_start_main -> exit
As for:
> if i can find a way to get ld to list all the object files it pulls in from
> libc.a, i could extract those and attach them here.
Won't -Wl,-M do this? Or you could just look at a non-stripped output binary
with debug symbols, which should show the object file filenames that were
linked.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, (continued)
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, maillist-gdb at barfooze dot de, 2014/06/12
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, maillist-gdb at barfooze dot de, 2014/06/12
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, hp at sourceware dot org, 2014/06/13
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, ronald.wahl at raritan dot com, 2014/06/13
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, nickc at redhat dot com, 2014/06/13
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, maillist-gdb at barfooze dot de, 2014/06/13
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, nickc at redhat dot com, 2014/06/16
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, maillist-gdb at barfooze dot de, 2014/06/28
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, nickc at redhat dot com, 2014/06/30
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387, maillist-gdb at barfooze dot de, 2014/06/30
- [Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387,
bugdal at aerifal dot cx <=