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.

Reply via email to