error in bootstrap when building amd64

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Oct 1 00:12:42 CEST 2013


On Mon Sep 30, 2013 at 21:24:22 +0200, Joel Nider wrote:
> I'm having trouble building the amd64 L4Re image.  I'm building on
> Ubuntu 12.04 64-bit (kernel 3.2.0-29); make 3.81; gcc 4.6.3
> (default)
> 
> I'm using l4re-core-2013091917 (not the snapshot) that I got from
> here: http://os.inf.tu-dresden.de/download/snapshots-oc/l4re-core-2013091917.tar.bz2
> Everything builds fine until the 'bootstrap' package:
> 
> === Building package "bootstrap" ===
> make[1]: Entering directory
> `/home/joel/projects/l4re-core-2013091917/src/l4/pkg/bootstrap'
> make[2]: Entering directory `/home/joel/projects/l4re-core-2013091917/src/l4/pkg/bootstrap/server'
> make[3]: Entering directory `/home/joel/projects/l4re-core-2013091917/src/l4/pkg/bootstrap/server/src'
> make[4]: Entering directory `/home/joel/projects/l4re-core-2013091917/obj/l4/amd64/pkg/bootstrap/server/src/OBJ-amd64_K8'
> make[5]: Entering directory `/home/joel/projects/l4re-core-2013091917/src/l4/pkg/bootstrap/server/src/ARCH-amd64/libc32'
> make[6]: Entering directory `/home/joel/projects/l4re-core-2013091917/obj/l4/amd64/pkg/bootstrap/server/src/ARCH-amd64/libc32/OBJ-amd64_K8'
> make[6]: Leaving directory `/home/joel/projects/l4re-core-2013091917/obj/l4/amd64/pkg/bootstrap/server/src/ARCH-amd64/libc32/OBJ-amd64_K8'
> make[5]: Leaving directory `/home/joel/projects/l4re-core-2013091917/src/l4/pkg/bootstrap/server/src/ARCH-amd64/libc32'
>   ==> Linking bootstrap32.elf
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.6/libgcc.a when searching for -lgcc
> /usr/bin/ld: cannot find -lgcc
> collect2: ld returned 1 exit status
> make[4]: *** [bootstrap32.elf] Error 1
> 
> Any ideas how to fix it?

I guess a 32bit version of libgcc might be missing on your system.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list