Re: stack grow direction wrongly detected

2021-03-06 Thread Thomas Wolff
Am 06.03.2021 um 09:29 schrieb Marco Atzeri via Cygwin: On 05.03.2021 15:43, gs-cygwin@gluelogic.com wrote: On Fri, Mar 05, 2021 at 11:31:04PM +0900, Takashi Yano via Cygwin wrote: On Fri, 5 Mar 2021 13:18:38 +0100 Marco Atzeri wrote: Hi Guys, noted trying to rebuild guile 1.8.8. The fo

Re: stack grow direction wrongly detected

2021-03-06 Thread Marco Atzeri via Cygwin
On 06.03.2021 02:06, Takashi Yano via Cygwin wrote: On Fri, 5 Mar 2021 21:29:49 +0100 Marco Atzeri wrote: dir = depth ? find_stack_direction (addr, depth - 1) : 0; This calls find_stack_direction() recursively, isn't it? yeah. Never write when ti

Re: stack grow direction wrongly detected

2021-03-06 Thread Marco Atzeri via Cygwin
On 05.03.2021 15:43, gs-cygwin@gluelogic.com wrote: On Fri, Mar 05, 2021 at 11:31:04PM +0900, Takashi Yano via Cygwin wrote: On Fri, 5 Mar 2021 13:18:38 +0100 Marco Atzeri wrote: Hi Guys, noted trying to rebuild guile 1.8.8. The following piece of code in the past was setting SCM_I_GSC_STA

Re: stack grow direction wrongly detected

2021-03-05 Thread Takashi Yano via Cygwin
On Fri, 5 Mar 2021 21:29:49 +0100 Marco Atzeri wrote: > guile 1.8.8 is 10 years old, but it is still used by some programs > as all the guile 2.x series were slower. > the code on recent guile 3.0.x is different, with no recursion at all. > > SCM_I_GSC_STACK_GROWS_UP=0 > AC_RUN_IFELSE([AC_LANG_SOU

Re: stack grow direction wrongly detected

2021-03-05 Thread Marco Atzeri via Cygwin
On 05.03.2021 19:58, Brian Inglis wrote: On 2021-03-05 05:18, Marco Atzeri via Cygwin wrote: Hi Guys, noted trying to rebuild guile 1.8.8. The following piece of code in the past was setting SCM_I_GSC_STACK_GROWS_UP=0 and now produces SCM_I_GSC_STACK_GROWS_UP=1 I assume some change in the gcc

Re: stack grow direction wrongly detected

2021-03-05 Thread Brian Inglis
On 2021-03-05 05:18, Marco Atzeri via Cygwin wrote: Hi Guys, noted trying to rebuild guile 1.8.8. The following piece of code in the past was setting SCM_I_GSC_STACK_GROWS_UP=0 and now produces SCM_I_GSC_STACK_GROWS_UP=1 I assume some change in the gcc compiler is causing the issue. I presume m

Re: stack grow direction wrongly detected

2021-03-05 Thread Thomas Wolff
Am 05.03.2021 um 15:31 schrieb Takashi Yano via Cygwin: On Fri, 5 Mar 2021 13:18:38 +0100 Marco Atzeri wrote: Hi Guys, noted trying to rebuild guile 1.8.8. The following piece of code in the past was setting SCM_I_GSC_STACK_GROWS_UP=0 and now produces SCM_I_GSC_STACK_GROWS_UP=1 I assume some

Re: stack grow direction wrongly detected

2021-03-05 Thread gs-cygwin . com
On Fri, Mar 05, 2021 at 11:31:04PM +0900, Takashi Yano via Cygwin wrote: > On Fri, 5 Mar 2021 13:18:38 +0100 > Marco Atzeri wrote: > > Hi Guys, > > noted trying to rebuild guile 1.8.8. > > > > The following piece of code in the past > > was setting SCM_I_GSC_STACK_GROWS_UP=0 > > and now produces S

Re: stack grow direction wrongly detected

2021-03-05 Thread Takashi Yano via Cygwin
On Fri, 5 Mar 2021 13:18:38 +0100 Marco Atzeri wrote: > Hi Guys, > noted trying to rebuild guile 1.8.8. > > The following piece of code in the past > was setting SCM_I_GSC_STACK_GROWS_UP=0 > and now produces SCM_I_GSC_STACK_GROWS_UP=1 > > I assume some change in the gcc compiler is causing the is

stack grow direction wrongly detected

2021-03-05 Thread Marco Atzeri via Cygwin
Hi Guys, noted trying to rebuild guile 1.8.8. The following piece of code in the past was setting SCM_I_GSC_STACK_GROWS_UP=0 and now produces SCM_I_GSC_STACK_GROWS_UP=1 I assume some change in the gcc compiler is causing the issue. I presume most of the programs and libraries do not care, but so