Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 889731 Details for
Bug 926350
dev-libs/libgudev-238-r1 fails to build with clang-18: error: unknown argument: '-export-dynamic'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libgudev -238-r1-export_dynamic.patch
libgudev-238-r1-export_dynamic.patch (text/plain), 1.08 KB, created by
Frank Sager
on 2024-04-07 15:59:05 UTC
(
hide
)
Description:
libgudev -238-r1-export_dynamic.patch
Filename:
MIME Type:
Creator:
Frank Sager
Created:
2024-04-07 15:59:05 UTC
Size:
1.08 KB
patch
obsolete
>From a354fcbb911220965f737d38fefe700f7b941cf8 Mon Sep 17 00:00:00 2001 >From: Khem Raj <raj.khem@gmail.com> >Date: Tue, 16 Jan 2024 12:02:46 -0800 >Subject: [PATCH] meson: Pass --export-dynamic option to linker > >Bypass the compiler driver trying to comprehend and translate it for >linker, since its not clear what the right behavior should be, gcc seems >to translate it into --export-dynamic but clang 18+ rejects it > >| x86_64-yoe-linux-clang: error: unknown argument: '-export-dynamic' > >also see [1] > >This makes it work as intended across gcc and clang > >[1] https://discourse.llvm.org/t/clang-option-export-dynamic-parse-to-e-xport-dynamic-error/72454 >Signed-off-by: Khem Raj <raj.khem@gmail.com> >--- > gudev/meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/gudev/meson.build b/gudev/meson.build >index e904203..3ed580b 100644 >--- a/gudev/meson.build >+++ b/gudev/meson.build >@@ -33,7 +33,7 @@ libgudev_c_args = [ > ] > > libgudev_link_args = [ >- '-export-dynamic', >+ '-Wl,--export-dynamic', > '-Wl,--version-script,@0@/libgudev-1.0.sym'.format(top_srcdir), > ] > >-- >GitLab >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 926350
:
886897
| 889731