pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/51653: pkgsrc breaks on RPI - evbarm vs. earm



The following reply was made to PR pkg/51653; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-evbarm/51653: pkgsrc breaks on RPI - evbarm vs. earm
Date: Fri, 2 Dec 2016 16:48:41 +0000

 On Fri, Dec 02, 2016 at 12:30:01PM +0000, coypu%SDF.ORG@localhost wrote:
  >  What should Go building binaries for NetBSD on other operating systems use?
  >  For Go, cross compiling for netbsd/arm is a matter of GOOS=netbsd and GOARCH=arm.
 
 Same as otherwise, that is, whatever's baked in when the compiler is
 built.
 
 Because Go doesn't use the libc interface, the binary interface it
 does use (for any target OS and CPU) is whatever it thinks it ought to
 be using when it builds its static runtime.
 
 If it gets that by probing the kernel it's building against, then it
 should use the version from that kernel.
 
 If it gets it from some static table of lore about what it thinks the
 ABI is, then it's ~always going to be wrong so it probably doesn't
 matter :-)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index