* [gentoo-user] GCC 4.7.2-r1 build failing with bus error
@ 2013-04-13 4:37 Nilesh Govindrajan
2013-04-13 4:56 ` [gentoo-user] " Nilesh Govindrajan
2013-04-15 21:17 ` [gentoo-user] " Paul Hartman
0 siblings, 2 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2013-04-13 4:37 UTC (permalink / raw
To: Gentoo User Mailing List
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
Hi,
For some weird reason, I'm unable to build gcc 4.7.2-r1.
This is the error -
/bin/sh: line 1: 3871 Bus error build/genautomata
/var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/gcc/config/i386/i386.md
insn-conditions.md > tmp-automata.c
The thing is, I had downloaded a hardened stage 3 by mistake and then
switched profile to non hardened.
Could it be because the kernel is compiled with the hardened toolchain?
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4210 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: GCC 4.7.2-r1 build failing with bus error
2013-04-13 4:37 [gentoo-user] GCC 4.7.2-r1 build failing with bus error Nilesh Govindrajan
@ 2013-04-13 4:56 ` Nilesh Govindrajan
2013-04-15 21:17 ` [gentoo-user] " Paul Hartman
1 sibling, 0 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2013-04-13 4:56 UTC (permalink / raw
To: Gentoo User Mailing List
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
On Saturday 13 April 2013 10:07:16 AM IST, Nilesh Govindrajan wrote:
> Hi,
>
> For some weird reason, I'm unable to build gcc 4.7.2-r1.
> This is the error -
> /bin/sh: line 1: 3871 Bus error build/genautomata
> /var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/gcc/config/i386/i386.md
> insn-conditions.md > tmp-automata.c
>
> The thing is, I had downloaded a hardened stage 3 by mistake and then
> switched profile to non hardened.
>
> Could it be because the kernel is compiled with the hardened toolchain?
>
No it isn't because the kernel is compiled with hardened toolchain.
Help :S
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4210 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] GCC 4.7.2-r1 build failing with bus error
2013-04-13 4:37 [gentoo-user] GCC 4.7.2-r1 build failing with bus error Nilesh Govindrajan
2013-04-13 4:56 ` [gentoo-user] " Nilesh Govindrajan
@ 2013-04-15 21:17 ` Paul Hartman
2013-04-16 4:07 ` Nilesh Govindrajan
1 sibling, 1 reply; 4+ messages in thread
From: Paul Hartman @ 2013-04-15 21:17 UTC (permalink / raw
To: gentoo-user
On Fri, Apr 12, 2013 at 11:37 PM, Nilesh Govindrajan <me@nileshgr.com> wrote:
> Hi,
>
> For some weird reason, I'm unable to build gcc 4.7.2-r1.
> This is the error -
> /bin/sh: line 1: 3871 Bus error build/genautomata
> /var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/gcc/config/i386/i386.md
> insn-conditions.md > tmp-automata.c
>
> The thing is, I had downloaded a hardened stage 3 by mistake and then
> switched profile to non hardened.
>
> Could it be because the kernel is compiled with the hardened toolchain?
I think bus error means the compiler tried to access illegal memory
region or illegal instruction. Maybe a compiler bug? Wrong arch?
I don't know anything about hardened so I don't know if it could be
blocking access to memory somehow.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] GCC 4.7.2-r1 build failing with bus error
2013-04-15 21:17 ` [gentoo-user] " Paul Hartman
@ 2013-04-16 4:07 ` Nilesh Govindrajan
0 siblings, 0 replies; 4+ messages in thread
From: Nilesh Govindrajan @ 2013-04-16 4:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
On Tuesday 16 April 2013 02:47:54 AM IST, Paul Hartman wrote:
> On Fri, Apr 12, 2013 at 11:37 PM, Nilesh Govindrajan <me@nileshgr.com> wrote:
>> Hi,
>>
>> For some weird reason, I'm unable to build gcc 4.7.2-r1.
>> This is the error -
>> /bin/sh: line 1: 3871 Bus error build/genautomata
>> /var/tmp/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/gcc/config/i386/i386.md
>> insn-conditions.md > tmp-automata.c
>>
>> The thing is, I had downloaded a hardened stage 3 by mistake and then
>> switched profile to non hardened.
>>
>> Could it be because the kernel is compiled with the hardened toolchain?
>
> I think bus error means the compiler tried to access illegal memory
> region or illegal instruction. Maybe a compiler bug? Wrong arch?
>
> I don't know anything about hardened so I don't know if it could be
> blocking access to memory somehow.
>
Definitely something to do with hardened. Able to compile gcc on
another vm with same config.
All this mess happened because there's no i686 stage 3 -_-
Did CHOST change on another vm.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4210 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-16 4:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13 4:37 [gentoo-user] GCC 4.7.2-r1 build failing with bus error Nilesh Govindrajan
2013-04-13 4:56 ` [gentoo-user] " Nilesh Govindrajan
2013-04-15 21:17 ` [gentoo-user] " Paul Hartman
2013-04-16 4:07 ` Nilesh Govindrajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox