Re: gcc build errors out with 'Error: symbol `_GLOBAL__sub_I.00099_tzdb.cc' is already defined'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Feb 2025, Xi Ruoyao via Gcc-help wrote:

On Sat, 2025-02-22 at 14:13 +0000, SAIFI wrote:
Hi:

Encountering this error on a daily automated GCC build.

Error: symbol `_GLOBAL__sub_I.00099_tzdb.cc' is already defined

https://gcc.gnu.org/PR118981


谢谢 Xi Ruoyao! i hadn't seen this PR earlier.

On compiling the code, as per Jonathan in comment#6, the following output is seen

g++ -std=c++26 -c jw_01.cc

jw_01.cc:3:30: warning: requested ‘init_priority’ 99 is reserved for internal use
    3 | [[gnu::init_priority(99)]] A a;
      |                              ^
jw_01.cc:4:30: warning: requested ‘init_priority’ 99 is reserved for internal use
    4 | [[gnu::init_priority(99)]] A a2;
      |                              ^~
jw_01.cc:6:30: warning: requested ‘init_priority’ 99 is reserved for internal use
    6 | [[gnu::init_priority(99)]] B b;



warm regards
Saifi.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux