This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++ cross distro compilation problem
- From: Ian Lance Taylor <iant at google dot com>
- To: Nick Stokes <randomaccessiterator at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Jan 2011 16:57:37 -0800
- Subject: Re: g++ cross distro compilation problem
- References: <AANLkTi=Et26_0c0sU4S+6b-cA_=YXA2_Mt0tiN3VUTsd@mail.gmail.com>
Nick Stokes <randomaccessiterator@gmail.com> writes:
> The current distro versions of GCC (4.5.0 for login, and 4.1.2 for
> computes) are incompatible and insufficient anyway since we need to
> maintain multiple versions of GCC to address user needs. The idea was
> to install all of 4.3, 4.4 and 4.5 versions on different prefixes
> (/opt/gcc/4.3, /opt/gcc/4.4 and /opt/gcc/4.5, respectively) and NFS
> mount these on the login node for users.
>
> We stage the compilers, install, and test them on the compute nodes.
> Everything seems ok. But on the login node the C++ compiler spits out
> the following errors (for a simple hello world program):
This must have something to do with the different versions of glibc
being used on the different machines. I'm not sure what the exact
problem is, though.
Ian