https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91664

--- Comment #4 from element at elementsofsound dot org <element at 
elementsofsound dot org> ---
(In reply to Andrew Pinski from comment #2)
> Try this:
> gcc -c fmv-test.c
> gcc -c main.c
> ar cr fmv-test.a  main.o fmv-test.o
> gcc -o fmv-test-borken fmv-test.a
> 
> It might be because the way linker processes archives and most likely not a
> bug.

I tried changing the order of the .o files in the ar command as shown, but same
errors occurred.

Reply via email to