Here's the SaltStack configuration we use to install the correct packages
on our CI virtual machines (which run Ubuntu 14.0, I think).
Maybe you're missing the "g++" package for 32 bit support?
Daz
g++:
pkg:
- installed
g++-multilib:
pkg:
- installed
gcc-multilib:
pkg:
- installed
gobjc-multilib:
pkg:
- installed
gobjc++-multilib:
pkg:
- installed
clang:
pkg:
- installed
gnustep-devel:
pkg:
- installed
make:
pkg:
- installed
/tmp/install-gnustep-libojbc2/install-gnustep-libojbc2.sh:
file:
- managed
- source: salt://build-vm-linux/packages/install-gnustep-libobjc2.sh
- user: root
- group: root
- mode: 755
- makedirs: True
cmd:
- run
- name: /tmp/install-gnustep-libojbc2/install-gnustep-libojbc2.sh
- cwd: /tmp/install-gnustep-libojbc2
- stateful: True
And in case it's useful, here's the spec of a VM that runs the tests ok:
vmadmin@ubuntu4:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
vmadmin@ubuntu4:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Stepping: 3
CPU MHz: 3499.996
BogoMIPS: 6999.99
Virtualization: VT-x
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
On Thu, Sep 4, 2014 at 4:22 AM, Harald Schmitt <[email protected]> wrote:
> Hi,
>
> the test
> "can build with multiple tool chains"
> in class
> org.gradle.nativeplatform.toolchain.MultipleToolChainIntegrationTest
> fails on 64bit Ubuntu with an error
>
> /usr/bin/ld: Inkompatible
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/libstdc++.so wird übersprungen bei
> der Suche nach -lstdc++
> /usr/bin/ld: Inkompatible
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a wird übersprungen bei
> der Suche nach -lstdc++
> /usr/bin/ld: cannot find -lstdc++
> /usr/bin/ld: Inkompatible
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so wird übersprungen bei
> der Suche nach -lgcc_s
> /usr/bin/ld: cannot find -lgcc_s
> /usr/bin/ld: Inkompatible
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/libgcc.a wird übersprungen bei der
> Suche nach -lgcc
> /usr/bin/ld: cannot find -lgcc
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':linkI386MainExecutable'.
> > Linker failed; see the error output for details.
>
> I installed a lot of packages to make all tests in platform-native and
> language-native pass, but this is the last one that fails. Here are the
> packages:
> gcc-4.8-multilib
> g++-4.8-multilib
> gobjc-4.8
> gobjc++-4.8
> clang-3.5
> gobjc-4.8-multilib
> gobjc++-4.8-multilib
> gnustep-devel
>
> Did I miss to install something on my system or is it expected not to
> work? Is there a @Requires Annotation missing?
>
> Best regards,
> Harald
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
--
Darrell (Daz) DeBoer
http://www.gradleware.com