Your message dated Sat, 20 Sep 2025 04:35:10 +0000
with message-id <[email protected]>
and subject line Bug#1112166: fixed in golang-1.24 1.24.4-4
has caused the Debian Bug report #1112166,
regarding golang-1.24: FTBFS on riscv64: FATAL: ThreadSanitizer: memory layout 
is incompatible, even though ASLR is disabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1112166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: golang-1.24
Version: 1.24.4-3
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Now golang-1.24 has one FTBFS on riscv64 due to:

```
--- FAIL: TestShared (0.00s)
    cshared_test.go:61: skipping msan_shared test on linux/riscv64; -msan 
option is not supported.
    --- FAIL: TestShared/tsan_shared (121.78s)
        cshared_test.go:112: /usr/bin/setarch riscv64 -R 
/tmp/TestSharedtsan_shared3507443847/001/tsan_shared exited with exit status 66
            FATAL: ThreadSanitizer: memory layout is incompatible, even though 
ASLR is disabled.
            Please file a bug.
            ==63940==Process memory map follows:
                0x002aaaaaa000-0x002aaaaab000   
/tmp/TestSharedtsan_shared3507443847/001/tsan_shared
                0x002aaaaab000-0x002aaaaac000   
/tmp/TestSharedtsan_shared3507443847/001/tsan_shared
                0x002aaaaac000-0x002aaaaad000   
/tmp/TestSharedtsan_shared3507443847/001/tsan_shared
                0x003fe6c51000-0x003fe6c66000   
                0x003fe6c66000-0x003fe6c82000   
/usr/lib/riscv64-linux-gnu/libgcc_s.so.1
                0x003fe6c82000-0x003fe6c83000   
/usr/lib/riscv64-linux-gnu/libgcc_s.so.1
                0x003fe6c83000-0x003fe6c84000   
/usr/lib/riscv64-linux-gnu/libgcc_s.so.1
                0x003fe6c84000-0x003fe6d07000   
/usr/lib/riscv64-linux-gnu/libm.so.6
                0x003fe6d07000-0x003fe6d08000   
/usr/lib/riscv64-linux-gnu/libm.so.6
                0x003fe6d08000-0x003fe6d09000   
/usr/lib/riscv64-linux-gnu/libm.so.6
                0x003fe6d09000-0x003fe6e5e000   
/usr/lib/riscv64-linux-gnu/libc.so.6
                0x003fe6e5e000-0x003fe6e61000   
/usr/lib/riscv64-linux-gnu/libc.so.6
                0x003fe6e61000-0x003fe6e63000   
/usr/lib/riscv64-linux-gnu/libc.so.6
                0x003fe6e63000-0x003fe6e6f000   
                0x003fe6e6f000-0x003fe6f09000   
/tmp/TestSharedtsan_shared3507443847/001/libtsan_shared.so
                0x003fe6f09000-0x003fe6f6f000   
/tmp/TestSharedtsan_shared3507443847/001/libtsan_shared.so
                0x003fe6f6f000-0x003fe6f74000   
/tmp/TestSharedtsan_shared3507443847/001/libtsan_shared.so
                0x003fe6f74000-0x003fe6f97000   
                0x003fe6f97000-0x003fe70b9000   
/usr/lib/riscv64-linux-gnu/libtsan.so.2.0.0
                0x003fe70b9000-0x003fe70be000   
/usr/lib/riscv64-linux-gnu/libtsan.so.2.0.0
                0x003fe70be000-0x003fe70c6000   
/usr/lib/riscv64-linux-gnu/libtsan.so.2.0.0
                0x003fe70c6000-0x003ff7fd6000   
                0x003ff7fd6000-0x003ff7fd9000   
                0x003ff7fd9000-0x003ff7fdb000   [vvar]
                0x003ff7fdb000-0x003ff7fdc000   [vdso]
                0x003ff7fdc000-0x003ff7ffc000   
/usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1
                0x003ff7ffc000-0x003ff7ffe000   
/usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1
                0x003ff7ffe000-0x003ff7fff000   
/usr/lib/riscv64-linux-gnu/ld-linux-riscv64-lp64d.so.1
                0x003ff7fff000-0x003ff8000000   
                0x003ffffde000-0x004000000000   [stack]
            ==63940==End of process memory map.
--- FAIL: TestTSAN (173.01s)
    --- FAIL: TestTSAN/tsan (35.03s)
        tsan_test.go:95: /usr/bin/setarch riscv64 -R 
/tmp/TestTSANtsan1239464039/001/tsan exited with exit status 66
```

see: 
https://buildd.debian.org/status/fetch.php?pkg=golang-1.24&arch=riscv64&ver=1.24.4-3&stamp=1755794098&raw=0

From golang expert and here[0], it seems riscv64 race detector is not
support yet,  but not sure which part trigger the test within uploading
recently or other packages. Ideally the test case will be skipped when
memory mapping is not match. Maybe we need to skip it explicitly?

I will test it with skipping the test case.

[0]: https://github.com/golang/go/issues/64345


-- 
Regards,
--
  Bo YU

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: golang-1.24
Source-Version: 1.24.4-4
Done: Bo YU <[email protected]>

We believe that the bug you reported is fixed in the latest version of
golang-1.24, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bo YU <[email protected]> (supplier of updated golang-1.24 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 19 Sep 2025 21:09:50 -0700
Source: golang-1.24
Architecture: source
Version: 1.24.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Compiler Team <[email protected]>
Changed-By: Bo YU <[email protected]>
Closes: 1112166 1114841
Changes:
 golang-1.24 (1.24.4-4) unstable; urgency=medium
 .
   * Skip failing TSAN tests on riscv64 (Closes: #1112166)
   * Fix cgo on riscv64 internal linker issue (Closes: #1114841)
Checksums-Sha1:
 ac5bf6739946b8789c33ef8f8a09dcd0d984359c 2923 golang-1.24_1.24.4-4.dsc
 aa4e6654b0c2295a408a5176499a7dbf54367239 45344 
golang-1.24_1.24.4-4.debian.tar.xz
 f8710672cdb536772a1a3880c98ff16ec921def1 5486 
golang-1.24_1.24.4-4_source.buildinfo
Checksums-Sha256:
 29ffc85c1e64a2b9412d3e2319d1c4a80d63953a6807b4c1f76f32938fe807d1 2923 
golang-1.24_1.24.4-4.dsc
 6dacc7ea0da1ae0da306b6a056b26fbe1a28a7c76370c007f3cd645a8ded7137 45344 
golang-1.24_1.24.4-4.debian.tar.xz
 6f53976ba4688ca14fcf1906949e96fbc52a10d820dc94a21d2ef2f6bbfe0d72 5486 
golang-1.24_1.24.4-4_source.buildinfo
Files:
 16b314a4350b2791b4f8084d942a47c9 2923 golang optional golang-1.24_1.24.4-4.dsc
 47af70e847cda9795576a7948de7b696 45344 golang optional 
golang-1.24_1.24.4-4.debian.tar.xz
 ecd315f6ad376b896afb59ee7f8c73b8 5486 golang optional 
golang-1.24_1.24.4-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEtC9oGQB/APiONk/UA2qcJb81fdQFAmjOKVISHHRpYW5vbkBk
ZWJpYW4ub3JnAAoJEANqnCW/NX3UqNEP/2VJCXfUIpoca0u/f6OKAJL0PSRb0i7q
ZrhHZA+LsrmfJUXxVfvujYc7/DrHHShIn/Ou3tnnRFl9JpCcAKmI2Uz9onSeeyBB
RS8d4d33sxdgiUl8kZpGHYtlTDYUVVb5Rj0HxuRNTQnCvNxS25OG+4bp0VCBjHKH
ySIQiOzcdYMXECxpTmuwX52FGqmwYxr3EJY08yg2HMjnfiHEUgEOyISqJfsp1Xba
dju4Nlv3uj0jZBzBt9GLd4Tq1qfI58i6MOaTpGuAbvlSXVHEAgIamHCVNOvyzPcr
Y/MTVmUSuhkSUTX98+Tlx9SwFpvAA4ylRCkI9LIWJzxqjS7yju6X15vmzQgBxXei
ptH6pSt5p8s7efSzXsF7NX7cQBY32sbGUp0UurOKwX6x2d4WvzXAFV2VWTsjeuea
k20aCrvmY2orZjk82g9r2RR47y5tf+hkgwyIyWloyXgPsrsPq5747sUC1LlobUcz
+WSHao9CyaBhuF2HAKfrt8I4pWglTWFogTakt8EwJOrgM2UfFRQMRMrF761P/fxl
sYxeKIwZj+Pdy9evxBx7ygTNPyWicG+PxOfj+luuVJwUbEKZ1zVVL+w1f47XSm2V
WbitkxGeC/kV/nQXeqiR6ewvvAXnsIxF2UD6XQCLcRC8kgVrDsoIrJS9d4ynSpqL
YQPkabxXzSr1
=/i7K
-----END PGP SIGNATURE-----

Attachment: pgpU1qfru7rZX.pgp
Description: PGP signature


--- End Message ---

Reply via email to