Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706982 - net-dialup/dwun-0.96e-r4 : fails to build with -fno-common or gcc-10
Summary: net-dialup/dwun-0.96e-r4 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:54 UTC by Toralf Förster
Modified: 2020-05-17 11:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-28 18:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.36 KB, text/plain)
2020-01-28 18:54 UTC, Toralf Förster
Details
environment (environment,46.59 KB, text/plain)
2020-01-28 18:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.81 KB, application/x-bzip)
2020-01-28 18:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.54 KB, application/x-bzip)
2020-01-28 18:54 UTC, Toralf Förster
Details
net-dialup:dwun-0.96e-r4:20200128-174143.log (net-dialup:dwun-0.96e-r4:20200128-174143.log,12.16 KB, text/plain)
2020-01-28 18:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.02 KB, application/x-bzip)
2020-01-28 18:54 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-28 18:54:15 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -c disconnect.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -c state.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -pipe -march=native -fno-common -c compat.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o dwun  main.o ipc.o network.o child.o util.o auth.o item.o socket.o buffer.o exec.o rcfile.o connect.o disconnect.o state.o compat.o  -lnsl -lcrypt 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ipc.o:(.bss+0x0): multiple definition of `MYLOG_OPTIONS'; main.o:(.bss+0xd0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: network.o:(.bss+0x0): multiple definition of `MYLOG_OPTIONS'; main.o:(.bss+0xd0): first defined here

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

  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

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

emerge -qpvO net-dialup/dwun
[ebuild  N    ] net-dialup/dwun-0.96e-r4
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:54:18 UTC
Created attachment 606994 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:54:21 UTC
Created attachment 606996 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:54:25 UTC
Created attachment 606998 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:54:28 UTC
Created attachment 607000 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:54:31 UTC
Created attachment 607002 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:54:34 UTC
Created attachment 607004 [details]
net-dialup:dwun-0.96e-r4:20200128-174143.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:54:37 UTC
Created attachment 607006 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-05-17 11:09:23 UTC
The bug has been closed via the following commit(s):

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

commit e432f4606c7ec51dfce00b648b76fdab8263ebd6
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-17 11:08:20 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-17 11:09:19 +0000

    net-dialup/dwun: Fix building with CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/706982
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-dialup/dwun/dwun-0.96e-r4.ebuild              |  4 ++-
 net-dialup/dwun/files/dwun-0.96e-fno-common.patch | 41 +++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)