NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/53434: netbsd doesn't execute go linux binaries with linux emulation
>Number: 53434
>Category: kern
>Synopsis: netbsd doesn't execute go linux binaries with linux emulation
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 08 14:15:00 +0000 2018
>Originator: coypu
>Release: NetBSD 8.99.19
>Organization:
>Environment:
NetBSD localhost 8.99.19 NetBSD 8.99.19 (GENERIC) #6: Thu Jun 7 11:34:08 IDT 2018 fly@localhost:/home/fly/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
On the context of "easiest way to test linux compat", Go offers a pretty easy way to build linux binaries while on netbsd.
Unfortunately, NetBSD doesn't run it:
echo 'package main
import "fmt"
func main() {
fmt.Println("hello world")
}
' > hello.go
env GOOS=linux go build hello.go
./hello
bash: ./hello: cannot execute binary file: Exec format error
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index