NetBSD-Bugs archive

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

Re: kern/53434

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

From: Benny Siegert <>
Subject: Re: kern/53434
Date: Sun, 8 Jul 2018 18:14:13 +0200

 Yes, it is a static binary:
 netbsd-current2$ go build
 netbsd-current2$ ./hello
 Hello World!
 netbsd-current2$ GOOS=linux go build
 netbsd-current2$ ./hello
 /bin/sh: Cannot execute ELF binary ./hello
 netbsd-current2$ file hello
 hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically
 linked, with debug_info, not stripped

Home | Main Index | Thread Index | Old Index