Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708518 - sys-apps/checkpolicy-3.0 : fails to build with -fno-common or gcc-10
Summary: sys-apps/checkpolicy-3.0 : 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 (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-06 22:21 UTC by Toralf Förster
Modified: 2020-02-06 22:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.62 KB, text/plain)
2020-02-06 22:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,92.76 KB, text/plain)
2020-02-06 22:22 UTC, Toralf Förster
Details
environment (environment,45.81 KB, text/plain)
2020-02-06 22:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.82 KB, application/x-bzip)
2020-02-06 22:22 UTC, Toralf Förster
Details
sys-apps:checkpolicy-3.0:20200206-054018.log (sys-apps:checkpolicy-3.0:20200206-054018.log,2.83 KB, text/plain)
2020-02-06 22:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.29 KB, application/x-bzip)
2020-02-06 22:22 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-06 22:21:57 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -o parse_util.o -c parse_util.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -o policy_define.o -c policy_define.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -o checkpolicy.o -c checkpolicy.c
x86_64-pc-linux-gnu-gcc -o checkpolicy y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o policy_define.o checkpolicy.o -Wl,-O1 -Wl,--as-needed -l:libsepol.a
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: policy_define.o:(.bss+0x28): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: checkpolicy.o:(.bss+0x0): multiple definition of `te_assertions'; y.tab.o:(.bss+0x18): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-test-20200203-215003

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

  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)




ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 06 Feb 2020 04:28:51 +0000

emerge -qpvO sys-apps/checkpolicy
[ebuild  N    ] sys-apps/checkpolicy-3.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:22:00 UTC
Created attachment 612180 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:22:03 UTC
Created attachment 612182 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:22:06 UTC
Created attachment 612184 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:22:08 UTC
Created attachment 612186 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:22:11 UTC
Created attachment 612188 [details]
sys-apps:checkpolicy-3.0:20200206-054018.log
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:22:14 UTC
Created attachment 612190 [details]
temp.tbz2