g++ cross distro compilation problem

Ian Lance Taylor iant@google.com
Wed Jan 19 00:57:00 GMT 2011

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.


More information about the Gcc-help mailing list