I don't really need 80 bit precision, but I'm compiling VXL, part of ITK, which uses long doubles. Mingwpy's default settings, resulting in msvc-compatible libraries are fine.
Are these segfaults to be expected? Or is it a bug?
How should I prevent these segfaults from happening while using mingwpy's default setting, i.e. 64 bit long doubles?
Edwin
Maybe the problem is that libstdc++ is getting compiled with
-mlong-double=80, and that has ABI effects that make it incompatible
with code compiled with -mlong-double=64? Is mingwpy's tweak of the
spec file defaults happening before or after libstdc++ gets built?
-n
On Tue, Apr 19, 2016 at 12:51 PM, <hebe...@gmail.com> wrote:
> Hi Carl,
>
> I don't really need 80 bit precision, but I'm compiling VXL, part of ITK, which uses long doubles. Mingwpy's default settings, resulting in msvc-compatible libraries are fine.
>
> Are these segfaults to be expected? Or is it a bug?
>
> How should I prevent these segfaults from happening while using mingwpy's default setting, i.e. 64 bit long doubles?
>
> Edwin
>
> --
> You received this message because you are subscribed to the Google Groups "mingwpy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mingwpy+unsubscribe@googlegroups.com.
Obviously libstdc++ should work, regardless the choosen long double setting during compile time. I guess this has to be fixed in the mingw-w64 math code.
Edwin, can you issue this problem on github: https://github.com/mingwpy/mingwpy/issues ?
Carl
Am Dienstag, 19. April 2016 23:48:48 UTC+2 schrieb Nathaniel Smith:
Maybe the problem is that libstdc++ is getting compiled with
-mlong-double=80, and that has ABI effects that make it incompatible
with code compiled with -mlong-double=64? Is mingwpy's tweak of the
spec file defaults happening before or after libstdc++ gets built?
-n
On Tue, Apr 19, 2016 at 12:51 PM, <hebe...@gmail.com> wrote:
> Hi Carl,
>
> I don't really need 80 bit precision, but I'm compiling VXL, part of ITK, which uses long doubles. Mingwpy's default settings, resulting in msvc-compatible libraries are fine.
>
> Are these segfaults to be expected? Or is it a bug?
>
> How should I prevent these segfaults from happening while using mingwpy's default setting, i.e. 64 bit long doubles?
>
> Edwin
>
> --
> You received this message because you are subscribed to the Google Groups "mingwpy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mingwpy+u...@googlegroups.com.