Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707128

Summary: sys-fs/bindfs-1.14.1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sebastian Pipping <sping>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/mpartel/bindfs/commit/9ad6363e9c1ee463bff7f28454283dd49d0d2e20
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-fs:bindfs-1.14.1:20200128-221829.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 17:37:52 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64   -Wall -O2 -pipe -march=native -fno-common -c -o usermap.o usermap.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/usr/include/fuse -D_FILE_OFFSET_BITS=64   -Wall -O2 -pipe -march=native -fno-common -c -o rate_limiter.o rate_limiter.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o bindfs bindfs.o debug.o permchain.o userinfo.o misc.o usermap.o rate_limiter.o -lfuse -pthread  -pthread 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o bindfs bindfs.o debug.o permchain.o userinfo.o misc.o usermap.o rate_limiter.o -pthread -pthread  -lfuse -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rate_limiter.o:(.rodata+0x58): multiple definition of `rate_limiter_idle_credit'; bindfs.o:(.rodata+0xb8): 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-libressl-20200125-183534

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

  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 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 21:46:57 +0000

emerge -qpvO sys-fs/bindfs
[ebuild  N    ] sys-fs/bindfs-1.14.1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:37:55 UTC
Created attachment 607390 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:37:59 UTC
Created attachment 607392 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:38:01 UTC
Created attachment 607394 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:38:06 UTC
Created attachment 607396 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:38:09 UTC
Created attachment 607398 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:38:11 UTC
Created attachment 607400 [details]
sys-fs:bindfs-1.14.1:20200128-221829.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:38:14 UTC
Created attachment 607402 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-31 22:49:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832192061453ee5446baf86a114ceb9887916112

commit 832192061453ee5446baf86a114ceb9887916112
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-01-31 22:48:26 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-01-31 22:49:11 +0000

    sys-fs/bindfs: 1.14.3 + GCC 10 (-fno-common)
    
    Closes: https://bugs.gentoo.org/707128
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 sys-fs/bindfs/Manifest             |  1 +
 sys-fs/bindfs/bindfs-1.14.3.ebuild | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
Comment 9 Sebastian Pipping gentoo-dev 2020-01-31 22:50:11 UTC
(Fixed by bumping to 1.14.3.)