[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

giulio.benetti at benettiengineering dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 21 22:53:50 GMT 2021


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

--- Comment #11 from Giulio Benetti <giulio.benetti at benettiengineering dot com> ---
I think I've found, a -fPIC was in CPPFLAGS while -static too. They can't work
together. Indeed removing -fPIC it builds fine.
So this is the solution.

Please correct if I'm wrong because I'm not that experienced on this topic,
but for me it makes sense.

What do you think?

Thank in advance(again :-)


More information about the Gcc-bugs mailing list