Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706098 - 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
Summary: dev-libs/ocl-icd-2.2.12-r1 : ld: .libs/libdummy_icd_gen.o:(.data.rel+0x0): mu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-22 15:07 UTC by Enne Eziarc
Modified: 2020-03-21 23:30 UTC (History)
0 users

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


Attachments
build log (build.log,37.77 KB, text/plain)
2020-01-22 15:07 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)