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: Thomas A. Moulton
Subject: Re: [Bug-gnubg] Building on Ubuntu 14.04 : Temporary Workaround
Date: Tue, 28 Jul 2015 07:34:05 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Ah yes, those comments look familiar...

well, it was a good exercise for me anyway :)

thanks for all you guys do!

tom

On 07/27/2015 11:56 PM, Michael Petch wrote:

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.





reply via email to

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