Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC 4.7.2-r1 build failing with bus error
Date: Mon, 15 Apr 2013 21:18:27
Message-Id: CAEH5T2NekriQHPX7HYWDsd2P0RSoDVx=PXgGLqEt5H4e=1uu8Q@mail.gmail.com
In Reply to: [gentoo-user] GCC 4.7.2-r1 build failing with bus error by Nilesh Govindrajan
1 On Fri, Apr 12, 2013 at 11:37 PM, Nilesh Govindrajan <me@××××××××.com> wrote:
2 > Hi,
3 >
4 > For some weird reason, I'm unable to build gcc 4.7.2-r1.
5 > This is the error -
6 > /bin/sh: line 1: 3871 Bus error build/genautomata
7 > /var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/gcc/config/i386/i386.md
8 > insn-conditions.md > tmp-automata.c
9 >
10 > The thing is, I had downloaded a hardened stage 3 by mistake and then
11 > switched profile to non hardened.
12 >
13 > Could it be because the kernel is compiled with the hardened toolchain?
14
15 I think bus error means the compiler tried to access illegal memory
16 region or illegal instruction. Maybe a compiler bug? Wrong arch?
17
18 I don't know anything about hardened so I don't know if it could be
19 blocking access to memory somehow.

Replies

Subject Author
Re: [gentoo-user] GCC 4.7.2-r1 build failing with bus error Nilesh Govindrajan <me@××××××××.com>