Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775134 - net-dns/mydns-1.2.8.31-r2 - fails to build with -fno-common or gcc-10
Summary: net-dns/mydns-1.2.8.31-r2 - 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: 2021-03-09 21:06 UTC by Toralf Förster
Modified: 2021-03-11 08:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.85 KB, text/plain)
2021-03-09 21:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.37 KB, text/plain)
2021-03-09 21:06 UTC, Toralf Förster
Details
environment (environment,63.49 KB, text/plain)
2021-03-09 21:06 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.81 KB, application/x-bzip)
2021-03-09 21:06 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,16.58 KB, application/x-bzip)
2021-03-09 21:06 UTC, Toralf Förster
Details
net-dns:mydns-1.2.8.31-r2:20210309-203050.log (net-dns:mydns-1.2.8.31-r2:20210309-203050.log,35.33 KB, text/plain)
2021-03-09 21:06 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.20 KB, application/x-bzip)
2021-03-09 21:06 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 2021-03-09 21:06:08 UTC
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color  -finline-functions -funsigned-char  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mydnscheck check.o util.o ../../src/lib/libmydns.a ../../lib/libmydnsutil.a  -L/usr/lib64 -lpq -L/usr/lib64 -lssl -lcrypto  -lnsl -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -finline-functions -funsigned-char -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o mydnscheck check.o util.o  -Wl,--as-needed ../../src/lib/libmydns.a ../../lib/libmydnsutil.a -L/usr/lib64 -lpq -lssl -lcrypto -lnsl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../lib/libmydnsutil.a(conf.o):(.bss+0x0): multiple definition of `Conf'; util.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_systemd-20210303-131616

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar  9 20:20:53 UTC 2021

emerge -qpvO net-dns/mydns
[ebuild  N    ] net-dns/mydns-1.2.8.31-r2  USE="nls postgres ssl -alias -debug -mysql -static -status"
Comment 1 Toralf Förster gentoo-dev 2021-03-09 21:06:09 UTC
Created attachment 690357 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-09 21:06:11 UTC
Created attachment 690360 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-09 21:06:12 UTC
Created attachment 690363 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-09 21:06:14 UTC
Created attachment 690366 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-09 21:06:15 UTC
Created attachment 690369 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-09 21:06:16 UTC
Created attachment 690372 [details]
net-dns:mydns-1.2.8.31-r2:20210309-203050.log
Comment 7 Toralf Förster gentoo-dev 2021-03-09 21:06:17 UTC
Created attachment 690375 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-03-11 08:37:11 UTC
The bug has been closed via the following commit(s):

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

commit 3e14cd8f9d3511f0bad52aaf5e7310222072d75f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-11 08:31:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-11 08:31:58 +0000

    net-dns/mydns: workaround GCC 10 failure
    
    Closes: https://bugs.gentoo.org/775134
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/mydns/mydns-1.2.8.31-r2.ebuild | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)