[strongSwan] SIGILL in 4.3.5 and above

Bjarke Istrup Pedersen gurli at gurlinet.dk
Thu Jul 22 12:13:17 CEST 2010


2010/7/22 Tobias Brunner <tobias at strongswan.org>:
>> I am unable to find what __fixunsdfdi is.
>> child_cfg.c is indeed the line mentioned above.
>>
>> Anyone who has any ideas?
>
> __fixunsdfdi is a GCC-internal function which converts a double to an uint64.
> It seems that an instruction in that function raises the SIGILL on your
> platform.  This suggests that it's actually a GCC bug.  What version of GCC do
> you use?
>
> Regards,
> Tobias
>

Okay, so it seems like the problem was, that the GCC compiling
strongswan was itself built for another cpu.
Rebuilding gcc for the geode CPU makes it compile strongswan correctly.

Thanks for helping everyone.

/Bjarke




More information about the Users mailing list