#18611: Support GO language (as gccgo and libgo) in toolchain
--------------------------+------------------------
  Reporter:  evgenyz      |      Owner:  developers
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  toolchain    |    Version:  Trunk
Resolution:               |   Keywords:
--------------------------+------------------------

Comment (by cyrus):

 I tried to compile with that patch enabled, unfortunately it failed.
 {{{
 make[6]: Entering directory '/home/steven/workspace/openwrt/build_dir
 /toolchain-mips_34kc_gcc-4.9-linaro_musl-1.1.5/gcc-
 linaro-4.9-2014.10-final/gcc'
 x86_64-linux-gnu-gcc   -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-
 exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
 -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-
 long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
 -o go1 \
       go/ast-dump.o go/dataflow.o go/export.o go/expressions.o go/go-
 backend.o go/go-dump.o go/go-gcc.o go/go-lang.o go/go-linemap.o go/go-
 optimize.o go/go.o go/gogo-tree.o go/gogo.o go/import.o go/import-
 archive.o go/lex.o go/parse.o go/runtime.o go/statements.o go/types.o
 go/unsafe.o attribs.o libbackend.a main.o  libcommon-target.a libcommon.a
 ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
 ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
 ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lstdc++
 -L/home/steven/workspace/openwrt/staging_dir/host/lib
 -L/home/steven/workspace/openwrt/staging_dir/host/lib
 -L/home/steven/workspace/openwrt/staging_dir/host/lib -lmpc -lmpfr -lgmp
 -rdynamic -ldl -lstdc++ -L../zlib -lz
 /usr/bin/ld: go/export.o: undefined reference to symbol
 'ceilf@@GLIBC_2.2.5'
 //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from
 command line
 collect2: error: ld returned 1 exit status
 /home/steven/workspace/openwrt/build_dir/toolchain-
 mips_34kc_gcc-4.9-linaro_musl-1.1.5/gcc-linaro-4.9-2014.10/gcc/go/Make-
 lang.in:77: recipe for target 'go1' failed
 make[6]: *** [go1] Error 1
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/18611#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to