Summary: | dev-libs/libgudev-238-r1 fails to build with clang-18: error: unknown argument: '-export-dynamic' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petr Šabata <contyk> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brahmajit.xyz, chris, contyk, fcsager, parona, sandyvujakovicj, systemd |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/30 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 926505 | ||
Attachments: |
build.log
libgudev -238-r1-export_dynamic.patch |
Description
Petr Šabata
2024-03-07 11:06:52 UTC
Created attachment 886897 [details]
build.log
Can confirm that that PR fixes this issue! Created attachment 889731 [details, diff]
libgudev -238-r1-export_dynamic.patch
This is the patch from the previously mentioned PR that I used.
Package built without issue after applying it.
@Frank can you please make a PR with your patch for ::gentoo. I too hit this bug. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2616e2c1a6dc2df57b016df5603225fdcb8fa32 commit f2616e2c1a6dc2df57b016df5603225fdcb8fa32 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2024-05-05 11:45:25 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2024-05-05 11:45:38 +0000 dev-libs/libgudev: Fix clang-18 compatibility Closes: https://bugs.gentoo.org/926350 Signed-off-by: Mart Raudsepp <leio@gentoo.org> .../files/238-clang18-export-dynamic.patch | 37 ++++++++++++++++ dev-libs/libgudev/libgudev-238-r2.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 88 insertions(+) |