public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
@ 2022-04-22 3:12 szy_mailbox at 126 dot com
2022-04-22 3:29 ` [Bug driver/105340] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: szy_mailbox at 126 dot com @ 2022-04-22 3:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
Bug ID: 105340
Summary: xgcc: fatal error: -fuse-linker-plugin, but
liblto_plugin.so not found
Product: gcc
Version: 7.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: szy_mailbox at 126 dot com
Target Milestone: ---
When compiled with a helloword program, it reports the above error, how to
solve? does it exist in high version gcc?
My gcc version is:
[root]# /home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc
Target: aarch64-unknown-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 7.5.0 (GCC)
which is compiled from source code.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug driver/105340] xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
@ 2022-04-22 3:29 ` pinskia at gcc dot gnu.org
2022-04-22 3:35 ` szy_mailbox at 126 dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-04-22 3:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-04-22
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
First off don't compile in the source tree.
Second can you show the exact command line that is being involved?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug driver/105340] xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
2022-04-22 3:29 ` [Bug driver/105340] " pinskia at gcc dot gnu.org
@ 2022-04-22 3:35 ` szy_mailbox at 126 dot com
2022-04-22 3:41 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: szy_mailbox at 126 dot com @ 2022-04-22 3:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
--- Comment #2 from okay <szy_mailbox at 126 dot com> ---
[root]# cat main.c
int main()
{
return 0;
}
[root]# /home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc -o main main.c
xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug driver/105340] xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
2022-04-22 3:29 ` [Bug driver/105340] " pinskia at gcc dot gnu.org
2022-04-22 3:35 ` szy_mailbox at 126 dot com
@ 2022-04-22 3:41 ` pinskia at gcc dot gnu.org
2022-04-22 3:49 ` szy_mailbox at 126 dot com
2022-04-22 3:56 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-04-22 3:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|WAITING |RESOLVED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>/home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc
Invoking xgcc without any -B is not very useful. You either need to install GCC
before running or use a few -B options to get the correct directories.
This is not normal way of running GCC either.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug driver/105340] xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
` (2 preceding siblings ...)
2022-04-22 3:41 ` pinskia at gcc dot gnu.org
@ 2022-04-22 3:49 ` szy_mailbox at 126 dot com
2022-04-22 3:56 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: szy_mailbox at 126 dot com @ 2022-04-22 3:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
--- Comment #4 from okay <szy_mailbox at 126 dot com> ---
When compiling gcc from source code, which parameter should give to configure
script? such as ${BINUTILS_SOURCE_DIR}/configure --prefix=${NATIVE_PREFIX}
--with-sysroot=${CROSS_PREFIX} etc.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug driver/105340] xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
` (3 preceding siblings ...)
2022-04-22 3:49 ` szy_mailbox at 126 dot com
@ 2022-04-22 3:56 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-04-22 3:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to okay from comment #4)
> When compiling gcc from source code, which parameter should give to
> configure script? such as ${BINUTILS_SOURCE_DIR}/configure
> --prefix=${NATIVE_PREFIX} --with-sysroot=${CROSS_PREFIX} etc.
I don't understand your question and questions like these are better answered
on the gcc-help mailing list rather than here.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-22 3:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 3:12 [Bug c/105340] New: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found szy_mailbox at 126 dot com
2022-04-22 3:29 ` [Bug driver/105340] " pinskia at gcc dot gnu.org
2022-04-22 3:35 ` szy_mailbox at 126 dot com
2022-04-22 3:41 ` pinskia at gcc dot gnu.org
2022-04-22 3:49 ` szy_mailbox at 126 dot com
2022-04-22 3:56 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).