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

Bug 707398

Summary: www-client/dillo-3.0.5-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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
temp.tbz2
www-client:dillo-3.0.5-r1:20200129-215122.log

Description Toralf Förster gentoo-dev 2020-01-30 19:03:48 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DDPIDRC_SYS='"/etc/dillo/dpidrc"' -I/usr/local/include  -O2 -pipe -march=native -fno-common -DENABLE_IPV6 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -c dpid_common.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DDPIDRC_SYS='"/etc/dillo/dpidrc"' -I/usr/local/include  -O2 -pipe -march=native -fno-common -DENABLE_IPV6 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -c main.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DDPIDRC_SYS='"/etc/dillo/dpidrc"' -I/usr/local/include  -O2 -pipe -march=native -fno-common -DENABLE_IPV6 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -c misc_new.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -DENABLE_IPV6 -DD_DNS_THREADED -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return  -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -o dpid dpi.o dpi_socket_dir.o dpid.o dpid_common.o main.o misc_new.o ../dpip/libDpip.a ../dlib/libDlib.a 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dpi_socket_dir.o:(.bss+0x0): multiple definition of `dpi_errno'; dpi.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dpid.o:(.bss+0xc8): multiple definition of `dpi_errno'; dpi.o:(.bss+0x0): first defined here

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

  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 <==
Wed, 29 Jan 2020 20:27:01 +0000

emerge -qpvO www-client/dillo
[ebuild  N    ] www-client/dillo-3.0.5-r1  USE="gif ipv6 jpeg libressl png ssl -doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:03:51 UTC
Created attachment 608644 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:03:54 UTC
Created attachment 608646 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:03:57 UTC
Created attachment 608648 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:04:00 UTC
Created attachment 608650 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:04:03 UTC
Created attachment 608652 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:04:05 UTC
Created attachment 608654 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:04:08 UTC
Created attachment 608656 [details]
www-client:dillo-3.0.5-r1:20200129-215122.log
Comment 8 Larry the Git Cow gentoo-dev 2020-01-31 11:39:54 UTC
The bug has been closed via the following commit(s):

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

commit cebb9304294041396e5a8295266864a30bcdb78e
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-31 11:31:57 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-31 11:39:50 +0000

    www-client/dillo: Fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=707398
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 www-client/dillo/dillo-3.0.5-r2.ebuild             |  64 +++++++++++++
 www-client/dillo/dillo-9999.ebuild                 |  13 +--
 .../dillo/files/dillo-3.0.5-fno-common.patch       | 100 +++++++++++++++++++++
 3 files changed, 166 insertions(+), 11 deletions(-)