uclibc + gcc 4.1.0 + fast-math crash
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 29 22:28:23 UTC 2006
On Sun, 12 Mar 2006, Amir Shalem wrote:
> Hey
>
>
> using a fresh buildroot with fresh uclibc snapshot + gcc 4.1.0 release
> when compiling any program (empty) using fast-math I get a crash.
>
>
> a.c:
> int main(void) { return 0; }
>
>
> $ gcc -o a a.c -ffast-math && ./a
> and watch it crash.
>
>
> the crash happens at gcc fast-math code at ../gcc/config/i386/crtfastmath.c at line 97
> which execute the "fxsave".
>
>
> but if I'm copying crtfastmath.c code into a program (main.c)
> and compile it with out fast-math, it does not crash the program.
>
> also, this crash happens with uclibc 0.9.28 too,
> and if I'm compiling gcc 4.1.0 with glibc it does not crash with fast-math.
>
>
> thanks,
> amir.
indeed 4.1.0 crashes, but none of 3.4.5/3.4.6/4.0.2/4.0.3
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list