-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
What steps will reproduce the problem? Extract attached code. Set GOPATH. go test -v bloom What is the expected output? tests pass What do you see instead? &bloom.basicFilter{bits:(*bloom.BitVector)(0xc2100b3940), m:0xea029, n:0x186a0, k:7, p:0.01, h1:(*bloom.AdlerHash)(0xc21000a5c0), h2:(*bloom.CityHash)(0xc210072228)} &bloom.basicFilter{bits:(*bloom.BitVector)(0xc2105280e0), m:0xdeaddead, n:0xdeaddead, k:7, p:0.01, h1:(*bloom.AdlerHash)(0xc21058e660), h2:(*bloom.CityHash)(0xc21058ae20)} --- FAIL: TestGob-7 (0.06 seconds) bloom_test.go:32: Marshal/Unmarshal failed FAIL Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? linux Which version are you using? (run 'go version') go version devel +02e5cb24c95a Tue May 28 17:59:10 2013 -0700 linux/amd64 also broken at tip works with 81ccdb178fd7 Please provide any additional information below. I couldn't get rid of the cgo dependency. I think there's some kind of interaction between cgo and this change. hash/city also has tests, which need the .sysos to be built with SSE 4.2 enabled to pass.
Attachments:
- bork.tar.bz2 (927984 bytes)