Hello Brett,
> Op 2-sep.-2015, om 14:56 heeft Bode, Brett <[email protected]> het volgende
> geschreven:
>
> How do you handle the binutils dependency for other software (like mpich)? I
> have been using the GCC-4.9.2-binutils-2.25 version on a haswell node.
> Binutils is required to build GCC, but it is also required to build other
> software with GCC. However, those packages do not list binutils (either
> version) as a dependency. My hack to get around the problem was change the
> plain binutils module in a regular “dependency” rather than a
> builddependency. Probably not the best solution but to be honest I think the
> GCC-4.9.x-binutils-2.25 sort of implies that it is included.
No, the GCC-4.9.3-binutils-2.25 means the GCC-4.9.3 was built with
binutils-2.25, but it does NOT provide it:
$ module load GCC/4.9.3-binutils-2.25
$ module list
Currently Loaded Modulefiles:
1) GCC/4.9.3-binutils-2.25
$ which ld
/usr/bin/ld
To also have the newer version 2.25 of binutils, you can use the GNU/4.93-2.25
(or the foss/intel-2015b):
$ module load GNU/4.9.3-2.25
$ module list
Currently Loaded Modulefiles:
1) binutils/2.25-GCC-4.9.3-binutils-2.25
2) GCC/4.9.3-binutils-2.25
3) GNU/4.9.3-2.25
vsc20001@ln02:~> which ld
/path-to-software/binutils/2.25-GCC-4.9.3-binutils-2.25/bin/ld
It actually includes the binutils-2.25 which was built with the
GCC-4.9.3-binutils-2.25 (which was built with the binutils-2.25 which was built
with the system GCC and binutils (if I’m getting it right :-))…
Looking at “eb —list-toolchains”, it just says:
List of known toolchains (toolchainname: module[,module...]):
GCC: GCC
GNU: GCC
So maybe a suggestion to also include binutils for GNU?
— Regards,
Franky