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

Re: FPU emulation: Unimplemented instruction



On 2013-11-20 02:09, John Paul Adrian Glaubitz wrote:

Setting up python3.3-minimal (3.3.2-7) ...
[173753.660000] You just hit an unimplemented fpu instruction (flogn
[173753.660000] )
[173753.670000] Please report this to ....

I think this happens when compiling the Python modules. I had once a problem with sig11/bus errors on python as well, resulting in not being able to successfully end dpkg/apt-get run.

I did manage to overcome this when I had a look at the postinst script of python2.7. There's a line that recompile all those Python modules:

files=$(dpkg -L libpython2.7-stdlib | sed -n '/^\/usr\/lib\/python2.7\/.*\.py$/p')
        if [ -n "$files" ]; then
            python2.7 -E -S /usr/lib/python2.7/py_compile.py $files

The important information in this is, that the files that are recompiled are generated by dpkg -L libpyhton2.7-stdlib. My solution was to reinstall the libpython2.7-stdlib package and (IIRC) deleting its postinst script on disk, so that the new script from the to be installed package will be used.

Of course your error is obvious: unimplemented fpu instruction by the FPU emu. But when running those postinst script by hand (for example by inserting an echo line to know which module is currently compiled) you might find the module in question that generates that FPU error and investigate further then.

--
Ciao...          //    Fon: 0381-2744150
.     Ingo     \X/     http://blog.windfluechter.net

gpg pubkey: http://www.juergensmann.de/ij_public_key.


Reply to: