* [Buildroot] Building x86_64 failes
@ 2007-01-19 13:31 Goetz Bock
2007-01-19 15:08 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Goetz Bock @ 2007-01-19 13:31 UTC (permalink / raw)
To: buildroot
Dear list,
after I've successfully build buildroot for i586 on my
amd64/debian/sarge box, I wanted to build the same rootfs for amd64.
So I copied the existing buildroot, removed build_i586 and
toolchain_build_i586, ran make clean and make menuconfig to
reconfigureit for x86_64.
But building the toolchain failes with:
/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:
In function 'x86_fallback_frame_state':
/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:152:
error: 'struct sigcontext' has no member named 'esp'
.
. [ more missing e?? members ]
.
It does not matter what version of binutils/gcc I use, it's always the
same error.
(I've tried binutuils: 2.16.1, 2.17, 2.17.50.0.7, 2.17.50.0.9 and gcc
4.0.3, 4.1.1, 4.2)
The i386 realy irritates me, and I've no idea where it comes from.
Any pionters?
--
/"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting
\ / (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ]
/ \ [ 3. Reply to the list - 4. Read the archive *before* you post ]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Building x86_64 failes
2007-01-19 13:31 [Buildroot] Building x86_64 failes Goetz Bock
@ 2007-01-19 15:08 ` Bernhard Fischer
2007-01-20 12:51 ` Goetz Bock
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-01-19 15:08 UTC (permalink / raw)
To: buildroot
On Fri, Jan 19, 2007 at 02:31:53PM +0100, Goetz Bock wrote:
>Dear list,
>
>after I've successfully build buildroot for i586 on my
>amd64/debian/sarge box, I wanted to build the same rootfs for amd64.
>
>So I copied the existing buildroot, removed build_i586 and
>toolchain_build_i586, ran make clean and make menuconfig to
>reconfigureit for x86_64.
>
>But building the toolchain failes with:
>
>/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:
>In function 'x86_fallback_frame_state':
>/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:152:
>error: 'struct sigcontext' has no member named 'esp'
>.
>. [ more missing e?? members ]
>.
Can you check that uClibc has the correct arch set?
>
>It does not matter what version of binutils/gcc I use, it's always the
>same error.
>(I've tried binutuils: 2.16.1, 2.17, 2.17.50.0.7, 2.17.50.0.9 and gcc
>4.0.3, 4.1.1, 4.2)
>
>The i386 realy irritates me, and I've no idea where it comes from.
The config/i386 is ok
What kernel-headers do you use?
hm. Could it be that you try to compile a 32bit x86-64 compiler? For the
64bit, there is definately no (resp. shouldn't be a) esp.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Building x86_64 failes
2007-01-19 15:08 ` Bernhard Fischer
@ 2007-01-20 12:51 ` Goetz Bock
2007-01-20 17:29 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Goetz Bock @ 2007-01-20 12:51 UTC (permalink / raw)
To: buildroot
On Fri, Jan 19 '07 at 16:08, Bernhard Fischer wrote:
> On Fri, Jan 19, 2007 at 02:31:53PM +0100, Goetz Bock wrote:
> > [ ... I'm unable to build buildroot toolchain for x96_64 ... ]
> >/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:
> >In function 'x86_fallback_frame_state':
> >/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:152:
> >error: 'struct sigcontext' has no member named 'esp'
> >.
> >. [ more missing e?? members ]
> >.
>
> Can you check that uClibc has the correct arch set?
The toolchain_build_x86_64/uClibc-0.9.28/.config lists:
TARGET_x86_64=y
ARCH_SUPPORTS_LITTLE_ENDIAN=y
TARGET_ARCH="x86_64"
ARCH_LITTLE_ENDIAN=y
KERNEL_SOURCE="/build/buildroot.amd64/toolchain_build_x86_64/linux"
In the KERNEL_SOURCE dir include/asm is linked to asm-x86_64
> What kernel-headers do you use?
I'm using the 2.6.12.0 headers, as my kernel will be 2.6.18 from Etch
> hm. Could it be that you try to compile a 32bit x86-64 compiler? For the
> 64bit, there is definately no (resp. shouldn't be a) esp.
That's at last not what I intend. I want to build a small rescueue
system to work with Debian Etch kernels.
--
/"\ Goetz Bock at blacknet dot de -- secure mobile Linux everNETting
\ / (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
X [ 1. Use descriptive subjects - 2. Edit a reply for brevity - ]
/ \ [ 3. Reply to the list - 4. Read the archive *before* you post ]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Building x86_64 failes
2007-01-20 12:51 ` Goetz Bock
@ 2007-01-20 17:29 ` Bernhard Fischer
0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Fischer @ 2007-01-20 17:29 UTC (permalink / raw)
To: buildroot
On Sat, Jan 20, 2007 at 01:51:16PM +0100, Goetz Bock wrote:
>
>On Fri, Jan 19 '07 at 16:08, Bernhard Fischer wrote:
>> On Fri, Jan 19, 2007 at 02:31:53PM +0100, Goetz Bock wrote:
>> > [ ... I'm unable to build buildroot toolchain for x96_64 ... ]
>> >/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:
>> >In function 'x86_fallback_frame_state':
>> >/build/buildroot.amd64/toolchain_build_x86_64/gcc-4.1.1/gcc/config/i386/linux-unwind.h:152:
>> >error: 'struct sigcontext' has no member named 'esp'
>> >.
>> >. [ more missing e?? members ]
>> >.
>>
>> Can you check that uClibc has the correct arch set?
>
>The toolchain_build_x86_64/uClibc-0.9.28/.config lists:
>TARGET_x86_64=y
>ARCH_SUPPORTS_LITTLE_ENDIAN=y
>TARGET_ARCH="x86_64"
>ARCH_LITTLE_ENDIAN=y
>KERNEL_SOURCE="/build/buildroot.amd64/toolchain_build_x86_64/linux"
>
>In the KERNEL_SOURCE dir include/asm is linked to asm-x86_64
>
>> What kernel-headers do you use?
>
>I'm using the 2.6.12.0 headers, as my kernel will be 2.6.18 from Etch
I don't use these headers, so can't help you there. The 2.6.19.2 worked
for me for building an x86_64 rootfs, fyi.
HTH,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-20 17:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 13:31 [Buildroot] Building x86_64 failes Goetz Bock
2007-01-19 15:08 ` Bernhard Fischer
2007-01-20 12:51 ` Goetz Bock
2007-01-20 17:29 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox