chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Spiffy & OpenSSL in compiled code


From: Andy Bennett
Subject: Re: [Chicken-users] Spiffy & OpenSSL in compiled code
Date: Wed, 19 Sep 2012 23:41:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6

Hi,

>> In the compiled case, the binary runs but the following is produced on
>> stderr when a connection is attempted:
>>
>> -----
>> primordial: Connection handshake error: "bad argument type - not a fixnum"
>> -----
> 
> This looks like it could be a specialization error - in other words,
> the compiler optimizes some code for a particular type (here a
> fixnum), incorrectly. What I would do in this case is build a
> debug-version of chicken and go in with the debugger. I can give
> more detailed instructions, if you want to try it out.

I am happy to try this. Some pointers would be invaluable.


Is it worth trying to compile the OpenSSL egg with fewer flags first to
see if that makes it work?

Hmmm... perhaps that doesn't make sense.
Where would the error get in? The egg code would already be compiled so
calling csc on the repro case would just compile the calls to the eggs
so surely it makes sense to only fiddle with the compiler options on
that compilation?



I have 4.7.0 did that have specialisations?






Regards,
@ndy

-- 
address@hidden
http://www.ashurst.eu.org/
0x7EBA75FF




reply via email to

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