This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/61967] regression: cannot link with -flto


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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to ÐÐÐÑÐ ÐÐÐÐÑÐÐÐ from comment #5)
> Using gcc-ar instead of ar does not help:
> 
> $grep AR\ = Makefile
> AR = gcc-ar
> ...

> ranlib libgnu.a

You need to use gcc-ranlib too otherwise the symbol table is also messed up.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]