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

Re: [MiNT] GDB problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

That is quite likely an unimplemented FPU opcode triggered by a call to udivsi in the libc.  Meaning:  you compiled with -ffast-math, hence the compiler will generate FPU opcodes whenever it sees it feasible and will not use any mathematics crutch like a software that emulates udivsi and friends and your system does not provide an FPU in hardware.
Solution: turn -ffast-math off by removing it and add -fslow-math.  Then keep your fingers crossed that the math functions needed are provided by libm against you should then link. If not, download an emulation code from a server of your choice and add that to your build.

Cheers,
    T.

"Adam Kłobukowski" <adamklobukowski@gmail.com> wrote:

>(__udivsi3) and then 0x00000000. What can I do?
-----BEGIN PGP SIGNATURE-----
Version: APG v1.0.8

iD8DBQFOgitqMiyRSD9s+zURCvPOAJ0SBjHIGHAySUZkCEl9Fy8cUdAIVgCfWP0/
nET9aNnG4XcLFMk6NbP6h/Q=
=Wdww
-----END PGP SIGNATURE-----