[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-09-16 Thread sujian.liu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 --- Comment #9 from liusujian --- After lto and as: /home/lsj/dts/SDK_CPU_RISCV/output/hcc_riscv32/hcc_riscv32/bin/../lib/gcc/riscv32-unknown-elf/7.3.0/../../../../riscv32-unknown-elf/bin/as -v --traditional-format -march=rv32imc -march=rv32imc

[Bug lto/96700] New: undefined reference to `failure_on_line_796'

2020-08-18 Thread sujian.liu at huawei dot com
: lto Assignee: unassigned at gcc dot gnu.org Reporter: sujian.liu at huawei dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 49079 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49079&action=edit the source code Wh

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-07-14 Thread sujian.liu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 --- Comment #8 from liusujian --- (In reply to Nathan Sidwell from comment #6) > Ah, anonymous namespaces have internal linkage (and a program-wide unique > identifier). Their contents have the linkage they have. but because > they're within th

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-06-18 Thread sujian.liu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 --- Comment #7 from liusujian --- Is this really a bug for the GCC when using LTO? If so, is there any plan to fix this problem? Thanks!

[Bug c++/95677] undefined reference to `(anonymous namespace)::xx'

2020-06-15 Thread sujian.liu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95677 --- Comment #2 from liusujian --- (In reply to Richard Biener from comment #1) > It's more likely the GENERIC / cgraph output by the C++ frontend is not > correct > and works by accident without LTO. Initial symbol table: > > Initial Symbol tab

[Bug lto/95677] New: undefined reference to `(anonymous namespace)::xx'

2020-06-15 Thread sujian.liu at huawei dot com
onent: lto Assignee: unassigned at gcc dot gnu.org Reporter: sujian.liu at huawei dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48731 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48731&action=edit dejagnu/testsuite

[Bug lto/95572] lto1: internal compiler error: in lto_input_tree_ref, at lto-streamer-in.c:370

2020-06-08 Thread sujian.liu at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95572 --- Comment #2 from sujian.liu at huawei dot com --- (In reply to Martin Liška from comment #1) > Hello. > GCC 7.x is out of support, can you please test a newer release, ideally GCC > 10.1 release? I tried to compile with GCC 8.2.

[Bug lto/95572] New: lto1: internal compiler error: in lto_input_tree_ref, at lto-streamer-in.c:370

2020-06-08 Thread sujian.liu at huawei dot com
: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: sujian.liu at huawei dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48700 --> https://gcc.gnu.org/bugzilla/attachment.cgi