[Tts-project] Bug#966157: speech-dispatcher-contrib: FTBFS with GCC 10: multiple definition of ... due to -fno-common
Andreas Beckmann
anbe at debian.org
Fri Jul 24 00:04:51 BST 2020
Source: speech-dispatcher-contrib
Version: 0.9.1-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10
Hi,
speech-dispatcher-contrib started to FTBFS when GCC 10 was made the default compiler:
libtool: link: gcc -Wall -g -O2 -fdebug-prefix-map=/build/speech-dispatcher-contrib-0.9.1=. -fstack-protector-strong -Wformat -Werror=format-security -rdynamic -Wl,-z -Wl,relro -Wl,-z -Wl,now -o speech-dispatcher speech_dispatcher-speechd.o speech_dispatcher-
server.o speech_dispatcher-history.o speech_dispatcher-module.o speech_dispatcher-configuration.o speech_dispatcher-parse.o speech_dispatcher-set.o speech_dispatcher-alloc.o speech_dispatcher-compare.o speech_dispatcher-speaking.o speech_dispatcher-options.o
speech_dispatcher-output.o speech_dispatcher-sem_functions.o speech_dispatcher-index_marking.o speech_dispatcher-symbols.o -Wl,--export-dynamic -pthread -pthread ../../src/common/.libs/libcommon.a -ldl -ldotconf -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lc /us
r/lib/x86_64-linux-gnu/libltdl.so -lpthread -lm -pthread
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:184: multiple definition of `element_free_mutex'; speech_dispatcher-speechd.o:./src/server/speechd.h:184: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:199: multiple definition of `MessageQueue'; speech_dispatcher-speechd.o:./src/server/speechd.h:199: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:207: multiple definition of `last_p5_block'; speech_dispatcher-speechd.o:./src/server/speechd.h:207: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:186: multiple definition of `socket_com_mutex'; speech_dispatcher-speechd.o:./src/server/speechd.h:186: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:240: multiple definition of `debug_logfile'; speech_dispatcher-speechd.o:./src/server/speechd.h:240: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:239: multiple definition of `custom_log_kind'; speech_dispatcher-speechd.o:./src/server/speechd.h:239: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:238: multiple definition of `custom_logfile'; speech_dispatcher-speechd.o:./src/server/speechd.h:238: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:237: multiple definition of `logfile'; speech_dispatcher-speechd.o:./src/server/speechd.h:237: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:216: multiple definition of `speechd_sockets_status'; speech_dispatcher-speechd.o:./src/server/speechd.h:216: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:213: multiple definition of `speaking_pipe'; speech_dispatcher-speechd.o:./src/server/speechd.h:213: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:210: multiple definition of `GlobalFDSet'; speech_dispatcher-speechd.o:./src/server/speechd.h:210: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:204: multiple definition of `client_specific_settings'; speech_dispatcher-speechd.o:./src/server/speechd.h:204: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:201: multiple definition of `MessagePausedList'; speech_dispatcher-speechd.o:./src/server/speechd.h:201: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:196: multiple definition of `fd_uid'; speech_dispatcher-speechd.o:./src/server/speechd.h:196: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:194: multiple definition of `language_default_modules'; speech_dispatcher-speechd.o:./src/server/speechd.h:194: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:192: multiple definition of `fd_settings'; speech_dispatcher-speechd.o:./src/server/speechd.h:192: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:185: multiple definition of `output_layer_mutex'; speech_dispatcher-speechd.o:./src/server/speechd.h:185: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:183: multiple definition of `logging_mutex'; speech_dispatcher-speechd.o:./src/server/speechd.h:183: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:182: multiple definition of `speak_thread'; speech_dispatcher-speechd.o:./src/server/speechd.h:182: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:179: multiple definition of `SpeechdStatus'; speech_dispatcher-speechd.o:./src/server/speechd.h:179: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speechd.h:173: multiple definition of `SpeechdOptions'; speech_dispatcher-speechd.o:./src/server/speechd.h:173: first defined here
/usr/bin/ld: speech_dispatcher-server.o:./src/server/speaking.h:37: multiple definition of `resume_requested'; speech_dispatcher-speechd.o:./src/server/speaking.h:37: first defined here
[...]
More information about the corresponding GCC change can be found here:
https://gcc.gnu.org/gcc-10/porting_to.html
"Default to -fno-common"
Andreas
More information about the Tts-project
mailing list