https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117999
Bug ID: 117999 Summary: libgo regressions on arm after g:75e7d1600f47859df40b2ac0feff5a71e0dbb040 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org CC: vmakarov at redhat dot com Target Milestone: --- Target: arm After commit g:75e7d1600f47859df40b2ac0feff5a71e0dbb040 , the Linaro CI detected regressions in libgo tests on arm-linux-gnueabihf: FAIL: crypto/tls FAIL: crypto/x509 the log says: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf755abbe] goroutine 1 [running]: crypto_1elliptic_1internal_1nistec.P521Point.Set /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/internal/nistec/p521.go:70 crypto_1elliptic_1internal_1nistec.NewP521Generator /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/internal/nistec/p521.go:65 crypto_1elliptic.p521Curve.ScalarBaseMult /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/p521.go:147 crypto/x509.parseECPrivateKey /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/x509/sec1.go:117 crypto_1x509.ParseECPrivateKey /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/x509/sec1.go:35 crypto_1tls..import /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gcc-gcc.git~master-stage2/armv8l-unknown-linux-gnueabihf/libgo/gotest3208790/test/handshake_test.go:451 FAIL: crypto/tls --- FAIL: TestPKCS8 (0.01s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x47a58] goroutine 65 [running]: testing.tRunner..func3 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/testing/testing.go:1425 testing.tRunner..func1 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/testing/testing.go:1342 panic /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/runtime/panic.go:714 crypto_1elliptic_1internal_1nistec.P521Point.Set /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/internal/nistec/p521.go:70 crypto_1elliptic_1internal_1nistec.NewP521Generator /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/internal/nistec/p521.go:65 crypto_1elliptic.p521Curve.ScalarBaseMult /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/crypto/elliptic/p521.go:147 crypto/x509.parseECPrivateKey /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gcc-gcc.git~master-stage2/armv8l-unknown-linux-gnueabihf/libgo/gotest3211815/test/sec1.go:117 crypto_1x509.ParsePKCS8PrivateKey /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gcc-gcc.git~master-stage2/armv8l-unknown-linux-gnueabihf/libgo/gotest3211815/test/pkcs8.go:58 crypto_1x509.TestPKCS8 /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/builds/armv8l-unknown-linux-gnueabihf/armv8l-unknown-linux-gnueabihf/gcc-gcc.git~master-stage2/armv8l-unknown-linux-gnueabihf/libgo/gotest3211815/test/pkcs8_test.go:96 testing.tRunner /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/testing/testing.go:1475 created by testing.T.Run /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libgo/go/testing/testing.go:1522 +0x19c FAIL: crypto/x509