[#119000] [Ruby master Bug#20710] Reducing Hash allocation introduces large performance degradation (probably related to VWA) — "pocke (Masataka Kuwabara) via ruby-core" <ruby-core@...>

Issue #20710 has been reported by pocke (Masataka Kuwabara).

6 messages 2024/09/02

[#119033] [Ruby master Bug#20713] Ruby 3.3.5 triggers a deprecation warning with `require "json"` — "Bo98 (Bo Anderson) via ruby-core" <ruby-core@...>

Issue #20713 has been reported by Bo98 (Bo Anderson).

7 messages 2024/09/04

[#119041] [Ruby master Bug#20714] Handle optional dependencies in `bundled_gems.rb` — "Earlopain (A S) via ruby-core" <ruby-core@...>

Issue #20714 has been reported by Earlopain (A S).

31 messages 2024/09/04

[#119074] [Ruby master Bug#20716] Different instance_method behavior in Ruby 2.7 and Ruby 3.x — "natton (Tien Truong) via ruby-core" <ruby-core@...>

Issue #20716 has been reported by natton (Tien Truong).

13 messages 2024/09/06

[#119145] [Ruby master Misc#20728] Propose Eileen Uchitelle as a core committer — "kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>

Issue #20728 has been reported by kddnewton (Kevin Newton).

14 messages 2024/09/12

[#119168] [Ruby master Feature#20738] Removing a specific entry from a hash literal — "ursm (Keita Urashima) via ruby-core" <ruby-core@...>

Issue #20738 has been reported by ursm (Keita Urashima).

16 messages 2024/09/13

[#119199] [Ruby master Bug#20742] Trying to assign to a variable in statement modifier should emit a warning — "esad (Esad Hajdarevic) via ruby-core" <ruby-core@...>

SXNzdWUgIzIwNzQyIGhhcyBiZWVuIHJlcG9ydGVkIGJ5IGVzYWQgKEVzYWQgSGFqZGFyZXZpYyku

7 messages 2024/09/15

[#119208] [Ruby master Bug#20745] IO::Buffer#copy triggers UB when src/dest buffers overlap — "hanazuki (Kasumi Hanazuki) via ruby-core" <ruby-core@...>

Issue #20745 has been reported by hanazuki (Kasumi Hanazuki).

8 messages 2024/09/16

[#119239] [Ruby master Feature#20750] Expose ruby_thread_has_gvl_p in ruby/thread.h — "kbrock (Keenan Brock) via ruby-core" <ruby-core@...>

Issue #20750 has been reported by kbrock (Keenan Brock).

8 messages 2024/09/17

[#119248] [Ruby master Bug#20752] IO::Buffer#slice fails to copy readonly flag, allowing writes into frozen String — "hanazuki (Kasumi Hanazuki) via ruby-core" <ruby-core@...>

Issue #20752 has been reported by hanazuki (Kasumi Hanazuki).

7 messages 2024/09/18

[#119301] [Ruby master Bug#20761] [DOC] `RubyVM::AbstractSyntaxTree.of` examples raise because parser is prism by default — "Earlopain (A S) via ruby-core" <ruby-core@...>

Issue #20761 has been reported by Earlopain (A S).

11 messages 2024/09/26

[#119335] [Ruby master Bug#20770] A *new* pipe operator proposal — "AlexandreMagro (Alexandre Magro) via ruby-core" <ruby-core@...>

Issue #20770 has been reported by AlexandreMagro (Alexandre Magro).

56 messages 2024/09/29

[ruby-core:119258] [Ruby master Bug#20734] Test failure at FreeBSD 14.1

From: "hsbt (Hiroshi SHIBATA) via ruby-core" <ruby-core@...>
Date: 2024-09-19 04:20:12 UTC
List: ruby-core #119258
Issue #20734 has been updated by hsbt (Hiroshi SHIBATA).

Subject changed from Build failure at FreeBSD 14.1 to Test failure at FreeBSD 14.1
Status changed from Open to Assigned
Assignee set to byroot (Jean Boussier)

I confirmed that https://github.com/ruby/ruby/commit/63cbe3f6ac9feb44a2e43b1f853e2ca7e049316c is not working with FreeBSD 14.

```
$ make btest
2024-09-19 04:08:20 +0000
Driver is ruby 3.2.4 (2024-04-23 revision af471c0e01) [amd64-freebsd14]
Target is ruby 3.4.0dev (2024-09-17T03:54:00Z master 4ca588eede) +PRISM [amd64-freebsd14.1]

test_attr.rb              PASS 3
test_autoload.rb          PASS 8
test_block.rb             PASS 58
test_class.rb             PASS 48
test_constant_cache.rb    PASS 10
test_env.rb               PASS 2
test_eval.rb              PASS 49
test_exception.rb         PASS 34
test_fiber.rb             PASS 6
test_finalizer.rb         PASS 2
test_flip.rb              PASS 1
test_flow.rb              PASS 62
#284 test_fork.rb:1:
     begin
       GC.stress = true
       pid = fork {}
       Process.wait pid
       $?.to_i
     rescue NotImplementedError
       0
     end
  #=> "134" (expected "0")  [ruby-dev:32404]
stderr output is not empty
   bootstraptest.test_fork.rb_1_284.rb:6: [BUG] pthread_rwlock_unlock: Operation not permitted (EPERM)
   ruby 3.4.0dev (2024-09-17T03:54:00Z master 4ca588eede) +PRISM [amd64-freebsd14.1]
```

full log is here: https://gist.github.com/hsbt/cf8d52921d895fab31c66909a3db5537 (It's over the 70000 lines)

I also confirm `make btest` at FreeBSD 14 is working with reverting https://github.com/ruby/ruby/commit/63cbe3f6ac9feb44a2e43b1f853e2ca7e049316c.

@byroot Can you look this? 

----------------------------------------
Bug #20734: Test failure at FreeBSD 14.1
https://bugs.ruby-lang.org/issues/20734#change-109842

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Assignee: byroot (Jean Boussier)
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
FreeBSD 14.1 build is also failure with ruby master. This is different error from #20733 

```
[hsbt@freebsd ~/ruby]$ make
        BASERUBY = /usr/local/bin/ruby --disable=gems
        CC = clang
        LD = ld
        LDSHARED = clang -shared
        CFLAGS = -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef
        XCFLAGS = -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/amd64-freebsd14.1 -I./include -I. -I./prism -I./enc/unicode/15.0.0
        CPPFLAGS =
        DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,showflags -fstack-protector-strong -pie
        SOLIBS = -lexecinfo -lprocstat -lz -lrt -lrt -ldl -lcrypt -lm -lthr
        LANG = C.UTF-8
        LC_ALL =
        LC_CTYPE =
        MFLAGS =
        RUSTC = rustc
        YJIT_RUSTC_ARGS = --crate-name=yjit  --crate-type=staticlib  --edition=2021  -g  -C lto=thin  -C opt-level=3  -C overflow-checks=on  '--out-dir=/home/hsbt/ruby/yjit/target/release/'  ./yjit/src/lib.rs
FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)
Target: x86_64-unknown-freebsd14.1
Thread model: posix
InstalledDir: /usr/bin
compiling version.c
In file included from version.c:14:
./version.h:29:5: error: invalid suffix 'RUBY_RELEASE_MONTH' on integer constant
   29 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_MONTH)
      |     ^
./version.h:25:27: note: expanded from macro 'ONLY_ONE_DIGIT'
   25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000
      |                           ^
./include/ruby/internal/config.h:37:26: note: expanded from macro 'TOKEN_PASTE'
   37 | #define TOKEN_PASTE(x,y) x##y
      |                          ^
<scratch space>:156:3: note: expanded from here
  156 | 10RUBY_RELEASE_MONTH
      |   ^
In file included from version.c:14:
./version.h:34:5: error: invalid suffix 'RUBY_RELEASE_DAY' on integer constant
   34 | #if ONLY_ONE_DIGIT(RUBY_RELEASE_DAY)
      |     ^
./version.h:25:27: note: expanded from macro 'ONLY_ONE_DIGIT'
   25 | #define ONLY_ONE_DIGIT(x) TOKEN_PASTE(10,x) < 1000
      |                           ^
./include/ruby/internal/config.h:37:26: note: expanded from macro 'TOKEN_PASTE'
   37 | #define TOKEN_PASTE(x,y) x##y
      |                          ^
<scratch space>:157:3: note: expanded from here
  157 | 10RUBY_RELEASE_DAY
      |   ^
2 errors generated.
*** Error code 1

Stop.
make: stopped in /home/hsbt/ruby
```



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/


In This Thread