[Bug 289497] devel/linux-rl9-devtools: gcc fails: Cannot open "/usr/libexec/gcc/x86_64-redhat-linux/11/liblto_plugin.so"

[email protected]
Newsgroups gmane.os.freebsd.devel.emulation
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289497

Yuri Victorovich <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Yuri Victorovich <[email protected]> ---
The same run w/out LTO also can't find files:

# gcc x.cpp -fno-lto
/usr/local/bin/ld: cannot find
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crt1.o: No such file or
directory
/usr/local/bin/ld: cannot find
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crti.o: No such file or
directory
/usr/local/bin/ld: cannot find /usr/lib/gcc/x86_64-redhat-linux/11/crtbegin.o:
No such file or directory
/usr/local/bin/ld: cannot find -lgcc: No such file or directory
/usr/local/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/local/bin/ld: cannot find -lc: No such file or directory
/usr/local/bin/ld: cannot find -lgcc: No such file or directory
/usr/local/bin/ld: cannot find -lgcc_s: No such file or directory
/usr/local/bin/ld: cannot find /usr/lib/gcc/x86_64-redhat-linux/11/crtend.o: No
such file or directory
/usr/local/bin/ld: cannot find
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../lib64/crtn.o: No such file or
directory
collect2: error: ld returned 1 exit status

It attempted to use FreeBSD's ld /usr/local/bin/ld instead of the Linux one
/usr/bin/ld for some reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.