Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] System borked after emerge -e world (SOLVED) wabe <wabenbau@×××××.com>