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

Bug 707306

Summary: media-libs/icclib-2.14 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: printing
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18402
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
media-libs:icclib-2.14:20200129-185416.log

Description Toralf Förster gentoo-dev 2020-01-29 20:06:51 UTC
libicc.so
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DUNIX -fPIC -c -I/usr/include -o icctest.o icctest.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DUNIX -fPIC -c -I/usr/include -o iccstd.o iccstd.c
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed  -o icctest icctest.o iccstd.o libicc.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: iccstd.o:(.bss+0x0): multiple definition of `icmD65_ary3'; icctest.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: iccstd.o:(.bss+0x20): multiple definition of `icmD50_ary3'; icctest.o:(.bss+0x20): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 18:06:29 +0000

emerge -qpvO media-libs/icclib
[ebuild  N    ] media-libs/icclib-2.14
Comment 1 Toralf Förster gentoo-dev 2020-01-29 20:06:54 UTC
Created attachment 608500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 20:06:56 UTC
Created attachment 608502 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 20:06:59 UTC
Created attachment 608504 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 20:07:02 UTC
Created attachment 608506 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 20:07:05 UTC
Created attachment 608508 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 20:07:08 UTC
Created attachment 608510 [details]
media-libs:icclib-2.14:20200129-185416.log
Comment 7 Larry the Git Cow gentoo-dev 2020-11-26 10:33:02 UTC
The bug has been closed via the following commit(s):

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

commit a854857e471de03b5b2f67b03b835f58db750768
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-26 10:32:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-26 10:32:30 +0000

    media-libs/icclib: fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707306
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/icclib/files/icclib-2.14-fno-common.patch | 17 +++++++++++++++++
 media-libs/icclib/icclib-2.14.ebuild                 |  5 ++++-
 2 files changed, 21 insertions(+), 1 deletion(-)