error in bootstrap when building amd64

Joel Nider joel at nider.org
Mon Sep 30 21:24:22 CEST 2013


Hi,

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?

Thanks,
Joel






More information about the l4-hackers mailing list