[Debian-med-packaging] Bug#966214: vienna-rna: FTBFS with GCC 10: multiple definition of ... due to -fno-common

Andreas Beckmann anbe at debian.org
Fri Jul 24 20:03:25 BST 2020


Source: vienna-rna
Version: 2.4.14+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Hi,

vienna-rna started to FTBFS when GCC 10 was made the default compiler:

gcc -I./../../src/ViennaRNA -I./../../src -I/usr/include/json-c/ -I/usr/include/libsvm/  -Wl,-z,relro -o Kinfold baum.o cache.o globals.o main.o nachbar.o cmdline.o -fno-strict-aliasing -flto -L./../../src/ViennaRNA -lRNA -fopenmp -lgsl -lgslcblas -lmpfr -lgmp -lm 
/usr/bin/ld: globals.o:(.bss+0x0): multiple definition of `GSV'; baum.o:(.bss+0x0): first defined here
/usr/bin/ld: globals.o:(.bss+0x60): multiple definition of `GAV'; baum.o:(.bss+0x60): first defined here
/usr/bin/ld: globals.o:(.bss+0x8c0): multiple definition of `GTV'; baum.o:(.bss+0x8c0): first defined here
/usr/bin/ld: main.o:(.bss+0x0): multiple definition of `GSV'; baum.o:(.bss+0x0): first defined here
/usr/bin/ld: main.o:(.bss+0x60): multiple definition of `GAV'; baum.o:(.bss+0x60): first defined here
/usr/bin/ld: main.o:(.bss+0x8c0): multiple definition of `GTV'; baum.o:(.bss+0x8c0): first defined here
/usr/bin/ld: nachbar.o:(.bss+0x0): multiple definition of `GSV'; baum.o:(.bss+0x0): first defined here
/usr/bin/ld: nachbar.o:(.bss+0x60): multiple definition of `GAV'; baum.o:(.bss+0x60): first defined here
/usr/bin/ld: nachbar.o:(.bss+0x8c0): multiple definition of `GTV'; baum.o:(.bss+0x8c0): first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [Makefile:485: Kinfold] Error 1

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 Debian-med-packaging mailing list