On Wed, Dec 22, 2021 at 12:42 AM Lucas Nussbaum <lu...@debian.org> wrote: > > Source: golang-github-templexxx-xor > Version: 0.1.2-5 > Severity: serious > Justification: FTBFS > Tags: bookworm sid ftbfs > User: lu...@debian.org > Usertags: ftbfs-20211220 ftbfs-bookworm > > Hi, > > During a rebuild of all packages in sid, your package failed to build > on amd64. > > > Relevant part (hopefully): > > debian/rules build > > dh build --buildsystem=golang --with=golang > > dh_update_autotools_config -O--buildsystem=golang > > dh_autoreconf -O--buildsystem=golang > > dh_auto_configure -O--buildsystem=golang > > dh_auto_build -O--buildsystem=golang > > cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 > > github.com/templexxx/xor > > internal/goexperiment > > internal/abi > > github.com/templexxx/cpufeat > > internal/cpu > > runtime/internal/atomic > > runtime/internal/sys > > runtime/internal/math > > internal/bytealg > > runtime > > github.com/templexxx/xor > > dh_auto_test -O--buildsystem=golang > > cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 > > github.com/templexxx/xor > > === RUN TestVerifyBytesNoSIMD > > --- PASS: TestVerifyBytesNoSIMD (1.13s) > > === RUN TestVerifyBytes > > --- PASS: TestVerifyBytes (1.13s) > > === RUN TestVerifyBytesSrc1 > > unexpected fault address 0x0 > > fatal error: fault > > [signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4e7234] > > > > goroutine 10 [running]: > > runtime.throw({0x511356, 0xc00001a2d0}) > > /usr/lib/go-1.17/src/runtime/panic.go:1198 +0x71 fp=0xc000033638 > > sp=0xc000033608 pc=0x433f11 > > runtime.sigpanic() > > /usr/lib/go-1.17/src/runtime/signal_unix.go:742 +0x2f6 > > fp=0xc000033688 sp=0xc000033638 pc=0x448696 > > github.com/templexxx/xor.xorSrc0({0xc00001a288, 0x11, 0x11}, {0xc00001a2a0, > > 0x11, 0x11}, {0xc00001a2b8, 0x11, 0x11}) > > > > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/templexxx/xor/sse2_amd64.s:43 > > +0x34 fp=0xc000033690 sp=0xc000033688 pc=0x4e7234
This test "sse2_amd64.s“ suggests it's related to SIMD, but I haven't checked if it just calls sse2 or more. I'm also not sure if the package is broken without SIMD, or just the test is broken. -- Shengjing Zhu