[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39118: Segfault while building on 64-bit Cygwin
From: |
Charles Stanhope |
Subject: |
bug#39118: Segfault while building on 64-bit Cygwin |
Date: |
Mon, 17 Feb 2020 11:27:42 -0800 |
On 2/16/20, Charles Stanhope <address@hidden> wrote:
> On 2/16/20, Mike Gran <address@hidden> wrote:
>>
>> I can confirm that Charles's patch, plus another one line patch
>> to define CPU_SETSIZE, is enough to get Guile 3.0.x to build and run
>> on my box. All tests pass except strptime in French, and the absence
>> of crypt. This is a 64-bit build.
>
> Mike, thanks for going further with the Guile build. The CPU_SETSIZE
> issue was what was hanging me up from compiling before Andy's comment
> got me to look at lightening. I assumed I had some configuration,
> package, or compiler issue. Good to know there's a simple fix.
>
> Just a further warning to anyone watching, that patch I posted is a
> real hack job just to test my theory of the cause of the segfault. I
> would expect it to fail when you have fewer than four arguments in a
> JITed function call. I wouldn't try doing much else with that Guile
> build besides run the tests. :)
I had a little bit more time to look into the lightening
implementation last night. I've attached a patch that is less horrible
and more correct than my previous one. It reserves the stack space
regardless of the number of parameters and appears to work. But I'm
new to the lightening code base, so I'm not convinced it is the
correct solution. It's just the solution I was left with after my time
ran out. I wanted to post this patch as a replacement to the prior one
in case people did want to do more testing with Guile 3.0 on Cygwin
x64.
With that, I will let more experienced people come up with the
appropriate solution. Happy hacking, everybody!
--
Charles
x86-fastcall-stack-reservation-2.patch
Description: Text Data
- bug#39118: Segfault while building on 64-bit Cygwin, szgyg, 2020/02/03
- bug#39118: Segfault while building on 64-bit Cygwin, Andy Wingo, 2020/02/06
- bug#39118: Segfault while building on 64-bit Cygwin, Charles Stanhope, 2020/02/07
- bug#39118: Segfault while building on 64-bit Cygwin, Charles Stanhope, 2020/02/14
- bug#39118: Segfault while building on 64-bit Cygwin, Mike Gran, 2020/02/16
- bug#39118: Segfault while building on 64-bit Cygwin, John Cowan, 2020/02/16
- bug#39118: Segfault while building on 64-bit Cygwin, Charles Stanhope, 2020/02/16
- bug#39118: Segfault while building on 64-bit Cygwin,
Charles Stanhope <=
- bug#39118: Segfault while building on 64-bit Cygwin, Andy Wingo, 2020/02/17