[overture] Re: building V26 on fedora24

  • From: Bill Henshaw <wdhenshaw@xxxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Mon, 10 Oct 2016 11:17:09 -0400

Hi Dan,
   Thanks very much for the installation notes. Something usually breaks
with new versions of the compiler. I am not yet up to 6.2

...Bill

On Mon, Oct 10, 2016 at 10:30 AM, Dan Kokron <dkokron@xxxxxxxxx> wrote:

All,

Here is my experience getting Overture-26 to build after upgrading from
fedora22 to fedora24.

uname -a
Linux XXXXXX 4.7.4-200.fc24.x86_64 #1 SMP Thu Sep 15 18:42:09 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux

gcc --version
gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)

I had to force GCC to use ANSI standard by adding the -ansi flag
grep -n ansi configure
1475:      $line =~ s/cc_FLAGS = .*/cc_FLAGS = -fPIC -ansi/;
1479:        $line =~ s/CC_FLAGS = .*/CC_FLAGS = -fPIC -ansi/;

./configure linux cc=gcc CC=g++ FC=gfortran precision=double

I also had to compile TriangleSource.c by hand using a different standard
gcc  -O  -fPIC -std=gnu99  -I/home/xxxxxx/Projects/
Overture/V26/Overture.v26/include -I.   -I/usr -DSHM -ffloat-store  -c
TriangleSource.c

All of the internal tests verify with this build procedure.


Other related posts: