[Trilinos-Users] gcc 4.7 compile error for zoltan package

Andre Massing massing at simula.no
Sun Aug 26 16:25:47 MDT 2012


Hi!

I just tried to compile some of the newest trilinos packages and
got the following compile error when zoltan was compiled on a Fedora
17 system using the gcc 4.7 compiler (after defining the FORCE_INLINE
macro in the zoltan source, the package compiles fine, but I
unsure what a proper fix should look like):

[ 27%] Building C object
packages/zoltan/src/CMakeFiles/zoltan.dir/zz/murmur3.c.o
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
warning: always_inline function might not be inlinable [-Wattributes]
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:45:41:
warning: always_inline function might not be inlinable [-Wattributes]
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:
In function ?MurmurHash3_x86_32?:
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:45:41:
error: inlining failed in call to always_inline ?fmix32?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:121:6:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:
In function ?MurmurHash3_x86_128?:
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:218:14:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:219:14:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:220:14:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:221:14:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:
In function ?MurmurHash3_x64_128?:
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:304:6:
error: called from here
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:58:41:
error: inlining failed in call to always_inline ?fmix64?: function
body can be overwritten at link time
/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/packages/zoltan/src/zz/murmur3.c:305:6:
error: called from here
make[2]: ***
[packages/zoltan/src/CMakeFiles/zoltan.dir/zz/murmur3.c.o] Error 1
make[2]: Leaving directory
`/home/andre/Work/software/FEniCS-dependencies/tmp/src/trilinos-10.12.2-Source/dorsal_build_dir'
make[1]: *** [packages/zoltan/src/CMakeFiles/zoltan.dir/all] Error 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20120827/9fb0ebd2/attachment.bin 


More information about the Trilinos-Users mailing list