bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Building on Ubuntu 14.04 : Temporary Workaround


From: Michael Petch
Subject: Re: [Bug-gnubg] Building on Ubuntu 14.04 : Temporary Workaround
Date: Mon, 27 Jul 2015 21:56:48 -0600
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0


On 2015-07-27 8:05 PM, Thomas A. Moulton wrote:
> Michael,
> 
> I did some  checking and it appears that the problem was introduced in
> Rev 1.49 of configure.ac
> 
> In that revision AC_PROG_CC_STDC was added on line 77
> 
> I commented out that line in the HEAD revision (line 81) and ./gnubg
> --tty did come up as expected.
> 

Thanks Thomas,

Philippe and I were aware of it. Buried in the messages between us I had
made the comment below to him. References to AC_PROG_CC_STDC are part of
using -std=c99 as part of the compiler options and what optimization
level you use also factors in. No optimizations seems to work.

--------------------

I rebuilt it from tagged 1.05 sources in CVS and the problem didn't
occur. I then built it from HEAD and it worked.

I sent you an email that seems to suggest the issue is with
Optimizations (-O0 seems to work) / compiling with --std=c99 / and some
issue with the C Runtime (And it could be related to something in our
code that makes this appear. If it is a bug it is something that seems
to affect the runtime code prior to main() being called.

The error you see under Ubuntu 15.04 is actually the same thing I see on
14.04 depending on the optimization level I use.

If I remove all the std=c99 stuff from configure.ac that has been added
then it seems to work fine no matter the optimization level.

-- 
Michael Petch
CApp::Sysware Consulting Ltd.
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

[Prev in Thread] Current Thread [Next in Thread]