Skip to content

Specs don't build on gccgo #362

Closed
Closed
@tonistiigi

Description

After #343 building with gccgo seems to fail:

22:23:58 + git clone https://github.com/opencontainers/runc.git /tmp/tmp.Mst50n3vK1/src/github.com/opencontainers/runc
22:23:58 Cloning into '/tmp/tmp.Mst50n3vK1/src/github.com/opencontainers/runc'...
22:24:00 + cd /tmp/tmp.Mst50n3vK1/src/github.com/opencontainers/runc
22:24:00 + git checkout -q 0c1c615ebd6a15545b6a82ead01d2745ea49b242
22:24:00 + make static BUILDTAGS=seccomp apparmor selinux
22:24:00 CGO_ENABLED=1 go build -tags "seccomp apparmor selinux cgo static_build" -ldflags "-w -extldflags -static -X main.gitCommit=0c1c615ebd6a15545b6a82ead01d2745ea49b242" -o runc .
22:24:00 go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags
22:24:08 # github.com/pquerna/ffjson/fflib/v1
22:24:08 Godeps/_workspace/src/github.com/pquerna/ffjson/fflib/v1/reader_scan_amd64.s: Assembler messages:
22:24:08 Godeps/_workspace/src/github.com/pquerna/ffjson/fflib/v1/reader_scan_amd64.s:6: Error: no such instruction: `text scanStringSSE(SB),NOSPLIT,$0'
22:24:08 Godeps/_workspace/src/github.com/pquerna/ffjson/fflib/v1/reader_scan_amd64.s:15: Error: no such instruction: `text ·haveSSE42(SB),NOSPLIT,$0'
22:24:08 Godeps/_workspace/src/github.com/pquerna/ffjson/fflib/v1/reader_scan_amd64.s:16: Error: too many memory references for `xor'
22:24:08 Godeps/_workspace/src/github.com/pquerna/ffjson/fflib/v1/reader_scan_amd64.s:21: Error: too many memory references for `mov'
22:24:09 Makefile:21: recipe for target 'static' failed
22:24:09 make: *** [static] Error 2

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions