Bug 2239046
| Summary: | Output of clang++ -print-search-dirs is different on clang 17, breaks Firefox build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson (Red Hat non-Fedora) <awilliam> |
| Component: | clang | Assignee: | Tom Stellard <tstellar> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | airlied, jchecahi, kkleine, npopov, sbergman, sergesanspaille, siddharth.kde, stransky, tbaeder, tstellar, tuliom |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-15 17:22:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Adam Williamson (Red Hat non-Fedora)
2023-09-14 23:49:10 UTC
Firefox bug - https://bugzilla.redhat.com/show_bug.cgi?id=2239047 . I'm testing if I can work around the issue ATM. This is change was made on purpose: https://fedoraproject.org/wiki/Changes/LLVM-17#Detailed_Description Firefox should not be using `clang++ -print-search-dirs` to find the location of libclang.so. This option outputs the compiler search paths which have nothing to do with the location of this library. The fact that it was working before was a coincidence. Isn't there a standard process for finding a specific library on the system? I know cmake an autoconf can do this. Firefox has its own build system. If you think it shouldn't be doing this, we can report it upstream. (In reply to Adam Williamson from comment #3) > Firefox has its own build system. If you think it shouldn't be doing this, > we can report it upstream. Yeah, I think reporting an upstream bug is a good idea. Filed as https://bugzilla.mozilla.org/show_bug.cgi?id=1853280 Thanks. OK, so with that reported, it doesn't look like there's really anything else to do here. Thanks folks. |