Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707624 - net-fs/nfs-utils-2.4.2-r1 : fails to build with -fno-common or gcc-10
Summary: net-fs/nfs-utils-2.4.2-r1 : 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: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 726940 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-31 17:40 UTC by Toralf Förster
Modified: 2020-06-03 14:19 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,292.85 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
environment (environment,111.35 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.68 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.16 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
net-fs:nfs-utils-2.4.2-r1:20200131-054113.log (net-fs:nfs-utils-2.4.2-r1:20200131-054113.log,80.67 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.98 KB, application/x-bzip)
2020-01-31 17:40 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-31 17:40:29 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -D_GNU_SOURCE -I../../support/include -I../../support/export -D_GNU_SOURCE -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common -c -o mountd-fsloc.o `test -f 'fsloc.c' || echo './'`fsloc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -D_GNU_SOURCE -I../../support/include -I../../support/export -D_GNU_SOURCE -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common -c -o mountd-v4root.o `test -f 'v4root.c' || echo './'`v4root.c
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall  -Wextra  -Werror=strict-prototypes  -Wno-cast-function-type  -fno-strict-aliasing  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o mountd mountd-mountd.o mountd-mount_dispatch.o mountd-auth.o mountd-rmtab.o mountd-cache.o mountd-svc_run.o mountd-fsloc.o mountd-v4root.o ../../support/export/libexport.a ../../support/nfs/libnfs.la ../../support/misc/libmisc.a   -lwrap  -lblkid -ltirpc  -lpthread -lresolv 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Werror=strict-prototypes -Wno-cast-function-type -fno-strict-aliasing -O2 -pipe -march=native -fno-common -Wl,-O1 -o mountd mountd-mountd.o mountd-mount_dispatch.o mountd-auth.o mountd-rmtab.o mountd-cache.o mountd-svc_run.o mountd-fsloc.o mountd-v4root.o  -Wl,--as-needed ../../support/export/libexport.a ../../support/nfs/.libs/libnfs.a ../../support/misc/libmisc.a -lwrap -lblkid -ltirpc -lpthread -lresolv
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../support/export/libexport.a(xtab.o):(.bss+0x0): multiple definition of `v4root_needed'; mountd-v4root.o:(.bss+0x0): 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_no-multilib-20200124-204141

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

  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.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 04:06:20 +0000

emerge -qpvO net-fs/nfs-utils
[ebuild  N    ] net-fs/nfs-utils-2.4.2-r1  USE="ipv6 ldap libmount nfsidmap nfsv4 tcpd uuid -caps -junction -kerberos -nfsdcld -nfsv41 (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:40:32 UTC
Created attachment 609746 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:40:35 UTC
Created attachment 609748 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:40:37 UTC
Created attachment 609750 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:40:40 UTC
Created attachment 609752 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:40:43 UTC
Created attachment 609754 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:40:46 UTC
Created attachment 609756 [details]
net-fs:nfs-utils-2.4.2-r1:20200131-054113.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:40:48 UTC
Created attachment 609758 [details]
temp.tbz2
Comment 8 Paul Jones 2020-05-10 09:11:45 UTC
Upstream patch https://www.spinics.net/lists/linux-nfs/msg76352.html
Comment 9 charles17 2020-05-12 07:39:42 UTC
net-fs/nfs-utils-2.4.3 works with gcc-10.1.0
Comment 10 Ben Kohler gentoo-dev 2020-06-03 14:19:44 UTC
*** Bug 726940 has been marked as a duplicate of this bug. ***