Hello,
I tried to compile the current fiasco-ux:
make[1]: Entering directory `/home/rw/l4/20030322/l4/kernel/fiasco/build-ux' ==> Linking kernel.image g++ -Wl,--gc-sections,-T../src/kernel.ux.ld -static -o kernel.image boot_info.o boot_info-ux.o cpu-ia32-common.o cpu-ux.o mapdb.o region.o space_context-ia32-ux.o space_context-ux.o space.o space-ia32-ux.o space-ux.o space_index.o space_index_util.o stack.o kmem-ia32-ux.o kmem-ux.o kmem_alloc.o kmem_alloc-ia32-ux.o slab_cache_anon.o kmem_slab_simple.o kmem_slab.o switch_lock.o thread_lock.o helpin g_lock.o cpu_lock.o cpu_lock-generic.o timer.o timer-ia32.o timer-ux.o pic.o pic-ux.o thread_state.o sched.o sched-ia32-ux.o context.o context-ia32-ux.o context-ux.o threadid.o sender.o receiver.o thread.o thread-ia32-ux.o thread-ux.o thread-v2.o thread-syscall.o thread-syscall-v2.o thread-ipc.o thread-msg.o thread-msg-ux.o thread-list.o thread-nolog.o thread-user-ux.o thread-nosmas.o kernel_thread.o kernel_thread-std.o kernel_thread-ux.o thread_util.o kdb_ke.o dirq.o dirq-ia32-ux.o fpu.o fpu-ia32-ux.o fpu-ux.o fpu_alloc.o fpu_state.o map_util.o map_util-ia32-ux.o irq.o irq-ipc.o irq-ux.o globals.o globals-ia32-ux.o main-ia32-ux.o main-ux.o config.o config-ux.o config-ia32-ux.o usermode.o mapped_alloc.o trampoline.o loader.o kern_types.o vmem_alloc.o vmem_alloc-ia32-ux.o vmem_alloc-ux.o panic.o paging.o paging-ia32-ux.o entry_frame.o entry_frame-ia32-common-v2.o startup.o emulation.o hostproc.o task.o task-no-auto-map-kip.o irq_alloc.o libc_support.o long_msg.o long_msg-ux.o entry.o sighandler.o libk.a libamm.a liblmm.a libabi.a libjabi.a libcxx.a libkern.a -lutil /usr/bin/ld: entry.o: bad symbol index: 845556 entry.o: could not read symbols: File format not recognized
My System: [rw@fetzi build-ux]$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) [rw@fetzi build-ux]$ as -v GNU assembler version 2.13.90.0.2 (i386-redhat-linux) using BFD version 2.13.90.0.2 20020802
[rw@fetzi build-ux]$ ld -v GNU ld version 2.13.90.0.2 20020802
(from Redhat 8.0)
Who can fix it ?
Greetings Rudolf
On Saturday 22 March 2003 20:35, Rudolf Weber wrote:
Who can fix it ?
At which date did you checked it out from CVS? Current CVS version (03/22/2003, 22:08) works fine here.
Frank
On 22 Mar 2003 20:35:28 +0100 Rudolf Weber (RW) wrote:
RW> /usr/bin/ld: entry.o: bad symbol index: 845556 RW> entry.o: could not read symbols: File format not recognized
I can compile without problems, but then again nobody here uses Redhat.
Can you post or mail me the output of:
readelf -a entry.o
in your build directory? It seems that entry.S has not been compiled correctly into entry.o, either because your assembler is broken or something else went wrong. If readelf is confused by the format of entry.o, could you delete entry.o and post/mail the output of the compiler when it (re)builds entry.o.
Thanks,
-Udo.
l4-hackers@os.inf.tu-dresden.de