Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: linking on ARM fails
On Wed, Nov 26, 2008 at 03:50:38PM +0200, Mikko Rapeli wrote:
> 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
objdump and other bfd tools didn't recognize proctc.o as a valid object
file, so I recompiled it manually. After that linking succeeded. Perhaps
this is a cache problem which corrupts data on some cache line.
-Mikko
Home |
Main Index |
Thread Index |
Old Index