Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708378 - net-wireless/aircrack-ng-1.6 : fails to build with -fno-common or gcc-10
Summary: net-wireless/aircrack-ng-1.6 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-05 18:11 UTC by Toralf Förster
Modified: 2020-06-03 07:53 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.10 KB, text/plain)
2020-02-05 18:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.53 KB, text/plain)
2020-02-05 18:11 UTC, Toralf Förster
Details
environment (environment,140.71 KB, text/plain)
2020-02-05 18:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.58 KB, application/x-bzip)
2020-02-05 18:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.92 KB, application/x-bzip)
2020-02-05 18:11 UTC, Toralf Förster
Details
net-wireless:aircrack-ng-1.6:20200205-061222.log (net-wireless:aircrack-ng-1.6:20200205-061222.log,45.17 KB, text/plain)
2020-02-05 18:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,37.68 KB, application/x-bzip)
2020-02-05 18:11 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-02-05 18:11:36 UTC
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libradiotap.a
libtool: link: ( cd ".libs" && rm -f "libradiotap.la" && ln -s "../libradiotap.la" "libradiotap.la" )
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/libnl3  -Wall -std=gnu99 -fno-strict-aliasing -Wpointer-arith -Wstrict-overflow=2 -Wstrict-prototypes -fvisibility=hidden -Wno-unused-but-set-variable -Wno-array-bounds -O2 -pipe -march=native -fno-common  -release 1.6.0 -no-undefined -Wl,-O1 -Wl,--as-needed -o libaircrack-osdep.la -rpath /usr/lib64 lib/osdep/libaircrack_osdep_la-osdep.lo lib/osdep/libaircrack_osdep_la-network.lo lib/osdep/libaircrack_osdep_la-file.lo lib/osdep/libaircrack_osdep_la-linux.lo lib/osdep/libaircrack_osdep_la-linux_tap.lo lib/osdep/libaircrack_osdep_la-common.lo -lnl-3  -lnl-genl-3 libradiotap.la  -ldl -lm -lduma 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  lib/osdep/.libs/libaircrack_osdep_la-osdep.o lib/osdep/.libs/libaircrack_osdep_la-network.o lib/osdep/.libs/libaircrack_osdep_la-file.o lib/osdep/.libs/libaircrack_osdep_la-linux.o lib/osdep/.libs/libaircrack_osdep_la-linux_tap.o lib/osdep/.libs/libaircrack_osdep_la-common.o  -Wl,--whole-archive ./.libs/libradiotap.a -Wl,--no-whole-archive  -Wl,--as-needed -lnl-3 -lnl-genl-3 -ldl -lm -lduma  -O2 -march=native -Wl,-O1   -Wl,-soname -Wl,libaircrack-osdep-1.6.0.so -o .libs/libaircrack-osdep-1.6.0.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libradiotap.a(radiotap.o):(.bss+0x0): multiple definition of `__packed'; lib/osdep/.libs/libaircrack_osdep_la-linux.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status

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

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

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

  Please see the tracker bug for details.

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
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 <==
Wed, 05 Feb 2020 05:26:57 +0000

emerge -qpvO net-wireless/aircrack-ng
[ebuild  N    ] net-wireless/aircrack-ng-1.6  USE="airdrop-ng airgraph-ng experimental netlink pcre sqlite -libressl" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:11:39 UTC
Created attachment 611872 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:11:42 UTC
Created attachment 611874 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:11:45 UTC
Created attachment 611876 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:11:47 UTC
Created attachment 611878 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:11:50 UTC
Created attachment 611880 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:11:54 UTC
Created attachment 611882 [details]
net-wireless:aircrack-ng-1.6:20200205-061222.log
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:11:56 UTC
Created attachment 611884 [details]
temp.tbz2
Comment 8 Attila Tóth 2020-06-03 07:53:29 UTC
Building with -fcommon by gcc-10 works for me as a workaround, until upstream sorts out its externs in the headers.