Version 6.5 - 6.15.1 GCC compile failure

Sean Porterfield linuxfromscratch at
Wed Dec 2 15:28:46 PST 2009

> Sean Porterfield wrote:
>> dummy.log ends with:
>> /usr/bin/ld: : No such file: No such file or directory
>> collect2: ld returned 1 exit status
> This says that ld was not given a file named ' ' to link. That's
> quite odd. Or maybe not. Were there two spaces in that message?
> IOW, one space, like this "/usr/bin/ld: : No..." or
> two spaces, like this     "/usr/bin/ld:  : No..."?

Definitely one space.

> If the former, then it was passed a parameter which was the empty
> string, if the latter, then a one space file name. Either one is
> pretty weird.

> What does
> $ gcc -dumpspecs
> produce?

A lot of text ;) which is one of the reasons I started off my post
saying I don't know how to copy/paste with my VirtualBox system.

More information about the lfs-support mailing list