On Wed, Jul 26, 2017 at 12:41 PM, REIX, Tony <tony.r...@atos.net> wrote: > Description: > * This patch adds linker options for gotools for AIX. > > Tests: > * Fedora25/x86_64 + GCC trunk : Configure/Build: SUCCESS > - build remade by means of gmake. > - some test redone in libgo (gmake check) > * AIX + GCC 7.1.0 : > - build remade by means of gmake. > - some test redone in libgo (gmake check) > > ChangeLog: > * Makefile.am (AM_LDFLAGS & GOLINK): Changes for linking on AIX. > * Makefile.in: Rebuild.
If this is trying to fix AIX search paths, a better solution would seem to be the equivalent of -static-libstdc++ -static-libgcc. The Go tools should be linked statically and not depend on Go shared libraries. Thanks, David