General

Profile

debo (David Bohman)

  • Login: debo
  • Registered on: 10/02/2022
  • Last sign in: 11/20/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

10/08/2025

01:08 AM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
You are correct, it does build and install:
```
ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [x86_64-darwin16]
```
debo (David Bohman)
12:55 AM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
The fact that the ruby build gets these warnings seems to be new in clang 21. debo (David Bohman)
12:52 AM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
I just built ruby with `make -j <n>` where `<n>` is the number of cpu threads available on this machine. debo (David Bohman)
12:47 AM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Here is the configure log. debo (David Bohman)
12:21 AM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
I don't understand. The ruby build is what added the -Werror to the compile that failed. debo (David Bohman)

10/07/2025

11:07 PM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Attaching the build log for ruby-3.4.7.
debo (David Bohman)
11:04 PM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Note that I was using llvm-21.1.1 as the compiler toolchain when I built ruby-3.4.6. I'll try building ruby-3.4.6 again. debo (David Bohman)
10:34 PM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Note that this is a tarball build. debo (David Bohman)
10:31 PM Ruby Bug #21629: Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Let me know if you would like me to attach the entire build log.
debo (David Bohman)
10:26 PM Ruby Bug #21629 (Closed): Ruby-3.4.7 prints -Wdefault-const-init-field-unsafe warnings on clang / llvm 21
Here is the error I encountered. This is using clang version 21.1.3 as the compiler toolchain on Darwin.
```
DYLD_LIBRARY_PATH=.:../../.. ASAN_OPTIONS=detect_leaks=0 "clang -I../../../.ext/include/x86_64-darwin16 -I../../../../ruby-3...
debo (David Bohman)

Also available in: Atom