Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

linking on ARM fails



With todays current linking TET framework 
(http://wiki.netbsd.se/How_to_run_TET_framework) and kernel fails. Any ideas 
what might be causing this, some arm specific or more generic toolchain change?

TET:

cc  -o tcc tcc.o cleanup.o config.o copysave.o dirtab.o dtcc.o environ.o 
error.o exec.o
fake.o global.o jnlproc.o journal.o keys.o lock.o  popen.o procdir.o
proctab.o proctc.o proctcd.o rescode.o resdir.o  rrproc.o scen1.o
scen2.o scen3.o scenario.o scentab.o service.o  sigtrap.o syscall.o
systab.o tcname.o tool.o utils.o ynstr.o ../tcclib/libtcc.a
../../../lib/tet3/libapi.a
ld: proctc.o: invalid string offset 17 >= 0 for section `.shstrtab'
ld: proctc.o: invalid string offset 37 >= 0 for section `'
ld: proctc.o: invalid string offset 17 >= 0 for section `.shstrtab'
ld: proctc.o: invalid string offset 48 >= 0 for section `'
ld: proctc.o: invalid string offset 17 >= 0 for section `.shstrtab'
ld: proctc.o: invalid string offset 59 >= 0 for section `'
ld: proctc.o: invalid string offset 17 >= 0 for section `.shstrtab'
ld: proctc.o: invalid string offset 74 >= 0 for section `'
ld: proctc.o: invalid string offset 17 >= 0 for section `.shstrtab'
service.o: In function `tcc_sloop':
service.c:(.text+0x7c8): undefined reference to `proc_testcase'
service.c:(.text+0xd80): undefined reference to `proc_tcwait'
sigtrap.o: In function `engine_shutdown':
sigtrap.c:(.text+0xae4): undefined reference to `proc_testcase'
*** Error code 1

Kernel:

--- kern_exec.o ---
#   compile  TISDP2420/kern_exec.o
cc -ffreestanding -fno-zero-initialized-in-bss -g -O2 -std=gnu99
-fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch
-Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Werror
-mcpu=arm1136jf-s -I. -I../../../../../common/include -I../../../../arch
-I../../../.. -nostdinc -DARM11_PMC_CCNT_HZ=266000000
-D__HAVE_FAST_SOFTINTS -DKERNEL_BASE_EXT=0x80000000 -DARM_GENERIC_TODR
-DDIAGNOSTIC -DVERBOSE_INIT_ARM -DUSB_DEBUG -DOHCI_DEBUG -DUHUB_DEBUG
-DOMAP_MPU_TIMER_CLOCK_FREQ=12000000 -DHWCLOCK
-DHWCLOCK_MACHINE=<arch/arm/omap/hwclock_omap1.h>
-DOMAP_CK_REF_SPEED=12000000 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I../../../../lib/libkern/../../../common/lib/libc/quad
-I../../../../lib/libkern/../../../common/lib/libc/string
-I../../../../lib/libkern/../../../common/lib/libc/arch/arm/string
-I../../../../../../../include -c ../../../../kern/kern_exec.c
--- kern_event.o ---
/var/tmp//ccJJRCvd.s: Assembler messages:
/var/tmp//ccJJRCvd.s:9055: Warning: value 0x24e truncated to 0x4e
/var/tmp//ccJJRCvd.s:9123: Error: unknown pseudo-op: `.b.uleb128'
*** [kern_event.o] Error code 1
1 error

make: stopped in /opt/src/sys/arch/evbarm/compile/TISDP2420



Home | Main Index | Thread Index | Old Index