bug-binutils
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]