Your message dated Sat, 20 Sep 2025 04:36:43 +0000
with message-id <[email protected]>
and subject line Bug#1115478: fixed in golang-1.25 1.25.0-2
has caused the Debian Bug report #1115478,
regarding golang-1.25: 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.)


-- 
1115478: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115478
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.25
Source-Version: 1.25.0-2
Done: Tianon Gravi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
golang-1.25, 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.
Tianon Gravi <[email protected]> (supplier of updated golang-1.25 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:11:23 -0700
Source: golang-1.25
Architecture: source
Version: 1.25.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Compiler Team <[email protected]>
Changed-By: Tianon Gravi <[email protected]>
Closes: 1100436 1115478
Changes:
 golang-1.25 (1.25.0-2) unstable; urgency=medium
 .
   [ Tianon Gravi ]
   * Add support for cross-building natively (Closes: #1100436)
     - https://salsa.debian.org/go-team/compiler/golang/-/merge_requests/21
   * Clean up debian/helpers/goenv.sh (notably no more go1.16 support)
 .
   [ Bo YU ]
   * Skip failing TSAN tests on riscv64 (Closes: #1115478)
Checksums-Sha1:
 fba65a676ba5d17c96dc4795a7b47bdc976902d9 2923 golang-1.25_1.25.0-2.dsc
 5a08af8588058bd6a2461042b6d417c5ff3557fc 43876 
golang-1.25_1.25.0-2.debian.tar.xz
 ffdbb17e3a2f73bcfb69ec13e4a6d19540c35db8 5486 
golang-1.25_1.25.0-2_source.buildinfo
Checksums-Sha256:
 88f02f7fb4940736b2f9f76133ea8e8e318942ce09f7803f453839d56db7bf7a 2923 
golang-1.25_1.25.0-2.dsc
 ebb50be9ff5c82741454857283570084c3a04edd7ad345f85daf399fc87ca916 43876 
golang-1.25_1.25.0-2.debian.tar.xz
 9c654eb243a040afe50064725cc4fa93d7fceb5dac2574f312575f6d5aee7a96 5486 
golang-1.25_1.25.0-2_source.buildinfo
Files:
 75bef2aa922f660196f12025e799f5fb 2923 golang optional golang-1.25_1.25.0-2.dsc
 297d5d1c3f2054b9742002c1f16c29f3 43876 golang optional 
golang-1.25_1.25.0-2.debian.tar.xz
 f6f8d8646b687bc11e14849dce428fd6 5486 golang optional 
golang-1.25_1.25.0-2_source.buildinfo

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

iQJGBAEBCgAwFiEEtC9oGQB/APiONk/UA2qcJb81fdQFAmjOKcsSHHRpYW5vbkBk
ZWJpYW4ub3JnAAoJEANqnCW/NX3UA8wQALx0DEHDTBMRsp0ju0WE5ZUYFWZUYDRS
Iuip9ozhL2eJhC+c+YEfo91u/QI4FLDDP5UFXqVV22ZvZXWKHdz4ibxU7ibBgCem
eWZ4rO9Huv/jRQHpfHa2VleqPv6l0Oamlqo/ZYVNev5mYIrpBsTaSG1xbpbPWVzI
LvAoGffGPkvWz69Lluorq1KlGmo09ne6KExgVP/wzoKLki1jRHkOru/dQUqT4HrU
uE2ALZjpFNlGB1i6IZv1kx+dd8Tw5yNHj9MuNuS28zQLZ0IlH7oe5tTMSpe/ifYS
1p5HWJgKXYUu+fKS4mMje6/10QHiAt3vHVoZ+4gSXeNwPfO5z+TVePBwoKex4Abc
NaDkqB6oHTWFXd1hQAbAs94Axc1mZw0Da+R8dt6ryGJARcnhiJ/YDVmCC0ICWnqm
fZxmE5FTda6576C0dxw77AQt1mrTfzlxcwFiD8qwZt+H9OmC0fwrA44A8oYWtAl/
6tCyDrw7aL1x0S1S01zKdkkAzxZPLnizUcEmW18gj0jjDAD78pRf9VLb2WLEu0V9
CCKaNsIoRQY/c5pRjm3727J8MBb2Z+qG2x3LzwaUcdKDwSxEcImFsZEPJLtUZwRk
H6DqEKKdolV89Jxtpga1P0P38sSJYX4dCul4NhwLehUJdShhposdR7ZSrROqhlXY
eVB2caOLIu7C
=fwZ3
-----END PGP SIGNATURE-----

Attachment: pgp_qj1IXxJCl.pgp
Description: PGP signature


--- End Message ---

Reply via email to