Bug 2150854

Summary: clang-14.0.6 should apply llvm#55560 patch
Product: Red Hat Enterprise Linux 9 Reporter: euroford
Component: clangAssignee: Timm Bäder <tbaeder>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: fweimer, jchecahi, mprchlik, sipoyare, tbaeder
Target Milestone: rcKeywords: Bugfix, Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2151465 (view as bug list) Environment:
Last Closed: 2023-01-02 11:38:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2151465    

Description euroford 2022-12-05 12:51:00 UTC
Description of problem:
when compile chromium-108, met the following error:
ld.lld: error: undefined symbol: void std::__cxx11::basic_string<char16_t, std::char_traits<char16_t>, std::allocator<char16_t> >::_M_construct<char16_t const*>(char16_t const*, char16_t const*, std::forward_iterator_tag)

Version-Release number of selected component (if applicable):
clang-14.0.6-1.el9

upstream has already fix it.

https://github.com/llvm/llvm-project/issues/55560
https://github.com/kwizart/llvm-project/commit/c081bf4098c729afacf20303cc9df62bf13c3362

please add this patch to clang-14.0.6.

Comment 1 euroford 2022-12-06 12:40:53 UTC
It works.
rpmbuild/RPMS/aarch64/chromium-freeworld-108.0.5359.94-1.el9.aarch64.rpm

Comment 2 Timm Bäder 2022-12-06 13:23:26 UTC
I haven't actually pushed an update yet, are you maybe using clang 15 now?

Comment 3 euroford 2022-12-06 15:53:37 UTC
(In reply to Timm Bäder from comment #2)
> I haven't actually pushed an update yet, are you maybe using clang 15 now?

I just apply this patch to clang-14.0.6-1.el9, it works.
clang 15 should work too, upstream fixed it.

Comment 4 Timm Bäder 2022-12-06 15:57:49 UTC
(In reply to euroford from comment #3)
> (In reply to Timm Bäder from comment #2)
> > I haven't actually pushed an update yet, are you maybe using clang 15 now?
> 
> I just apply this patch to clang-14.0.6-1.el9, it works.
> clang 15 should work too, upstream fixed it.

Ah okay, thanks for the clarification. I am aware of the fix, we have it in Fedora already, I'll backport it to RHEL 9.1.

Comment 8 Timm Bäder 2023-01-02 11:38:31 UTC

*** This bug has been marked as a duplicate of bug 2151465 ***