Hi folks,

It turns out that if you try and build GCC 4.9.2 on a Haswell box with
--with-arch=native then the build fails because the assembler in RHEL6.7
doesn't understand some of the instructions GCC emits.

Apparently these are supported by binutils-2.25 and I can see that there
is a GCC-4.9.2-binutils-2.25.eb present in EB but the toolchains don't
use that.

Is there any better way of getting any GCC build to use a version with
binutils-2.25 other than to copy all the GCC eb's and then edit them to
include a dependency on binutils-2.25?

We did see --amend/--try-amend with versionsuffix=-binutils-2.25 but
instead of adding that onto the GCC-4.9.2.eb when resolving dependencies
it seems to just build GCC-4.9.2.eb as
GCC-4.9.2-binutils-2.25.eb (but without the newer binutils) which is the
opposite of what we're trying to achieve.

Shame this only popped up now but the test system I've had to play with
was Sandybridge and (unsurprisingly) that was supported fine in RHEL6.

All the best,
Chris
-- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to