Wild guess. We build 32 bit mode on x86_64. Maybe you don't have the 32 bit versions of the libraries?

--dave

Kelvin Tian <kevinn.tian@gmail.com> wrote on 09/28/2010 10:15:57 AM:
>
>     I just wonder if anyone has met this problem when build Jikes. I'm
> trying to build Jikes on a new machine (dual quad-core Intel Nehalem),
> but it keeps throwing the following error:
>
> build-bootloader:
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-
> suse-linux/bin/ld:
> skipping incompatible
> /usr/lib64/gcc/x86_64-suse-linux/4.4/libstdc++.so when searching for
> -lstdc++
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-
> suse-linux/bin/ld:
> skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.4/libstdc++.a
> when searching for -lstdc++
>      [exec] /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-
> suse-linux/bin/ld:
> cannot find -lstdc++
>      [exec] collect2: ld returned 1 exit status
>
> I tired to put different version of libstdc++.so in LD_LIBRARY_PATH,
> but the problem remained the same.
> The new machine is Linux 2.6.31.12-0.2-desktop #1 SMP PREEMPT x86_64
> x86_64 x86_64 GNU/Linux
>
> I could build Jikes successfully on an old machine with Linux
> 2.6.22.19-0.1-default #1 SMP x86_64 x86_64 x86_64 GNU/Linux.
>
>  Anyone has similar experiences? Thanks a lot!