Hi Davide, Åke basically has it right. GCCcore is essentially a controlled replacement for the system compiler, it acts as a GCC layer underneath all "compilers": GCC (which is just a bundle of GCCcore and binutils), iccifort, PGI,... At JSC, we use a HMNS and the GCCCore layer is a home for a lot of tools that are common across all toolchains (things like Xorg, CMake, Autotools,...) so we don't have to reproduce these for all our different compilers.
There are also software packages that will not compile with anything other than GCC, and they also find a home here. In fact as our system evolves, we tend to use GCCcore for a lot of things that are not performance critical. It's a bit tedious to include binutils as a builddep when building at this level, but it is necessary because there is no guarantee the system binutils has the full instruction set for the hardware. In many cases I suspect that not doing it would "just work", but unfortunately that's not true in all cases. Alan On 7 March 2017 at 07:44, Åke Sandgren <[email protected]<mailto:[email protected]>> wrote: One reason is probably that GCCcore is a dep for the intel toolchain, while GCC is not. On 03/06/2017 09:31 PM, Vanzo, Davide wrote: > Hello, > while I was going through the newest easyconfig files that follow the > minimal toolchain paradigm closer than previous releases, I found a > thing I would like to understand. Most of them are built with the > GCCcore toolchain but have binutils defined as build dependency (e.g. > libreadline-7.0-GCCcore-6.3.0.eb). > Would not make more sense to have them built with the > GCC+binutils toolchain instead of GCCcore? > Or do we treat build dependencies separately from the toolchain since > they matter only at build time? > > Thanks! > > -- > Davide Vanzo, PhD > Application Developer > Adjunct Assistant Professor of Chemical and Biomolecular Engineering > Advanced Computing Center for Research and Education (ACCRE) > Vanderbilt University - Hill Center 201 > www.accre.vanderbilt.edu<http://www.accre.vanderbilt.edu> -- Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden Internet: [email protected]<mailto:[email protected]> Phone: +46 90 7866134<tel:%2B46%2090%207866134> Fax: +46 90-580 14<tel:%2B46%2090-580%2014> Mobile: +46 70 7716134<tel:%2B46%2070%207716134> WWW: http://www.hpc2n.umu.se -- Dr. Alan O'Cais E-CAM Software Manager Juelich Supercomputing Centre Forschungszentrum Juelich GmbH 52425 Juelich, Germany Phone: +49 2461 61 5213 Fax: +49 2461 61 6656 E-mail: [email protected]<mailto:[email protected]> WWW: http://www.fz-juelich.de/ias/jsc/EN ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------

