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

Bug 706098

Summary: dev-libs/ocl-icd-2.2.12-r1 : ld: .libs/libdummy_icd_gen.o:(.data.rel+0x0): multiple definition of `master_dispatch'; .libs/libdummy_icd.o:(.bss+0x20): first defined here
Product: Gentoo Linux Reporter: Enne Eziarc <gentoo+bugs>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build log

Description Enne Eziarc 2020-01-22 15:07:42 UTC
Created attachment 603952 [details]
build log

Build log enclosed, it looks to be like the other -fno-common bugs. There doesn't seem to be much sign of life upstream.

Sample error:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libdummy_icd_gen.o:(.data
.rel+0x0): multiple definition of `master_dispatch'; .libs/libdummy_icd.o:(.bss+0x20): first defined here
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-22 19:40:50 UTC
Sent possible fix upstream as: https://github.com/OCL-dev/ocl-icd/pull/10
Comment 2 Larry the Git Cow gentoo-dev 2020-03-21 23:30:58 UTC
The bug has been closed via the following commit(s):

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

commit 3b0142eada144a18e5d1bc521b36ae274e0056d7
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-03-21 23:30:48 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-03-21 23:30:48 +0000

    dev-libs/ocl-icd: tweak for gcc-10, bug #706098
    
    Reported-by: Anthony Parsons
    Closes: https://bugs.gentoo.org/706098
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-libs/ocl-icd/files/ocl-icd-2.2.12-gcc-10.patch | 39 ++++++++++++++++++++++
 dev-libs/ocl-icd/ocl-icd-2.2.12-r1.ebuild          |  2 ++
 2 files changed, 41 insertions(+)