[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1847: integer overflow when running 6.0.0pre1 tests (2)
From: |
Chicken Trac |
Subject: |
Re: #1847: integer overflow when running 6.0.0pre1 tests (2) |
Date: |
Thu, 23 Jan 2025 10:12:42 -0000 |
#1847: integer overflow when running 6.0.0pre1 tests (2)
--------------------------------+---------------------
Reporter: Erica Z | Owner: (none)
Type: defect | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 6.0.0
Resolution: | Keywords:
Estimated difficulty: medium |
--------------------------------+---------------------
Comment (by sjamaan):
OK, that helps, after installing clang 19 I'm getting an illegal
instruction straight away on the first test, with those options you
mention.
How can I get the full runtime (like you mentioned above) in order to get
better diagnostics? I tried adding `-fsanitize=undefined`, but that just
results in boatloads of linker errors like the following random snapshot
from the output:
{{{
c-backend.c:(.text+0xa78ec): undefined reference to
`__ubsan_handle_function_type_mismatch_abort'
/nix/store/vk4mlknqk9yjbqa68a7rvpfxfdw3rad7-binutils-2.43.1/bin/ld: user-
pass.o: in function `C_user_2dpass_toplevel':
user-pass.c:(.text+0xf5): undefined reference to
`__ubsan_handle_builtin_unreachable'
}}}
This happens both on NixOS and Debian (after struggling for a while
figuring out I needed `libclang-rt-19-dev` to get
`libclang_rt.ubsan_standalone.a`). Is there some magic option I need to
pass to make it work?
--
Ticket URL: <https://bugs.call-cc.org/ticket/1847#comment:7>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/07
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/14
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/22
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2),
Chicken Trac <=
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/24
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/28
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/30
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/31
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/31
- Re: #1847: integer overflow when running 6.0.0pre1 tests (2), Chicken Trac, 2025/01/31