[mesa-users] Compiler error with latest SDK and r7624

Warrick Ball wball at astro.physik.uni-goettingen.de
Wed Jun 15 10:38:45 EDT 2016


Hi all,

I tried upgrading my MESA SDK from the 20150908 release to the 20160129 
release and immediately ran into trouble when recompiling MESA r7624.  I 
don't have a problem installing r8118, so I guess this this might be moot. 
And I apologize if I've missed that this is a known issue.  It looks like 
a fairly benign error but I haven't looked into it (since I'm happy to 
stick to the older SDK).

The error output is (log of STDOUT is attached as r7624.log):

../private/net_burn_const_p.f90:473:0:

                    rpar(r_burn_const_P_time_eos) + dble(time1 - time0) / clock_rate
  ^
Error: 'time0' may be used uninitialized in this function 
[-Werror=maybe-uninitialized]
f951: all warnings being treated as errors
make: *** [net_burn_const_p.o] Error 1
makefile:61: recipe for target 'net_burn_const_p.o' failed

/home/astro84/wball/work/compile_test/mesa-r7624/net/make
FAILED

/home/astro84/wball/work/compile_test/mesa-r7624/net
./build_and_test FAILED

Some system info:

$ uname -a
Linux astro84 4.1.15-8-default #1 SMP PREEMPT Wed Jan 20 16:41:00 UTC 2016 
(0e3b3ab) x86_64 x86_64 x86_64 GNU/Linux

$ gfortran -v
Using built-in specs.
COLLECT_GCC=/home/astro84/wball/mesa/sdk_20160129/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/home/astro84/wball/mesa/sdk_20160129/bin/../libexec/gcc/x86_64-pc-linux-gnu/5.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /root/mesasdk-src/gcc/configure CC=gcc 
--build=x86_64-pc-linux-gnu --prefix=/root/mesasdk 
--with-gmp=/root/mesasdk --with-mpfr=/root/mesasdk 
--with-mpc=/root/mesasdk --enable-languages=c,c++,fortran 
--disable-multilib --disable-nls --disable-libsanitizer 
--enable-clocale=generic
Thread model: posix
gcc version 5.3.1 20160129 (GCC)


Cheers,
Warrick



------------
Warrick Ball
Postdoc, Institut für Astrophysik Göttingen
wball at astro.physik.uni-goettingen.de
+49 (0) 551 39 5069
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: r7624.log
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160615/68e92050/attachment.ksh>


More information about the Mesa-users mailing list