[Debian-mobcom-maintainers] Bug#957465: libosmocore: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:04:43 BST 2020


Package: src:libosmocore
Version: 0.12.1-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/libosmocore_0.12.1-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gan.lo gan.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gan.c  -fPIC -DPIC -o .libs/gan.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o ipa.lo ipa.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0341.lo gsm0341.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c ipa.c  -fPIC -DPIC -o .libs/ipa.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0341.c  -fPIC -DPIC -o .libs/gsm0341.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o apn.lo apn.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsup.lo gsup.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gprs_gea.lo gprs_gea.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c apn.c  -fPIC -DPIC -o .libs/apn.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsup.c  -fPIC -DPIC -o .libs/gsup.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gprs_gea.c  -fPIC -DPIC -o .libs/gprs_gea.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_conv.lo gsm0503_conv.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o oap.lo oap.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_conv.c  -fPIC -DPIC -o .libs/gsm0503_conv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c oap.c  -fPIC -DPIC -o .libs/oap.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0808_utils.lo gsm0808_utils.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm23003.lo gsm23003.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0808_utils.c  -fPIC -DPIC -o .libs/gsm0808_utils.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm23003.c  -fPIC -DPIC -o .libs/gsm23003.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o mncc.lo mncc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c mncc.c  -fPIC -DPIC -o .libs/mncc.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o bts_features.lo bts_features.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include -I../../include   -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o milenage/aes-encblock.lo milenage/aes-encblock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c bts_features.c  -fPIC -DPIC -o .libs/bts_features.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c milenage/aes-encblock.c  -fPIC -DPIC -o milenage/.libs/aes-encblock.o
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -no-undefined -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o libgsmint.la  a5.lo rxlev_stat.lo tlv_parser.lo comp128.lo comp128v23.lo gsm_utils.lo rsl.lo gsm48.lo gsm48_ie.lo gsm0808.lo sysinfo.lo gprs_cipher_core.lo gprs_rlc.lo gsm0480.lo abis_nm.lo gsm0502.lo gsm0411_utils.lo gsm0411_smc.lo gsm0411_smr.lo gsm0414.lo lapd_core.lo lapdm.lo kasumi.lo gsm_04_08_gprs.lo auth_core.lo auth_comp128v1.lo auth_comp128v23.lo auth_milenage.lo milenage/aes-encblock.lo gea.lo milenage/aes-internal.lo milenage/aes-internal-enc.lo milenage/milenage.lo gan.lo ipa.lo gsm0341.lo apn.lo gsup.lo gprs_gea.lo gsm0503_conv.lo oap.lo gsm0808_utils.lo gsm23003.lo mncc.lo bts_features.lo ../../src/libosmocore.la 
libtool: link: ar cr .libs/libgsmint.a .libs/a5.o .libs/rxlev_stat.o .libs/tlv_parser.o .libs/comp128.o .libs/comp128v23.o .libs/gsm_utils.o .libs/rsl.o .libs/gsm48.o .libs/gsm48_ie.o .libs/gsm0808.o .libs/sysinfo.o .libs/gprs_cipher_core.o .libs/gprs_rlc.o .libs/gsm0480.o .libs/abis_nm.o .libs/gsm0502.o .libs/gsm0411_utils.o .libs/gsm0411_smc.o .libs/gsm0411_smr.o .libs/gsm0414.o .libs/lapd_core.o .libs/lapdm.o .libs/kasumi.o .libs/gsm_04_08_gprs.o .libs/auth_core.o .libs/auth_comp128v1.o .libs/auth_comp128v23.o .libs/auth_milenage.o milenage/.libs/aes-encblock.o .libs/gea.o milenage/.libs/aes-internal.o milenage/.libs/aes-internal-enc.o milenage/.libs/milenage.o .libs/gan.o .libs/ipa.o .libs/gsm0341.o .libs/apn.o .libs/gsup.o .libs/gprs_gea.o .libs/gsm0503_conv.o .libs/oap.o .libs/gsm0808_utils.o .libs/gsm23003.o .libs/mncc.o .libs/bts_features.o 
libtool: link: ranlib .libs/libgsmint.a
libtool: link: ( cd ".libs" && rm -f "libgsmint.la" && ln -s "../libgsmint.la" "libgsmint.la" )
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -Wl,--version-script=./libosmogsm.map -version-info 10:0:0 -no-undefined -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o libosmogsm.la -rpath /usr/lib/x86_64-linux-gnu  libgsmint.la -ltalloc -lgnutls 
libtool: link: gcc -shared  -fPIC -DPIC  -Wl,--whole-archive ./.libs/libgsmint.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs /<<PKGBUILDDIR>>/src/.libs/libosmocore.so -ldl -ltalloc -lgnutls  -g -O2 -fstack-protector-strong -Wl,--version-script=./libosmogsm.map -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed   -Wl,-soname -Wl,libosmogsm.so.10 -o .libs/libosmogsm.so.10.0.0
libtool: link: (cd ".libs" && rm -f "libosmogsm.so.10" && ln -s "libosmogsm.so.10.0.0" "libosmogsm.so.10")
libtool: link: (cd ".libs" && rm -f "libosmogsm.so" && ln -s "libosmogsm.so.10.0.0" "libosmogsm.so")
libtool: link: ( cd ".libs" && rm -f "libosmogsm.la" && ln -s "../libosmogsm.la" "libosmogsm.la" )
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/gsm'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gsm'
Making all in src/coding
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/coding'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I"../../include" -I"../../include"   -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_interleaving.lo gsm0503_interleaving.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I"../../include" -I"../../include"   -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_mapping.lo gsm0503_mapping.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I"../../include" -I"../../include"   -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_tables.lo gsm0503_tables.c
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I"../../include" -I"../../include"   -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_parity.lo gsm0503_parity.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_tables.c  -fPIC -DPIC -o .libs/gsm0503_tables.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_interleaving.c  -fPIC -DPIC -o .libs/gsm0503_interleaving.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_mapping.c  -fPIC -DPIC -o .libs/gsm0503_mapping.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_parity.c  -fPIC -DPIC -o .libs/gsm0503_parity.o
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I"../../include" -I"../../include"   -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c -o gsm0503_coding.lo gsm0503_coding.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -DBUILDING_LIBOSMOCORE -Wall -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -c gsm0503_coding.c  -fPIC -DPIC -o .libs/gsm0503_coding.o
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DBUILDING_LIBOSMOCORE -Wall -Wl,--version-script=./libosmocoding.map -version-info 1:1:1 -no-undefined -ltalloc -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o libosmocoding.la -rpath /usr/lib/x86_64-linux-gnu gsm0503_interleaving.lo gsm0503_mapping.lo gsm0503_tables.lo gsm0503_parity.lo gsm0503_coding.lo ../libosmocore.la ../gsm/libosmogsm.la ../codec/libosmocodec.la 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/gsm0503_interleaving.o .libs/gsm0503_mapping.o .libs/gsm0503_tables.o .libs/gsm0503_parity.o .libs/gsm0503_coding.o   -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/.libs -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/gsm/.libs -Wl,-rpath -Wl,/<<PKGBUILDDIR>>/src/codec/.libs -ltalloc ../.libs/libosmocore.so ../gsm/.libs/libosmogsm.so ../codec/.libs/libosmocodec.so  -g -O2 -fstack-protector-strong -Wl,--version-script=./libosmocoding.map -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed   -Wl,-soname -Wl,libosmocoding.so.0 -o .libs/libosmocoding.so.0.1.1
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:16: multiple definition of `gsm0503_mcs_crc12'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:16: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:15: multiple definition of `gsm0503_mcs_crc8_hdr'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:15: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:13: multiple definition of `gsm0503_fire_crc40'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:13: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:14: multiple definition of `gsm0503_cs234_crc16'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:14: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:19: multiple definition of `gsm0503_tch_fr_crc3'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:19: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:20: multiple definition of `gsm0503_tch_efr_crc8'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:20: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:21: multiple definition of `gsm0503_amr_crc6'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:21: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:17: multiple definition of `gsm0503_rach_crc6'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:17: first defined here
/usr/bin/ld: .libs/gsm0503_coding.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:18: multiple definition of `gsm0503_sch_crc10'; .libs/gsm0503_parity.o:./src/coding/../../include/osmocom/coding/gsm0503_parity.h:18: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:454: libosmocoding.la] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/coding'
make[2]: *** [Makefile:604: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:408: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:17: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Debian-mobcom-maintainers mailing list