Subject: Re: tools build on ELF mac68k
To: Steve Woodford <steve@mctavish.co.uk>
From: Aymeric Vincent <xmimic@free.fr>
List: tech-toolchain
Date: 12/01/2001 15:27:00
Steve Woodford <steve@mctavish.co.uk> writes:
> ISTR Jason fixed a gdb cross-compile problem in the last couple of days...
It still "doesn't work". I believe it should be obvious to fix for
someone who knows gdb a bit, but I'm not inclined to dig into it right
now, so sorry for the bare report of the link failure:
/usr/tools/bin/m68k--netbsdelf-gcc -o gdb -nostdlib -Wl,-rpath-link,/usr/hosts/a1200/usr/lib /usr/hosts/a1200/usr/lib/crt0.o /usr/hosts/a1200/usr/lib/crtbegin.o version.o blockframe.o breakpoint.o findvar.o stack.o thread.o source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o expprint.o environ.o event-loop.o event-top.o inf-loop.o gdbarch.o arch-utils.o gdbtypes.o copying.o m68k-tdep.o solib.o ser-tcp.o ser-unix.o ser-pipe.o infptrace.o inftarg.o fork-child.o corelow.o m68knbsd-nat.o kcore-nbsd.o remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o mem-break.o target.o parse.o language.o c-exp.tab.o jv-exp.tab.o f-exp.tab.o m2-exp.tab.o buildsym.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o objfiles.o minsyms.o maint.o demangle.o dbxread.o coffread.o elfread.o dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o c-lang.o ch-exp.o ch-lang.o f-lang.o ui-out.o cli-out.o varobj.o wr!
apper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o scm-exp.o scm-lang.o scm-valprint.o complaints.o typeprint.o c-typeprint.o ch-typeprint.o f-typeprint.o m2-typeprint.o c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o m2-valprint.o nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o ui-file.o tui-file.o annotate.o inflow.o gnu-regex.o init.o readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o nls.o history.o histexpand.o histfile.o histsearch.o shell.o tilde.o main.o -ltermcap -lintl -lm -lkvm -L/usr/src/gnu/lib/libbfd/obj.amiga -lbfd -L/usr/src/gnu/lib/libiberty/obj.amiga -liberty -L/usr/hosts/a1200/usr/lib -lgcc -lc -lgcc /usr/hosts/a1200/usr/lib/crtend.o
kcore-nbsd.o: In function `get_kcore_registers':
kcore-nbsd.o(.text+0x3c0): undefined reference to `fetch_kcore_registers'
collect2: ld returned 1 exit status
*** Error code 1
regards,
Aymeric