Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 883028 Details for
Bug 922494
sys-devel/gcc fails to build with -flto -fuse-linker-plugin
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove-linker-plugin-check.patch
remove-linker-plugin-check.patch (text/plain), 1.04 KB, created by
stefan11111
on 2024-01-24 10:33:58 UTC
(
hide
)
Description:
remove-linker-plugin-check.patch
Filename:
MIME Type:
Creator:
stefan11111
Created:
2024-01-24 10:33:58 UTC
Size:
1.04 KB
patch
obsolete
>diff --git a/gcc-13-20240113/gcc/gcc.cc b/gcc-13-20240113/gcc/gcc.cc >index 7f93660..40aa95b 100644 >--- a/gcc/gcc.cc >+++ b/gcc/gcc.cc >@@ -1077,7 +1077,7 @@ proper position among the other output files. */ > -fuse-linker-plugin if the linker used understands -plugin. */ > > /* The linker has some plugin support. */ >-#if HAVE_LTO_PLUGIN > 0 >+ > /* The linker used has full plugin support, use LTO plugin by default. */ > #if HAVE_LTO_PLUGIN == 2 > #define PLUGIN_COND "!fno-use-linker-plugin:%{!fno-lto" >@@ -1097,11 +1097,6 @@ proper position among the other output files. */ > %{flinker-output=*:-plugin-opt=-linker-output-known} \ > %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} \ > }" PLUGIN_COND_CLOSE >-#else >-/* The linker used doesn't support -plugin, reject -fuse-linker-plugin. */ >-#define LINK_PLUGIN_SPEC "%{fuse-linker-plugin:\ >- %e-fuse-linker-plugin is not supported in this configuration}" >-#endif > > /* Linker command line options for -fsanitize= early on the command line. */ > #ifndef SANITIZER_EARLY_SPEC
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 922494
:
882624
|
882625
|
882997
|
882998
|
882999
| 883028