And, apparently I hadn't refreshed this window for 2 days so I just replied to an outdated message! Sorry for the noise / Mikael
On Fri, Feb 22, 2019 at 4:32 PM Mikael Öhman <micket...@gmail.com> wrote: > Hi Olivier, > > The server I installed from indeed had gcc-c++ installed, so it's > consistent with the error you see. I didn't get any of those lines at all > in my build log (since I didn't get the error). > To be honest, I'm a bit unsure about what system packages should come into > play when bootstrapping toolchains, so I'll avoid guessing any more than > this. > > On Wed, Feb 20, 2019 at 10:18 PM Olivier Mattelaer < > olivier.mattel...@uclouvain.be> wrote: > >> Hi Ole, Mikael, >> >> I actually face the same issue. >> >> The actual error message is this one: >> >> configure: error: in >> `/usr/local/Software/build/lm3-w091/binutils/2.31.1/dummy-/binutils-2.31.1/gold': >> configure: error: C++ preprocessor "/lib/cpp" fails sanity check >> See `config.log' for more details >> yes >> checking whether compiling a cross-assembler... no >> checking for size_t... checking locale.h usability... make[1]: *** >> [configure-gold] Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> >> >> I guess that doing: "yum install gcc-c++" would solve the issue. >> But I have not tested yet. But does it make sense to do that? >> >> Olivier >> >> >> >> >> >> On 20 Feb 2019, at 21:27, Mikael Öhman <micket...@gmail.com> wrote: >> >> Hi Ole, >> >> That still isn't the error; there should be the actual line, doing >> whatever compilation or linking, that failed. They just tend to be >> somewhere in middle of the huge output from the make command (even worse >> with parallel builds). >> You can put the entire log in some pastebin and someone is (probably) >> willing to take a look. >> >> I've built the entire 2019a toolchains on skylake server (with AVX512), >> without any modifications to any configs or blocks (on a virtual machine >> though, but all CPU features were exposed to the VM) >> >> Best regards, Mikael >> >> >> On Wed, Feb 20, 2019 at 8:58 PM Ole Holm Nielsen < >> ole.h.niel...@fysik.dtu.dk> wrote: >> >>> Hi Åke, >>> >>> The make actually fails as shown below. There are hundreds of configure >>> and checking lines above the lines I display, and the first make command >>> fails as shown in the output. >>> >>> Can you suggest anything else to check? Are there issues with AVX512 on >>> Skylake, and if so, how to work around it? >>> >>> FYI, the foss-2018a and foss-2018b toolchains have been built without >>> problems on the Skylake node. >>> >>> Thanks, >>> Ole >>> >>> >>> On 20-02-2019 18:01, Åke Sandgren wrote: >>> > That's not the real problem. >>> > You have to look through that log and figure out what it really is. >>> > I.e., where does the make actually fail. >>> > >>> > On 2/20/19 4:10 PM, Ole Holm Nielsen wrote: >>> >> On 2/20/19 2:45 PM, Åke Sandgren wrote: >>> >>> What is the actual error? Look in >>> >>> /tmp/eb-dyNH9x/easybuild-binutils-2.31.1-20190220.140138.qdBpn.log >>> >> >>> >> It's: >>> >> >>> >> $ tail >>> /tmp/eb-dyNH9x/easybuild-binutils-2.31.1-20190220.140138.qdBpn.log >>> >> config.status: executing default commands >>> >> make[1]: Leaving directory >>> >> `/home/modules/build/binutils/2.31.1/dummy-/binutils-2.31.1' >>> >> make: *** [all] Error 2 >>> >> (at easybuild/tools/run.py:501 in parse_cmd_output) >>> >> == 2019-02-20 14:02:45,435 easyblock.py:2870 WARNING build failed >>> (first >>> >> 300 chars): cmd " env LIBS='-Wl,-rpath=/usr/lib -Wl,-rpath=/usr/lib64' >>> >> make -j 80 CFLAGS="-g -O2 -fPIC" " exited with exit code 2 and >>> output: >>> >> make[1]: Entering directory >>> >> `/home/modules/build/binutils/2.31.1/dummy-/binutils-2.31.1' >>> >> make[1]: Nothing to be done for `all-target'. >>> >> Configuring in ./libiberty >>> >> Config >>> >> == 2019-02-20 14:02:45,435 easyblock.py:288 INFO Closing log for >>> >> application name binutils version 2.31.1 >>> > >>> > >>> >> >>