Gentoo Archives: gentoo-user

From: wabe <wabenbau@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] System borked after emerge -e world (SOLVED)
Date: Thu, 27 Apr 2017 19:13:28
Message-Id: 20170427211305.525d36cb@hal9000.localdomain
In Reply to: Re: [gentoo-user] System borked after emerge -e world by Rasmus Thomsen
1 Rasmus Thomsen <rasmus.thomsen@××××.de> wrote:
2
3 > Hi,
4 > "Invalid Machine command" (forgot the exact error message) usually
5 > happened to me when I passed the wrong -march to GCC (e.g.
6 > -march=haswell on sandybridge cpus)
7
8 I'm using -march native since many years. After restarting my machine
9 everything works fine again.
10
11 --
12 Regards
13 wabe
14
15 > Regards,
16 > Rasmus
17 >
18 >
19 > On 27 Apr 2017 7:43 pm, wabe <wabenbau@×××××.com> wrote:
20 >
21 > "J. Roeleveld" <joost@××××××××.org> wrote:
22 >
23 > > On April 27, 2017 7:20:29 PM GMT+02:00, wabe <wabenbau@×××××.com>
24 > > wrote:
25 > > >Hi folks,
26 > > >
27 > > >it seems that my system is broken after recompiling everything with
28 > > >the new gcc5.
29 > > >
30 > > >I even cannot execute any command or start new programs. It is also
31 > > >not possible to open a terminal or to login on console.
32 > > >
33 > > >When I type something in an already opened Xterm it says
34 > > >"Ungültiger Maschinenbefehl" (in English probably something like
35 > > >"invalid machine command").
36 > > >
37 > > >On tty12 I can see messages like this:
38 > > >
39 > > >traps: ls[4055] trap invalid opcode ip:3cd3d91e024 sp:3d6a804abb0
40 > > >error:0 in libc-2.23.so[3cd3d865000+19d000]
41 > > >grsec: Illegal instruction occured at 000003cd3d91e026 in
42 > > >/bin/ls[ls:4055] uid/euid:0/0 gid/egid:0/0, parent...
43 > > >
44 > > >kernel is 4.8.17-hardened-r2
45 > > >
46 > > >(uname -a is still working).
47 > > >
48 > > >I don't dare to reboot my system because I'm not sure that it will
49 > > >boot.
50 > > >
51 > > >I don't even know if this email will reach the list, because claws
52 > > >mail
53 > > >
54 > > >also dropped some errors about "bogofilter doesn't work".
55 > > >
56 > > >Any help would really appreciated.
57 > > >
58 > > >--
59 > > >Regards
60 > > >wabe
61 > >
62 > > Did you run the revdep-rebuild command?
63 > > Keep running that until it completes succesfully.
64 >
65 > Can't execute it. "Invalid command".
66 >
67 > There is one terminal (gnome-terminal) still open. This is the one
68 > that I used to recompile everything. I'm logged in there as root.
69 > But I cannot open another terminal. I don't even see what I'm typing
70 > (no echo). I can only see the output.
71 >
72 > > Do NOT use binaries to speed things up. That didn't work for me.
73 >
74 > AFAIK I don't have any binaries installed on my system.
75 >
76 > --
77 > Regards
78 > wabe
79 >
80 >