<html>#2492: h5check fails to build
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td></td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td>ET_2020_05</td></tr>
<tr><td style='text-align:right'>  Version:</td><td>ET_2020_05</td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>blocker</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Lucas Timotheo Sanches):</p>
<p>Hey Roland, sorry for the delay. Looks like the culprit is indeed <code>CPPFLAGS=-D_GNU_SOURCE</code>. Here are my compiler flags from simfactory’s optionlist file:</p>
<div class="codehilite"><pre><span></span>CFLAGS   = -g -std=gnu11 -D_GNU_SOURCE -fcommon
CXXFLAGS = -g -std=gnu++11 -fcommon -fpermissive
F90FLAGS = -g -fcray-pointer -ffixed-line-length-none
</pre></div>


<p>I’m quite sure I’ve got this flag from one of the tutorials in the official site, but now I cant seem to find the exact page that recommends it <img class="emoji" src="https://pf-emoji-service--cdn.us-east-1.prod.public.atl-paas.net/standard/551c9814-1d37-4573-819d-afab3afeaf32/48x48/1f615.png" alt="😕" title=":confused:" data-emoji-short-name=":confused:" />. I’ve managed to use the toolkit successfully with it for some time now but always with the system provided HDF5. I’ve decided to try the bundled version to solve an error that in the end hadn't anything to do with the HD5F lib being used and stumbled upon this.</p>
<p>Also, as you’ve asked, my output of <code>cat /etc/os-release</code></p>
<div class="codehilite"><pre><span></span>NAME=&quot;CentOS Linux&quot;
VERSION=&quot;7 (Core)&quot;
ID=&quot;centos&quot;
ID_LIKE=&quot;rhel fedora&quot;
VERSION_ID=&quot;7&quot;
PRETTY_NAME=&quot;CentOS Linux 7 (Core)&quot;
ANSI_COLOR=&quot;0;31&quot;
CPE_NAME=&quot;cpe:/o:centos:centos:7&quot;
HOME_URL=&quot;https://www.centos.org/&quot;
BUG_REPORT_URL=&quot;https://bugs.centos.org/&quot;

CENTOS_MANTISBT_PROJECT=&quot;CentOS-7&quot;
CENTOS_MANTISBT_PROJECT_VERSION=&quot;7&quot;
REDHAT_SUPPORT_PRODUCT=&quot;centos&quot;
REDHAT_SUPPORT_PRODUCT_VERSION=&quot;7&quot;
</pre></div>


<p>and <code>gcc --version</code></p>
<div class="codehilite"><pre><span></span>gcc (GCC) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
</pre></div>


<p>‌</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2492/h5check-fails-to-build'>https://bitbucket.org/einsteintoolkit/tickets/issues/2492/h5check-fails-to-build</a></p>
</html>