FreeBSD.py on FreeBSD 12.1

Chris Johns chrisj at rtems.org
Tue Nov 12 00:42:24 UTC 2019


On 12/11/19 10:04 am, Joel Sherrill wrote:
> Hi
> 
> I appreciate the help and pointers but nothing has jumped out yet.  I see code
> there which I think should result in host_ldflags having -L/usr/local/lib
> 
> do-build does end up with this when I go back to the build directory with "gmake
> V=1"
> 
> ==========================
> /usr/bin/c++ -O2 -pipe -fbracket-depth=1024
> -I/usr/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include
>    
> -L/usr/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib
>   \
>         -o gdb gdb.o ada-exp.o ada-lang.o ada-tasks.o ada-typeprint.o
> ada-valprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o
> auto-load.o auxv.o ax-gdb.o ax-general.o bcache.o bfd-target.o block.o
> blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o
> breakpoint.o btrace.o build-id.o buildsym-legacy.o buildsym.o c-exp.o c-lang.o
> c-typeprint.o c-valprint.o c-varobj.o charset.o cli-out.o cli/cli-cmds.o
> cli/cli-decode.o cli/cli-dump.o cli/cli-interp.o cli/cli-logging.o
> cli/cli-script.o cli/cli-setshow.o cli/cli-style.o cli/cli-utils.o
> coff-pe-read.o coffread.o common/agent.o common/btrace-common.o common/buffer.o
> common/cleanups.o common/common-debug.o common/common-exceptions.o
> common/common-regcache.o common/common-utils.o common/environ.o common/errors.o
> common/fileio.o common/filestuff.o common/format.o common/gdb_tilde_expand.o
> common/gdb_vecs.o common/job-control.o common/netstuff.o common/new-op.o
> common/pathstuff.o common/posix-strerror.o common/print-utils.o common/ptid.o
> common/rsp-low.o common/run-time-clock.o common/scoped_mmap.o
> common/signals-state-save-restore.o common/signals.o common/tdesc.o common/vec.o
> common/xml-utils.o compile/compile-c-support.o compile/compile-c-symbols.o
> compile/compile-c-types.o compile/compile-cplus-symbols.o
> compile/compile-cplus-types.o compile/compile-loc2c.o
> compile/compile-object-load.o compile/compile-object-run.o compile/compile.o
> complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o
> cp-name-parser.o cp-namespace.o cp-support.o cp-valprint.o ctf.o d-exp.o
> d-lang.o d-namespace.o d-valprint.o dbxread.o dcache.o debug.o demangle.o
> dictionary.o disasm-selftests.o disasm.o dtrace-probe.o dummy-frame.o
> dwarf-index-cache.o dwarf-index-common.o dwarf-index-write.o
> dwarf2-frame-tailcall.o dwarf2-frame.o dwarf2expr.o dwarf2loc.o dwarf2read.o
> elfread.o eval.o event-loop.o event-top.o exceptions.o exec.o expprint.o
> extension.o f-exp.o f-lang.o f-typeprint.o f-valprint.o filename-seen-cache.o
> filesystem.o findcmd.o findvar.o frame-base.o frame-unwind.o frame.o gcore.o
> gdb-dlfcn.o gdb_bfd.o gdb_obstack.o gdb_regex.o gdb_usleep.o gdbarch-selftests.o
> gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-exp.o go-lang.o go-typeprint.o
> go-valprint.o guile/guile.o inf-child.o inf-loop.o infcall.o infcmd.o inferior.o
> inflow.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o
> location.o m2-exp.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o
> macroscope.o macrotab.o main.o maint.o mdebugread.o mem-break.o memattr.o
> memory-map.o memrange.o mi/mi-cmd-break.o mi/mi-cmd-catch.o mi/mi-cmd-disas.o
> mi/mi-cmd-env.o mi/mi-cmd-file.o mi/mi-cmd-info.o mi/mi-cmd-stack.o
> mi/mi-cmd-target.o mi/mi-cmd-var.o mi/mi-cmds.o mi/mi-common.o mi/mi-console.o
> mi/mi-getopt.o mi/mi-interp.o mi/mi-main.o mi/mi-out.o mi/mi-parse.o
> mi/mi-symbol-cmds.o minidebug.o minsyms.o mipsread.o namespace.o objc-lang.o
> objfiles.o observable.o opencl-lang.o osabi.o osdata.o p-exp.o p-lang.o
> p-typeprint.o p-valprint.o parse.o posix-hdep.o printcmd.o probe.o
> process-stratum-target.o producer.o progspace-and-thread.o progspace.o
> prologue-value.o psymtab.o python/py-arch.o python/py-auto-load.o
> python/py-block.o python/py-bpevent.o python/py-breakpoint.o python/py-cmd.o
> python/py-continueevent.o python/py-event.o python/py-evtregistry.o
> python/py-evts.o python/py-exitedevent.o python/py-finishbreakpoint.o
> python/py-frame.o python/py-framefilter.o python/py-function.o
> python/py-gdb-readline.o python/py-inferior.o python/py-infevents.o
> python/py-infthread.o python/py-instruction.o python/py-lazy-string.o
> python/py-linetable.o python/py-newobjfileevent.o python/py-objfile.o
> python/py-param.o python/py-prettyprint.o python/py-progspace.o
> python/py-record-btrace.o python/py-record-full.o python/py-record.o
> python/py-signalevent.o python/py-stopevent.o python/py-symbol.o
> python/py-symtab.o python/py-threadevent.o python/py-type.o python/py-unwind.o
> python/py-utils.o python/py-value.o python/py-varobj.o python/py-xmethods.o
> python/python.o ravenscar-thread.o record-btrace.o record-full.o record.o
> regcache-dump.o regcache.o reggroups.o registry.o remote-fileio.o remote-notif.o
> remote.o reverse.o rust-exp.o rust-lang.o sentinel-frame.o ser-base.o
> ser-event.o ser-pipe.o ser-tcp.o ser-uds.o ser-unix.o serial.o skip.o
> solib-target.o solib.o source-cache.o source.o sparc-ravenscar-thread.o
> sparc-tdep.o stabsread.o stack.o stap-probe.o std-regs.o symfile-debug.o
> symfile.o symmisc.o symtab.o target-dcache.o target-descriptions.o
> target-float.o target-memory.o target.o target/waitstatus.o test-target.o
> thread-iter.o thread.o tid-parse.o top.o tracefile-tfile.o tracefile.o
> tracepoint.o trad-frame.o tramp-frame.o tui/tui-command.o tui/tui-data.o
> tui/tui-disasm.o tui/tui-file.o tui/tui-hooks.o tui/tui-interp.o tui/tui-io.o
> tui/tui-layout.o tui/tui-out.o tui/tui-regs.o tui/tui-source.o tui/tui-stack.o
> tui/tui-win.o tui/tui-windata.o tui/tui-wingeneral.o tui/tui-winsource.o
> tui/tui.o typeprint.o ui-file.o ui-out.o ui-style.o user-regs.o utils.o
> valarith.o valops.o valprint.o value.o varobj.o version.o xml-builtin.o
> xml-support.o xml-syscall.o xml-tdesc.o init.o \
>            ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
> -L./../zlib -lz  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
> -lncursesw -lutil -lm   -lpython3.6m -lintl -ldl -L/usr/local/lib -lintl -lutil
> -lm -Wl,--export-dynamic
> /usr/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib/libexpat.a
> -llzma   ../libiberty/libiberty.a  build-gnulib/import/libgnu.a  
> -L/usr/local/lib -lsource-highlight -lboost_regex
> ld: error: undefined symbol: libiconv_open
> ==========================
> 
> I don't see -liconv on there. I captured that command in a shell script and
> added -liconv, the got symbols missing like tilde_expand and
> rl_filename_completion_function

Does config.log show anything related to the libiconv? Maybe there is a
configure test that is failing.

Chris


More information about the devel mailing list