Build L4::Pistachio on FC5

MingyanGuo guomingyan at gmail.com
Wed Jul 5 04:12:18 CEST 2006


Hi all,

I use gcc32/g++32 on FC5 to build L4::Pistachio(default CC and CXX on FC5
are gcc4, so I
set CC and CXX environment variables to gcc32 and g++32) but failed.
The error message is below.
---------------------<<<<cut>>>>-------------------------------
===> Linking ia32-kernel
ld -static -O2  -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/ -Tlds.tmp -o
ia32-kernel  src/generic/lib.o  src/generic/kmemory.o
src/platform/pc99/startup.o
src/platform/generic/intctrl-apic.osrc/platform/pc99/smp.o
src/api/v4/exregs.o  src/api/v4/ipc.o
src/api/v4/ipcx.o  src/api/v4/kernelinterface.o  src/api/v4/thread.o
src/api/v4/schedule.o  src/api/v4/space.o  src/api/v4/interrupt.o
src/api/v4/smp.o  src/api/v4/processor.o  src/glue/v4-ia32/init.o
src/glue/v4-ia32/idt.o  src/glue/v4-ia32/exception.o
src/glue/v4-ia32/space.o  src/glue/v4-ia32/debug.o
src/glue/v4-ia32/resources.o  src/glue/v4-ia32/thread.o
src/glue/v4-ia32/user.o src/glue/v4-ia32/trap.o  src/glue/v4-ia32/ctors.o
src/glue/v4-ia32/smp.o src/glue/v4-ia32/trampoline.o
src/generic/linear_ptab_walker.o  src/generic/mapping_alloc.o
src/generic/mapping.o  src/generic/acpi.o  src/glue/v4-ia32/timer-apic.o
src/glue/v4-ia32/smallspaces.o  kdb/generic/bootinfo.o  kdb/generic/cmd.o
kdb/generic/console.o  kdb/generic/entry.o  kdb/generic/init.o
kdb/generic/input.o  kdb/generic/kmemory.o  kdb/generic/linker_set.o
kdb/generic/memdump.o  kdb/generic/print.o  kdb/generic/tid_format.o
kdb/generic/tracepoints.o  kdb/platform/pc99/io.o
kdb/platform/pc99/intctrl.o  kdb/api/v4/input.o
kdb/api/v4/kernelinterface.o  kdb/api/v4/tcb.o  kdb/api/v4/thread.o
kdb/api/v4/schedule.o  kdb/api/v4/sigma0.o  kdb/arch/ia32/x86.o
kdb/arch/ia32/breakpoints.o  kdb/arch/ia32/stepping.o
kdb/arch/ia32/tracebuffer.o  kdb/generic/linear_ptab_dump.o
kdb/generic/mapping.o  kdb/arch/ia32/disas.o kdb/arch/ia32/ia32-dis.o
kdb/generic/sprintf.o kdb/glue/v4-ia32/prepost.o
kdb/glue/v4-ia32/readmem.o  kdb/glue/v4-ia32/resources.o
kdb/glue/v4-ia32/space.o  kdb/glue/v4-ia32/thread.o
kdb/glue/v4-ia32/smallspaces.o -lgcc
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' referenced in section `.spinlock' of
src/api/v4/ipc.o: defined in discarded section
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' of src/api/v4/ipc.o
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' referenced in section `.spinlock' of
src/api/v4/thread.o: defined in discarded section
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' of src/api/v4/thread.o
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' referenced in section `.spinlock' of
src/api/v4/schedule.o: defined in discarded section
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' of src/api/v4/schedule.o
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' referenced in section `.spinlock' of
src/api/v4/space.o: defined in discarded section
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' of src/api/v4/space.o
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' referenced in section `.spinlock' of
src/api/v4/interrupt.o: defined in discarded section
`.gnu.linkonce.t._ZN8cpu_mb_t5allocEv' of src/api/v4/interrupt.o
make[1]: *** [ia32-kernel] Error 1
rm lds.tmp
make[1]: Leaving directory `/home/prime/pistachio-0.4/ia32-kernel-build'
make: *** [all] Error 2
------------------------------<<<<cut>>>>----------------------------

Anyone can help?
Thanks.

Regards,

MingyanGuo
-- 
Three passions, simple but overwhelmingly strong, have governed my life:
the longing for love, the search for knowledge, and unbearable pity for
the suffering of mankind.
                         ---------Bertrand Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ira.uni-karlsruhe.de/pipermail/l4ka/attachments/20060705/a366cf53/attachment.html>


More information about the l4ka mailing list