Skip to content

Build failure targeting 32-bit Windows #7

@ceejatec

Description

@ceejatec

This is part of the Couchbase Server build, but here are the relevant logs; hopefully they are enlightening:

00:08:43.660 cd C:\Jenkins\workspace\watson-windows\couchbase\godeps\src\github.com\blevesearch\segment

00:08:43.660 "c:\tools\go-x86\go\pkg\tool\windows_386\8g.exe" -o "C:\Windows\Temp\go-build925156919\github.com\blevesearch\segment.a" -trimpath "C:\Windows\Temp\go-build925156919" -p github.com/blevesearch/segment -complete -D /C/Jenkins/workspace/watson-windows/couchbase/godeps/src/github.com/blevesearch/segment -I "C:\Windows\Temp\go-build925156919" -pack "C:\Jenkins\workspace\watson-windows\couchbase\godeps\src\github.com\blevesearch\segment\doc.go" "C:\Jenkins\workspace\watson-windows\couchbase\godeps\src\github.com\blevesearch\segment\segment.go" "C:\Jenkins\workspace\watson-windows\couchbase\godeps\src\github.com\blevesearch\segment\segment_words.go"

00:08:43.660 # github.com/blevesearch/segment

00:08:43.660 ............\godeps\src\github.com\blevesearch\segment\segment_words.go:42: internal compiler error: bvalloc: malloc failed

I've seen a few references that this file takes a large amount of memory to compile. This is running with the 32-bit Go compiler on a 64-bit Windows VM with 12GB of RAM, but I assume that's far more than the 32-bit compiler can address. We are also running Go 1.4.2; do you think Go 1.5 would be better in this regard?

Metadata

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