Re: RFH: golang dynamic linker

2011-04-28 Thread Petr Salinger
make[3]: Entering directory `/build/buildd-golang_2011.04.27-1-kfreebsd-i386-IT5KRG/golang-2011.04.27/src/pkg/net' CGOPKGPATH= cgo -- cgo_bsd.go cgo_unix.go 1: error: 'AI_MASK' undeclared (first use in this function) 1: note: each undeclared identifier is reported only once for each function it

Re: RFH: golang dynamic linker

2011-04-28 Thread Ondřej Surý
So the dynamic linker issue seems to be solved, but the buildd didn't finish due different bug: https://buildd.debian.org/status/package.php?p=golang&suite=sid make[3]: Entering directory `/build/buildd-golang_2011.04.27-1-kfreebsd-i386-IT5KRG/golang-2011.04.27/src/pkg/net' CGOPKGPATH= cgo -- cg

Re: RFH: golang dynamic linker

2011-04-28 Thread Ondřej Surý
On Thu, Apr 28, 2011 at 14:24, Petr Salinger wrote: >> I have tried modifying the build scripts to use standard >> /lib/ld*.so.1, but that fails on kfreebsd-i386 with: >> >> cgo -dynimport _cgo1_.o >_obj/_cgo_import.c_ && mv -f >> _obj/_cgo_import.c_ _obj/_cgo_import.c >> Inconsistency detected by

Re: RFH: golang dynamic linker

2011-04-28 Thread Petr Salinger
I have tried modifying the build scripts to use standard /lib/ld*.so.1, but that fails on kfreebsd-i386 with: cgo -dynimport _cgo1_.o >_obj/_cgo_import.c_ && mv -f _obj/_cgo_import.c_ _obj/_cgo_import.c Inconsistency detected by ld.so: dl-deps.c: 626: _dl_map_object_deps: Assertion `nlist > 1' fa

RFH: golang dynamic linker

2011-04-28 Thread Ondřej Surý
Hi, golang uses ld-elf.so.1 which is only present in freebsd-hackedutils which has been removed from archive. I have tried modifying the build scripts to use standard /lib/ld*.so.1, but that fails on kfreebsd-i386 with: cgo -dynimport _cgo1_.o >_obj/_cgo_import.c_ && mv -f _obj/_cgo_import.c_ _o