[Bug target/96700] undefined reference to `failure_on_line_796'

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 23 22:36:34 GMT 2020


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gcc dot gnu.org

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I'm only familiar with LTO at a high level but the test links with -flto on
x86_64 and I'd expect that to be independent of the target.  The calls to all
the test_on_line_xxx functions should be eliminated before LTO.  What's
different about RISCV that keeps it from happening?  (I didn't have LTO in mind
when I wrote the test but if it can be tweaked to be usable with it even on
RISCV I'm happy to do it.)


More information about the Gcc-bugs mailing list