Gentoo Archives: gentoo-user

From: symack <symack@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Illegal State in Chroot Environment
Date: Mon, 07 Aug 2017 14:11:55
Message-Id: CAGWRaZbzZmKkAm1gnR9HXihH5E3hTV67xbg1p5KW+sxu0RNY4A@mail.gmail.com
In Reply to: Re: [gentoo-user] Illegal State in Chroot Environment by P Levine
1 On Sun, Aug 6, 2017 at 11:58 PM, P Levine <plevine457@×××××.com> wrote:
2
3 >
4 >
5 > On Sun, Aug 6, 2017 at 9:17 PM, symack <symack@×××××.com> wrote:
6 >>
7 >> >>> Installing (4 of 199) app-arch/bzip2-1.0.6-r8::gentoo
8 >> bash: line 1: 26183 Illegal instruction ${PORTAGE_BUNZIP2_COMMAND:-${PORTAGE_BZIP2_COMMAND}
9 >> -d} -c -- /var/db/pkg/app-arch/bzip2-1.0.6-r8/environment.bz2 >
10 >> /var/tmp/portage/._unmerge_/app-arch/bzip2-1.0.6-r8/temp/environment
11 >> ​....​
12 >>
13 > CFLAGS="-O2 -pipe -fomit-frame-pointer -mcx16 -msahf -maes
14 >> ​​
15 >> -mpclmul -mpopcnt -mabm -mlwp -mavx -march=native"
16 >>
17 >> ​One or more "-m" flags in CFLAGS isn't valid for the host processor​.
18 > Why have them in the first place if you've enabled -march=native?
19 >
20
21
22 Hello,
23
24 Thank you for your response. I have changed the CFLAGS to look like the
25 following:
26
27 CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native"
28
29 Anything I do within chroot is returning `Illegal State` and made the
30 change from the livecd
31 environment.
32
33 Currently I am rebuilding the whole system using `emerge -e world` and
34 everything is failing as early as the unpack phase.
35 Do I have to download stage from the beginning for the 3rd time!
36
37 Any help to recover this instance is greatly appreciated.

Replies

Subject Author
Re: [gentoo-user] Illegal State in Chroot Environment P Levine <plevine457@×××××.com>