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

--- Comment #8 from Erich Löw <Erich.Loew at outlook dot com> ---
I try

1. Version of GCC:

gcc (GCC) 15.0.1 20250219 (experimental)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2. System type: x86_64 (x86_64-pc-linux-gnu) PC
   Quad-Core CPU: Intel(R) Core(TM) i5-3450 CPU @3.10GHz (4 times)

3. Kernel: 6.13.3

4. OS: OpenSUSE Leap 15.6

5. ./configure options

--prefix=/usr --enable-compressed-debug-sections=none --enable-gmp          \
--enable-bootstrap --enable-host-shared --enable-objc-gc --with-system-zlib \
--enable-libssp --enable-lto --enable-werror --with-zstd --enable-year2038  \
--enable-libgm2 --enable-vtable-verify --enable-libada --disable-multilib

6. Triggering command line within build flow

Making all in c++20
make[6]: Entering directory
'/archive/Library/Linux/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20'
/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile
/home/SETUP/GNU/gcc/BUILD/./gcc/xgcc -shared-libgcc
-B/home/SETUP/GNU/gcc/BUILD/./gcc -nostdinc++
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include 
 -fno-checking -I/home/SETUP/GNU/gcc/LATEST/libstdc++-v3/../libgcc
-I/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/SETUP/GNU/gcc/LATEST/libstdc++-v3/libsupc++   -std=gnu++20 -prefer-pic
-D_GLIBCXX_SHARED -fno-implicit-templates -fvtable-verify=std
-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi=19 -Werror -fdiagnostics-show-location=once  
-ffunction-sections -fdata-sections  -frandom-seed=tzdb.lo 
-fimplicit-templates -g -pipe -march=native -O2 -fPIC -fomit-frame-pointer
-D_GNU_SOURCE -fcf-protection -mshstk -I. -c
../../../../../LATEST/libstdc++-v3/src/c++20/tzdb.cc
libtool: compile:  /home/SETUP/GNU/gcc/BUILD/./gcc/xgcc -shared-libgcc
-B/home/SETUP/GNU/gcc/BUILD/./gcc -nostdinc++
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
/usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include
-fno-checking -I/home/SETUP/GNU/gcc/LATEST/libstdc++-v3/../libgcc
-I/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/SETUP/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/SETUP/GNU/gcc/LATEST/libstdc++-v3/libsupc++ -std=gnu++20
-D_GLIBCXX_SHARED -fno-implicit-templates -fvtable-verify=std
-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi=19 -Werror -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=tzdb.lo -fimplicit-templates
-g -pipe -march=native -O2 -fPIC -fomit-frame-pointer -D_GNU_SOURCE
-fcf-protection -mshstk -I. -c
../../../../../LATEST/libstdc++-v3/src/c++20/tzdb.cc  -fPIC -DPIC
-D_GLIBCXX_SHARED -o tzdb.o
{standard input}: Assembler messages:
{standard input}:131506: Error: symbol `_GLOBAL__sub_I.00099_tzdb.cc' is
already defined
make[6]: *** [Makefile:754: tzdb.lo] Error 1
make[6]: Leaving directory
'/archive/Library/Linux/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src/c++20'
make[5]: *** [Makefile:797: all-recursive] Error 1
make[5]: Leaving directory
'/archive/Library/Linux/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3/src'
make[4]: *** [Makefile:577: all-recursive] Error 1
make[4]: Leaving directory
'/archive/Library/Linux/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3'
make[3]: *** [Makefile:502: all] Error 2
make[3]: Leaving directory
'/archive/Library/Linux/GNU/gcc/BUILD/x86_64-pc-linux-gnu/libstdc++-v3'
make[2]: *** [Makefile:16790: all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory '/archive/Library/Linux/GNU/gcc/BUILD'
make[1]: *** [Makefile:26117: stage1-bubble] Error 2
make[1]: Leaving directory '/archive/Library/Linux/GNU/gcc/BUILD'
make: *** [Makefile:1100: all] Error 2
root:/home/SETUP/GNU/gcc/BUILD>

7. Assembler as per binutils 2.43.1

root:/home/SETUP/GNU/gcc/BUILD> as --version
GNU assembler (GNU Binutils) 2.43.1
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-pc-linux-gnu'.
root:/home/SETUP/GNU/gcc/BUILD>

Reply via email to