Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858392 - dev-util/nvidia-cuda-sdk-11.5.1 fails to compile (lto): {standard input}:120: Error: symbol fatbinData is already defined
Summary: dev-util/nvidia-cuda-sdk-11.5.1 fails to compile (lto): {standard input}:120:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-16 15:40 UTC by Agostino Sarubbo
Modified: 2022-11-19 03:55 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,824.97 KB, text/plain)
2022-07-16 15:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-16 15:40:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/nvidia-cuda-sdk-11.5.1 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-16 15:40:06 UTC
Created attachment 791753 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-16 15:40:08 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


{standard input}:120: Error: symbol `fatbinData' is already defined
{standard input}:173: Error: symbol `fatbinData' is already defined
{standard input}:279: Error: symbol `fatbinData' is already defined
{standard input}:67: Error: symbol `fatbinData' is already defined
lto-wrapper: fatal error: make returned 2 exit status
Comment 3 Larry the Git Cow gentoo-dev 2022-10-18 18:27:50 UTC
The bug has been referenced in the following commit(s):

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

commit d836cd44c1b06bac0d1ad99f8dd9064c400f5312
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-10-18 18:27:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-10-18 18:27:37 +0000

    profiles: last-rite dev-util/nvidia-cuda-sdk
    
    Bug: https://bugs.gentoo.org/722092
    Bug: https://bugs.gentoo.org/749900
    Bug: https://bugs.gentoo.org/762169
    Bug: https://bugs.gentoo.org/840656
    Bug: https://bugs.gentoo.org/845381
    Bug: https://bugs.gentoo.org/858392
    Bug: https://bugs.gentoo.org/866701
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-11-19 03:55:00 UTC
The bug has been closed via the following commit(s):

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

commit aac3cd55032f85ba5a13cf05b631b301d3370c60
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-11-19 03:54:28 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-11-19 03:54:28 +0000

    dev-util/nvidia-cuda-sdk: treeclean
    
    Closes: https://bugs.gentoo.org/722092
    Closes: https://bugs.gentoo.org/749900
    Closes: https://bugs.gentoo.org/762169
    Closes: https://bugs.gentoo.org/840656
    Closes: https://bugs.gentoo.org/845381
    Closes: https://bugs.gentoo.org/858392
    Closes: https://bugs.gentoo.org/866701
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-util/nvidia-cuda-sdk/Manifest                  |   1 -
 dev-util/nvidia-cuda-sdk/metadata.xml              |  12 --
 .../nvidia-cuda-sdk/nvidia-cuda-sdk-11.5.1.ebuild  | 140 ---------------------
 profiles/package.mask                              |   6 -
 4 files changed, 159 deletions(-)