Skip to content

Cannot compile to AIX ppc64 #261

@bmarwell

Description

@bmarwell

Checklist

Describe the feature request

I would love to be able to build with:

GOOS=aix GOARCH=ppc64 go build -C cmd/gotop -trimpath -ldflags="-s -w " -o tree.aix.ppc64-nodebug

current outcome:

❯ GOOS=aix GOARCH=ppc64 go build -C cmd/gotop  -trimpath -ldflags="-s -w "  -o tree.aix.ppc64-nodebug
# github.com/distatus/battery
../../../../go/pkg/mod/github.com/distatus/[email protected]/battery.go:118:13: undefined: systemGet
../../../../go/pkg/mod/github.com/distatus/[email protected]/battery.go:155:16: undefined: systemGetAll
# github.com/nsf/termbox-go
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:58:17: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:277:37: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/termbox.go:286:37: undefined: syscall_Termios
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:55:46: undefined: syscall.O_ASYNC
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:17: undefined: syscall_IGNBRK
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:34: undefined: syscall_BRKINT
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:69:51: undefined: syscall_PARMRK
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:3: undefined: syscall_ISTRIP
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:20: undefined: syscall_INLCR
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:36: undefined: syscall_IGNCR
../../../../go/pkg/mod/github.com/nsf/[email protected]/api.go:70:36: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions