[Bug c/66219] The gcc generated section start/stop pointers become undefined when option -flto is used

2015-05-21 Thread dscao999 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66219 --- Comment #2 from Cao Da Shi --- This issue poped up when cross compiling systemd-219. It is confirmed that the missed section has the __attribute__((used)) declared. But still the link will only pass without "-flto", with all other options exa

[Bug c/66219] New: The gcc generated section start/stop pointers become undefined when option -flto is used

2015-05-20 Thread dscao999 at hotmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dscao999 at hotmail dot com Target Milestone: --- Created attachment 35577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35577&action=edit This tar c