Rasmus Thomsen <rasmus.thom...@live.de> wrote: > Hi, > "Invalid Machine command" (forgot the exact error message) usually > happened to me when I passed the wrong -march to GCC (e.g. > -march=haswell on sandybridge cpus)
I'm using -march native since many years. After restarting my machine everything works fine again. -- Regards wabe > Regards, > Rasmus > > > On 27 Apr 2017 7:43 pm, wabe <waben...@gmail.com> wrote: > > "J. Roeleveld" <jo...@antarean.org> wrote: > > > On April 27, 2017 7:20:29 PM GMT+02:00, wabe <waben...@gmail.com> > > wrote: > > >Hi folks, > > > > > >it seems that my system is broken after recompiling everything with > > >the new gcc5. > > > > > >I even cannot execute any command or start new programs. It is also > > >not possible to open a terminal or to login on console. > > > > > >When I type something in an already opened Xterm it says > > >"Ungültiger Maschinenbefehl" (in English probably something like > > >"invalid machine command"). > > > > > >On tty12 I can see messages like this: > > > > > >traps: ls[4055] trap invalid opcode ip:3cd3d91e024 sp:3d6a804abb0 > > >error:0 in libc-2.23.so[3cd3d865000+19d000] > > >grsec: Illegal instruction occured at 000003cd3d91e026 in > > >/bin/ls[ls:4055] uid/euid:0/0 gid/egid:0/0, parent... > > > > > >kernel is 4.8.17-hardened-r2 > > > > > >(uname -a is still working). > > > > > >I don't dare to reboot my system because I'm not sure that it will > > >boot. > > > > > >I don't even know if this email will reach the list, because claws > > >mail > > > > > >also dropped some errors about "bogofilter doesn't work". > > > > > >Any help would really appreciated. > > > > > >-- > > >Regards > > >wabe > > > > Did you run the revdep-rebuild command? > > Keep running that until it completes succesfully. > > Can't execute it. "Invalid command". > > There is one terminal (gnome-terminal) still open. This is the one > that I used to recompile everything. I'm logged in there as root. > But I cannot open another terminal. I don't even see what I'm typing > (no echo). I can only see the output. > > > Do NOT use binaries to speed things up. That didn't work for me. > > AFAIK I don't have any binaries installed on my system. > > -- > Regards > wabe > >