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...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
Reported: 2020-01-22 15:07 UTC by Anthony Parsons
Modified: 2020-03-21 23:30 UTC (History)
0 users

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

build log (build.log,37.77 KB, text/plain)
2020-01-22 15:07 UTC, Anthony Parsons

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Parsons 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 gentoo-dev 2020-01-22 19:40:50 UTC
Sent possible fix upstream as:
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):

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

    dev-libs/ocl-icd: tweak for gcc-10, bug #706098
    Reported-by: Anthony Parsons
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Sergei Trofimovich <>

 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(+)