I seem to have managed to fubar an amd64 multiboot machine I have as it fails
building gcc-4.7.3 and virtualbox.

Other amd64 machines are fine.

It looks like building anything with the -m 32 switch doesn't work
because ld doesn't like the libraries /lib/libc.so.6 and
/usr/lib/libc_nonshared.a.

I'm not sure why it's looking in those directories instead of /lib32 and
/usr/lib32 though since /lib is a symlink to /lib64 and /usr/lib is a
symlink to /usr/lib64.

The errors are the same:

/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /lib/libc.so.6
when searching for /lib/libc.so.6
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find /lib/libc.so.6
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible
/usr/lib/libc_nonshared.a when searching for /usr/lib/libc_nonshared.a
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find /usr/lib/libc_nonshared.a

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
#

Anyone seen this before?

Or have any suggestions?

Thanks,

Todd

Reply via email to