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

--- Comment #17 from Erich Löw <Erich.Loew at outlook dot com> ---
Recompile from scratch with none additional CFLAGS, CCFLAGS et al done

Here the result

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 -O2 -D_GNU_SOURCE -fcf-protection -mshstk -I. -c
../../../../../LATEST/libstdc++-v3/src/c++20/tzdb.cc  -fPIC -DPIC
-D_GLIBCXX_SHARED -o tzdb.o
/tmp/cccvrstu.s: Assembler messages:
/tmp/cccvrstu.s:131733: 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> env | grep FLAG
root:/home/SETUP/GNU/gcc/BUILD> env | grep PIC
root:/home/SETUP/GNU/gcc/BUILD>

Didn't the message says that symbol _GLOBAL__sub_I.00099_tzdb.cc is occurring
more than once and as conseqence the "as" is unhappy?

Q: shall I try to go deeper (even if I'm by far not a compiler
expert/architect, just average Ansi C coder)?

And... very THX till here for our very interesting discussion :-)

Reply via email to