Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914354 - dev-debug/lldb-16.0.6 fails to compile with clang LTO
Summary: dev-debug/lldb-16.0.6 fails to compile with clang LTO
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2023-09-17 13:54 UTC by Arniii
Modified: 2024-03-07 18:57 UTC (History)
0 users

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


Attachments
build log produced by emerge (build.log.xz,35.34 KB, application/x-xz)
2023-09-17 17:18 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2023-09-17 13:54:15 UTC
with clang's LTO-thin fails : 
log:
http://0x0.st/HOaz.log

without LTO compiles successfully.
Comment 1 Arniii 2023-09-17 17:18:41 UTC
Created attachment 870818 [details]
build log produced by emerge
Comment 2 Arniii 2023-09-17 17:19:37 UTC
possibly a duplicate of 
https://bugs.gentoo.org/858389
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-18 08:33:41 UTC
Please always attach logs
Comment 4 Larry the Git Cow gentoo-dev 2024-03-07 18:55:40 UTC
The bug has been referenced in the following commit(s):

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

commit 127dc03a3c8fa58347375f41795635594a47b2c6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-07 18:54:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-07 18:54:09 +0000

    dev-debug/lldb: filter LTO (ODR violations)
    
    Bug: https://github.com/llvm/llvm-project/issues/83636
    Bug: https://bugs.gentoo.org/914354
    Closes: https://bugs.gentoo.org/858389
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/lldb/lldb-15.0.7.ebuild             | 5 ++++-
 dev-debug/lldb/lldb-16.0.6-r1.ebuild          | 5 ++++-
 dev-debug/lldb/lldb-16.0.6.ebuild             | 5 ++++-
 dev-debug/lldb/lldb-17.0.6.ebuild             | 5 ++++-
 dev-debug/lldb/lldb-18.1.0.ebuild             | 5 ++++-
 dev-debug/lldb/lldb-19.0.0.9999.ebuild        | 5 ++++-
 dev-debug/lldb/lldb-19.0.0_pre20240302.ebuild | 5 ++++-
 7 files changed, 28 insertions(+), 7 deletions(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 18:57:50 UTC
I dunno what this was about, tbh, but filtered for now. Interestingly, nobody else has hit this?