Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706684 - app-portage/conf-update-1.0.3-r1 : fails to build with -fno-common or gcc-10
Summary: app-portage/conf-update-1.0.3-r1 : 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: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 17:31 UTC by Toralf Förster
Modified: 2020-12-28 14:16 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.56 KB, text/plain)
2020-01-27 17:31 UTC, Toralf Förster
Details
app-portage:conf-update-1.0.3-r1:20200127-064727.log (app-portage:conf-update-1.0.3-r1:20200127-064727.log,4.40 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,71.04 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
environment (environment,73.50 KB, text/plain)
2020-01-27 17:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.89 KB, application/x-bzip)
2020-01-27 17:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.31 KB, application/x-bzip)
2020-01-27 17:32 UTC, Toralf Förster
Details
conf-update-1.0.3-fno-common.patch (conf-update-1.0.3-fno-common.patch,1.67 KB, patch)
2020-05-17 10:27 UTC, Jeroen Roovers (RETIRED)
Details | Diff

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-27 17:31:56 UTC
x86_64-pc-linux-gnu-gcc $(pkg-config --cflags glib-2.0) -W -Wall -O2 -pipe -march=native -fno-common -c index.c
x86_64-pc-linux-gnu-gcc $(pkg-config --cflags glib-2.0) -W -Wall -O2 -pipe -march=native -fno-common -c modified.c
x86_64-pc-linux-gnu-gcc $(pkg-config --cflags glib-2.0) -W -Wall -O2 -pipe -march=native -fno-common -c config.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o conf-update config.o core.o helpers.o conf-update.o index.o modified.o -lglib-2.0 -lncurses -ltinfo -lmenu  -lcrypto
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: core.o:(.bss+0x0): multiple definition of `config'; config.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: helpers.o:(.bss+0x0): multiple definition of `config'; config.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (uninstalled)
  [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:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 05:26:15 +0000

emerge -qpvO app-portage/conf-update
[ebuild  N    ] app-portage/conf-update-1.0.3-r1  USE="libressl -colordiff"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:31:59 UTC
Created attachment 605334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:32:01 UTC
Created attachment 605336 [details]
app-portage:conf-update-1.0.3-r1:20200127-064727.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:32:04 UTC
Created attachment 605338 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:32:07 UTC
Created attachment 605340 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:32:10 UTC
Created attachment 605342 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:32:13 UTC
Created attachment 605344 [details]
temp.tbz2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-17 10:27:32 UTC
Created attachment 639800 [details, diff]
conf-update-1.0.3-fno-common.patch
Comment 8 Devang M 2020-11-13 04:59:27 UTC
Ran across this bug on gcc-10 and I can verify the patch posted by Jeroen Roovers worked.
Comment 9 Devang M 2020-11-13 05:18:52 UTC
(In reply to Devang M from comment #8)
> Ran across this bug on gcc-10 and I can verify the patch posted by Jeroen
> Roovers worked.

Nope, I take that back.
Comment 10 Torsten Kurbad 2020-11-26 16:15:02 UTC
(In reply to Jeroen Roovers (RETIRED) from comment #7)
> Created attachment 639800 [details, diff] [details, diff]
> conf-update-1.0.3-fno-common.patch

Worked for me w/ gcc 10.2.0-r3
Comment 11 Larry the Git Cow gentoo-dev 2020-12-28 14:16:02 UTC
The bug has been closed via the following commit(s):

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

commit 2f72902c1d4bebe3b907a14edfd9082dadb30edb
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 14:15:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 14:15:32 +0000

    app-portage/conf-update: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/706684
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../conf-update/conf-update-1.0.3-r1.ebuild        | 28 ++++++----
 .../files/conf-update-1.0.3-fno-common.patch       | 64 ++++++++++++++++++++++
 2 files changed, 80 insertions(+), 12 deletions(-)