Re: [easybuild] GCC-4.9.3-binutils-2.25 : invalid ELF header

2015-09-01 Thread Ward Poelmans
On Tue, Sep 1, 2015 at 4:44 PM, Backeljauw Franky
 wrote:
>
>
> The one I found back is about "CMake-3.3.0-intel-2014b : problem building”
> also on this mailing list, dated 28 October 2014.
> It was an issue with GPFS 3.5.0-20, currently we have GPFS 4.1.0-8, so it
> could be something ‘similar’…

I've seen too many weird thing happen on a network fs when building
with EB. I strongly recommend that you build only on a local fs or
/dev/shm.

Ward


Re: [easybuild] GCC-4.9.3-binutils-2.25 : invalid ELF header

2015-09-01 Thread Backeljauw Franky
Hello again,

Op 1-sep.-2015, om 16:28 heeft Backeljauw Franky 
> het 
volgende geschreven:

Hi Ward,

Thanks for the last remark! When I built it on the local disk (in /tmp), the 
error did not occur and the build was successful!

That reminds me, I already had a similar issue in the past, but I can’t recall 
when and about what. I’ll try to dig it up…

The one I found back is about "CMake-3.3.0-intel-2014b : problem building” also 
on this mailing list, dated 28 October 2014.
It was an issue with GPFS 3.5.0-20, currently we have GPFS 4.1.0-8, so it could 
be something ‘similar’…

— Franky



Re: [easybuild] GCC-4.9.3-binutils-2.25 : invalid ELF header

2015-09-01 Thread George Tsouloupas

/dev/shm is your friend here :)

I always have this set when building on a machine with enough RAM -- 
credit to Fotis for this :)


EASYBUILD_BUILDPATH=/dev/shm


George.


On 09/01/2015 05:28 PM, Backeljauw Franky wrote:

Hi Ward,

Thanks for the last remark! When I built it on the local disk (in /tmp), the 
error did not occur and the build was successful!

That reminds me, I already had a similar issue in the past, but I can’t recall 
when and about what. I’ll try to dig it up…

— Many thanks,

Franky




Op 1-sep.-2015, om 15:35 heeft Ward Poelmans  het 
volgende geschreven:

On Tue, Sep 1, 2015 at 3:23 PM, Backeljauw Franky
 wrote:

$ readelf -a 
/apps/antwerpen/easybuild/build/GCC/4.9.3/dummy--binutils-2.25/gcc-4.9.3/obj/./gcc/libgcc_s.so.1
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: 
/apps/antwerpen/easybuild/build/GCC/4.9.3/dummy--binutils-2.25/gcc-4.9.3/obj/./gcc/libgcc_s.so.1:
 Failed to read file header

I’m not getting it :-(

What does file or hexdump tell you? Maybe a fs issue?

Ward