[Pvfs2-developers] bdb.m4 uninitialized variables break default
Fedora Core 5 build
Number Cruncher
number.cruncher at ntlworld.com
Tue Jan 23 05:34:17 EST 2007
Sam Lang wrote:
>
> On Jan 19, 2007, at 6:53 AM, Number Cruncher wrote:
>
>> I'm using RPM to simplify installation and can't build pvfs-2.6.2 on
>> FC5 using the default RPM compiler build flags which include "-
>> Werror" on FC5.
>>
>> This breaks the configure test for HAVE_TXNID_PARAMETER_TO_DB_OPEN
>> because the parameters are used uninitialized. The test fails
>> silently but the system installed BDB does require the TXNID
>> parameter which breaks the subsequent build:
>>
>>
>> Workaround: overwrite default compiler flags.
>>
>> Fix: initialize variables in pvfs-2.6.2/maint/config/bdb.m4
>> HAVE_TXNID_PARAMETER_TO_DB_OPEN macro.
>
>
> We have nightly tests running on FC6...odd that it doesn't use - Werror
> but FC5 does. I've committed these fixes to the 2.6 branch and
> attached a patch of the changes. They seem to work on FC6, but then so
> does the code without the patch. If you get a chance, let me know how
> the patch goes on FC5.
>
Hmmm. Don't see patch attached and am reluctant to use CVS. Doesn't seem
to be available via
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-January/003101.html
either.
Thanks,
Simon
More information about the Pvfs2-developers
mailing list