https://sourceware.org/bugzilla/show_bug.cgi?id=22199

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Valère Monseur from comment #3)
> I've added an attachment with the input files for the linker.

This isn't sufficient. I need EVERY input file passed to linker, like below:

> /usr/bin/ld --build-id
> --hash-style=gnu -m elf_x86_64 -static -o hello
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crt1.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crti.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtbeginT.o
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../.. -v -Map
> hello.map hello.o --start-group -lgcc -lgcc_eh -lc --end-group
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/crtend.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/crtn.o

including libgcc.a, libgcc_eh.a and libc.a.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to