|
From: | euloanty at live dot com |
Subject: | [Bug ld/29797] New: error while loading shared libraries: unexpected PLT reloc type 0x00 |
Date: | Wed, 16 Nov 2022 21:10:30 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29797 Bug ID: 29797 Summary: error while loading shared libraries: unexpected PLT reloc type 0x00 Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: euloanty at live dot com Target Milestone: --- #include<cstdio> [[__gnu__::__target__("avx2")]] inline void foo() { puts("avx2\n"); } [[__gnu__::__target__("default")]] inline void foo() { puts("default\n"); } int main() { foo(); } $ g++ -o a a.cc -Ofast -std=c++23 -s -flto $ ./a ./a: error while loading shared libraries: unexpected PLT reloc type 0x00 $ g++ -o a a.cc -Ofast -std=c++23 -s -flto -fuse-ld=gold $ ./a avx2 -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |