Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707148 - net-wireless/srslte-19.09 : fails to build with -fno-common or gcc-10
Summary: net-wireless/srslte-19.09 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:42 UTC by Toralf Förster
Modified: 2021-01-18 17:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.54 KB, text/plain)
2020-01-29 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,40.34 KB, text/plain)
2020-01-29 17:42 UTC, Toralf Förster
Details
environment (environment,90.12 KB, text/plain)
2020-01-29 17:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.90 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.90 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details
net-wireless:srslte-19.09:20200128-235120.log (net-wireless:srslte-19.09:20200128-235120.log,184.18 KB, text/plain)
2020-01-29 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.52 KB, application/x-bzip)
2020-01-29 17:42 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-29 17:42:17 UTC
[197/349] : && /usr/bin/cmake -E remove lib/src/common/libsrslte_common.a && /usr/bin/x86_64-pc-linux-gnu-ar qc lib/src/common/libsrslte_common.a  lib/src/common/CMakeFiles/srslte_common.dir/backtrace.c.o lib/src/common/CMakeFiles/srslte_common.dir/crash_handler.c.o lib/src/common/CMakeFiles/srslte_common.dir/gen_mch_tables.c.o lib/src/common/CMakeFiles/srslte_common.dir/threads.c.o lib/src/common/CMakeFiles/srslte_common.dir/version.c.o lib/src/common/CMakeFiles/srslte_common.dir/arch_select.cc.o lib/src/common/CMakeFiles/srslte_common.dir/buffer_pool.cc.o lib/src/common/CMakeFiles/srslte_common.dir/liblte_security.cc.o lib/src/common/CMakeFiles/srslte_common.dir/log_filter.cc.o lib/src/common/CMakeFiles/srslte_common.dir/logger_file.cc.o lib/src/common/CMakeFiles/srslte_common.dir/mac_nr_pcap.cc.o lib/src/common/CMakeFiles/srslte_common.dir/mac_nr_pdu.cc.o lib/src/common/CMakeFiles/srslte_common.dir/mac_pcap.cc.o lib/src/common/CMakeFiles/srslte_common.dir/nas_pcap.cc.o lib/src/common/CMakeFiles/srslte_common.dir/pdu.cc.o lib/src/common/CMakeFiles/srslte_common.dir/pdu_queue.cc.o lib/src/common/CMakeFiles/srslte_common.dir/rlc_pcap.cc.o lib/src/common/CMakeFiles/srslte_common.dir/s1ap_pcap.cc.o lib/src/common/CMakeFiles/srslte_common.dir/security.cc.o lib/src/common/CMakeFiles/srslte_common.dir/snow_3g.cc.o lib/src/common/CMakeFiles/srslte_common.dir/thread_pool.cc.o lib/src/common/CMakeFiles/srslte_common.dir/tti_sync_cv.cc.o lib/src/common/CMakeFiles/srslte_common.dir/zuc.cc.o && /usr/bin/x86_64-pc-linux-gnu-ranlib lib/src/common/libsrslte_common.a && :
[198/349] : && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native -fno-common -Wall -Wno-comment -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable -Wtype-limits -std=c++11 -march=native -mfpmath=sse -mavx2 -DLV_HAVE_AVX2 -DLV_HAVE_AVX -DLV_HAVE_SSE -O3 -fno-trapping-math -fno-math-errno -DBUILD_TYPE_RELEASE -DUSE_GLIBC_IPV6  -Wl,-O1 -Wl,--as-needed    -rdynamic lib/src/phy/ch_estimation/test/CMakeFiles/refsignal_ul_test_all.dir/refsignal_ul_test.c.o  -o lib/src/phy/ch_estimation/test/refsignal_ul_test_all  lib/src/phy/libsrslte_phy.a  lib/src/common/libsrslte_common.a  lib/src/phy/libsrslte_phy.a  -lfftw3f  -lpthread  -lm  -lmbedcrypto && :
FAILED: lib/src/phy/ch_estimation/test/refsignal_ul_test_all 
: && /usr/bin/x86_64-pc-linux-gnu-g++  -O2 -pipe -march=native -fno-common -Wall -Wno-comment -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable -Wtype-limits -std=c++11 -march=native -mfpmath=sse -mavx2 -DLV_HAVE_AVX2 -DLV_HAVE_AVX -DLV_HAVE_SSE -O3 -fno-trapping-math -fno-math-errno -DBUILD_TYPE_RELEASE -DUSE_GLIBC_IPV6  -Wl,-O1 -Wl,--as-needed    -rdynamic lib/src/phy/ch_estimation/test/CMakeFiles/refsignal_ul_test_all.dir/refsignal_ul_test.c.o  -o lib/src/phy/ch_estimation/test/refsignal_ul_test_all  lib/src/phy/libsrslte_phy.a  lib/src/common/libsrslte_common.a  lib/src/phy/libsrslte_phy.a  -lfftw3f  -lpthread  -lm  -lmbedcrypto && :
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/src/phy/libsrslte_phy.a(viterbi37_avx2_16bit.c.o):(.bss+0x20): multiple definition of `Branchtab37_sse2'; lib/src/phy/libsrslte_phy.a(viterbi37_avx2.c.o):(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: lib/src/phy/libsrslte_phy.a(viterbi37_avx2_16bit.c.o):(.bss+0x0): multiple definition of `firstGo'; lib/src/phy/libsrslte_phy.a(viterbi37_avx2.c.o):(.bss+0x0): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200127-214345

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 23:06:26 +0000

emerge -qpvO net-wireless/srslte
[ebuild  N    ] net-wireless/srslte-19.09  USE="-bladerf -simcard -soapysdr -uhd -zeromq"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:42:20 UTC
Created attachment 607514 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:42:23 UTC
Created attachment 607516 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:42:25 UTC
Created attachment 607518 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:42:28 UTC
Created attachment 607520 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:42:31 UTC
Created attachment 607522 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:42:34 UTC
Created attachment 607524 [details]
net-wireless:srslte-19.09:20200128-235120.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:42:37 UTC
Created attachment 607526 [details]
temp.tbz2
Comment 8 Jakov Smolić archtester gentoo-dev 2021-01-18 17:27:25 UTC
Fixed in 20.10.1 [1]

[1] https://github.com/srsLTE/srsLTE/pull/496#issuecomment-630644592