booleandomain wrote:
On GNU/Linux crti.o comes from glibc, not gcc. It is normally found in /usr/lib.On my system that file resides in /usr/lib64/crti.o.I also tried looking at /usr/local/x86_64-pc-linux-gnu/bin/ld --verbose | grep SEARCH_DIR but SEARCH_DIR("/usr/lib64") is there.
Seemingly you have "visionary capabilities" because you already tried what I suggested... Are you sure that this 'ld' wasn't configured using '--with-sysroot=$sysroot' or something special?