Re: Cross Tool Chain for Pistachio on PPC

Martin Christian <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi!
I tried at home to build the ppc-elf cross tool chain on Debian etch
with packages from gnu.org. I used the following packages:
binutils-2.17
gcc-3.4.6

And the same error occured. Nevertheless I tried to "make install" and
it just complained about libstdc++-v3 as expected. So I've got basically
a tool chain ready. I guess it would be the same at work with
Cygwin. ;-)

Now I checked out L4Ka::Pistachio from CVS and followed the compile
instructions. The .config is attached. But while building I get the
following error:

/home/martin/eads/source/pistachio/kernel/include/glue/v4-powerpc/tcb.h:
In function `void sys_exchange_registers(threadid_t, word_t, word_t,
word_t, word_t, word_t, threadid_t, bool)':
/home/martin/eads/source/pistachio/kernel/include/glue/v4-powerpc/tcb.h:326: Fehler: in der Klasse »GENERAL_REGS« konnte während des Neuladens von »asm« kein Register gefunden werden
make[1]: *** [src/api/v4/exregs.o] Fehler 1
make[1]: Leaving directory `/home/martin/eads/build/pistachio'
make: *** [all] Fehler 2

What does that mean?

Best,

Martin.
.config (text/plain, 2.3 KB)
#
# Automatically generated, don't edit
#
# Generated on: amadou
# At: Sat, 04 Nov 2006 11:29:25 +0000
# Linux version 2.6.16-2-686 (Debian 2.6.16-18) ([email protected]) (gcc version 4.0.4 20060730 (prerelease) (Debian 4.0.3-6)) #1 Fri Aug 18 19:01:49 UTC 2006

#
# Pistachio Kernel Configuration System
#

#
# Hardware
#

#
# Basic Architecture
#
# CONFIG_ARCH_IA32 is not set
# CONFIG_ARCH_IA64 is not set
CONFIG_ARCH_POWERPC=y
# CONFIG_ARCH_POWERPC64 is not set
# CONFIG_ARCH_AMD64 is not set
# CONFIG_ARCH_ALPHA is not set
# CONFIG_ARCH_MIPS64 is not set
# CONFIG_ARCH_ARM is not set


#
# Processor Type
#
# CONFIG_CPU_IA32_I486 is not set
# CONFIG_CPU_IA32_I586 is not set
# CONFIG_CPU_IA32_I686 is not set
# CONFIG_CPU_IA32_P4 is not set
# CONFIG_CPU_IA32_K8 is not set
# CONFIG_CPU_IA32_C3 is not set


#
# Processor Type
#
CONFIG_CPU_POWERPC_IBM750=y
# CONFIG_CPU_POWERPC_PPC604 is not set


#
# Platform
#
CONFIG_PLAT_PC99=y


#
# Platform
#
CONFIG_PLAT_OFPPC=y

# CONFIG_SMP is not set

#
# Miscellaneous
#
# CONFIG_PPC_EXPOSE_OPIC is not set



#
# Kernel
#
# CONFIG_IPC_FASTPATH is not set
CONFIG_DEBUG=y
# CONFIG_EXPERIMENTAL is not set
CONFIG_PPC_BAT_SYSCALLS=y


#
# Debugger
#
CONFIG_KDB=y

#
# Consoles
#
CONFIG_KDB_CONS_OF1275=y
CONFIG_KDB_CONS_PSIM_COM=y

# CONFIG_KDB_DISAS is not set
# CONFIG_KDB_ON_STARTUP is not set
CONFIG_KDB_BREAKIN_BREAK=y
CONFIG_KDB_BREAKIN_ESCAPE=y
# CONFIG_KDB_NO_ASSERTS is not set

#
# Trace Settings
#
CONFIG_VERBOSE_INIT=y
# CONFIG_TRACEPOINTS is not set
# CONFIG_KMEM_TRACE is not set



#
# Code Generator Options
#
CONFIG_SYSV_ABI=y
# CONFIG_PPC_SEGMENT_LOOP is not set
CONFIG_PPC_MULTIWORD_INSTR=y


#
# Derived symbols
#
# CONFIG_HAVE_MEMORY_CONTROL is not set
# CONFIG_IS_64BIT is not set
# CONFIG_IA32_PGE is not set
# CONFIG_CPU_ALPHA_A21264 is not set
# CONFIG_IA32_FXSR is not set
# CONFIG_CPU_ALPHA_A21064 is not set
CONFIG_BIGENDIAN=y
CONFIG_IS_32BIT=y
# CONFIG_SWIZZLE_IO_ADDR is not set
# CONFIG_ARM_BIG_ENDIAN is not set
# CONFIG_IA32_SMALL_SPACES_GLOBAL is not set
# CONFIG_IA32_PSE is not set
# CONFIG_IA32_TSC is not set
# CONFIG_ACPI is not set
# CONFIG_ALPHA_FASTPATH is not set
CONFIG_ALPHA_CONSOLE_RESERVE=3211264
# CONFIG_CPU_ALPHA_A21164 is not set
# CONFIG_IA32_SYSENTER is not set
# CONFIG_IA32_HTT is not set
#
# That's all, folks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.