Re: S/390 Linux doesn't link on trunk

Daniel Jacobowitz
2002-04-09T04:36:47Z

On Mon, Apr 08, 2002 at 11:50:19PM -0400, Andrew Cagney wrote:
> >Just FYI; I didn't try the branch. The error is:
> >
> >gcc -O2 -g -Wl,-rpath,/usr/lib -o gdb \
> >main.o libgdb.a cli-dump.o cli-decode.o cli-script.o cli-cmds.o
> >cli-setshow.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-var.o
> >mi-cmd-break.o mi-cmd-stack.o mi-cmd-disas.o mi-main.o mi-parse.o
> >mi-getopt.o tui-file.o tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o
> >tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o tuiDisassem.o
> >tuiSourceWin.o tuiRegs.o tuiDataWin.o tui-out.o tui-hooks.o
> >../bfd/libbfd.a -lreadline ../opcodes/libopcodes.a
> >../libiberty/libiberty.a -lncurses -lm ../libiberty/libiberty.a \
> >-ldl -rdynamic
> >libgdb.a(inftarg.o): In function `init_child_ops':
> >/home/buildd/build/gdb-5.2.cvs20020401/objdir/gdb/../../gdb/inftarg.c:754:
> >undefined reference to `child_pid_to_exec_file'
> >collect2: ld returned 1 exit status
> >make[2]: *** [gdb] Error 1
> >make[2]: Leaving directory
> >`/home/buildd/build/gdb-5.2.cvs20020401/objdir/gdb'
> >make[1]: *** [all-gdb] Error 2
> >make[1]: Leaving directory `/home/buildd/build/gdb-5.2.cvs20020401/objdir'
> >make: *** [build-stamp] Error 2
>
> I take it this is native? The cross appears to build fine.

Yes, it is. I don't have access to the build machine (as far as I
know, at least...).

--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer