http://bugzilla.opensuse.org/show_bug.cgi?id=1142911 Bug ID: 1142911 Summary: LTO: kicad build fails due to undefined reference to toplevel assembly function Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: stefan.bruens@rwth-aachen.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Kicads libcontext.cpp contains toplevel assembly, which fails to link: https://build.opensuse.org/package/live_build_log/electronics/kicad/openSUSE... https://github.com/KiCad/kicad-source-mirror/blob/master/common/system/libco... PLD Linux has a patch to replace the toplevel assembly with a "naked" function: http://git.pld-linux.org/?p=packages/kicad.git;f=lto.patch;h=ad2c2f023eb7ffe... To me, using a naked function appears better than disabling LTO for the generated object file. -- You are receiving this mail because: You are on the CC list for the bug.