Skip to content

Commit 64f81f1

Browse files
committed
Merge branch 'master-3.1' into dist/3.1/focal
2 parents e8097f0 + 5c08581 commit 64f81f1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+1878
-303
lines changed

ChangeLog

Lines changed: 830 additions & 0 deletions
Large diffs are not rendered by default.

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ no-test-bundled-gems-prepare: no-test-bundled-gems-precheck
14081408
yes-test-bundled-gems-prepare: yes-test-bundled-gems-precheck
14091409
$(ACTIONS_GROUP)
14101410
$(XRUBY) -C "$(srcdir)" bin/gem install --no-document \
1411-
--install-dir .bundle --conservative "bundler" "minitest:~> 5" "test-unit" "rake" "hoe" "yard" "pry" "packnga" "rexml" "json-schema" "test-unit-rr"
1411+
--install-dir .bundle --conservative "bundler" "minitest:~> 5" "test-unit" "rake" "hoe:~> 3.26" "yard" "pry" "packnga" "rexml" "json-schema" "test-unit-rr"
14121412
$(ACTIONS_ENDGROUP)
14131413

14141414
PREPARE_BUNDLED_GEMS = test-bundled-gems-prepare

compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12659,7 +12659,7 @@ ibf_dump_memsize(const void *ptr)
1265912659
static const rb_data_type_t ibf_dump_type = {
1266012660
"ibf_dump",
1266112661
{ibf_dump_mark, ibf_dump_free, ibf_dump_memsize,},
12662-
0, 0, RUBY_TYPED_WB_PROTECTED | RUBY_TYPED_FREE_IMMEDIATELY
12662+
0, 0, RUBY_TYPED_FREE_IMMEDIATELY
1266312663
};
1266412664

1266512665
static void

configure

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29366,6 +29366,40 @@ else $as_nop
2936629366
printf "%s\n" "#define STACK_GROW_DIRECTION $stack_dir" >>confdefs.h
2936729367

2936829368

29369+
fi
29370+
29371+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if thread-local storage is supported" >&5
29372+
printf %s "checking if thread-local storage is supported... " >&6; }
29373+
if test ${rb_cv_tls_supported+y}
29374+
then :
29375+
printf %s "(cached) " >&6
29376+
else $as_nop
29377+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29378+
/* end confdefs.h. */
29379+
int __thread conftest;
29380+
int
29381+
main (void)
29382+
{
29383+
29384+
;
29385+
return 0;
29386+
}
29387+
_ACEOF
29388+
if ac_fn_c_try_link "$LINENO"
29389+
then :
29390+
rb_cv_tls_supported=yes
29391+
else $as_nop
29392+
rb_cv_tls_supported=no
29393+
fi
29394+
rm -f core conftest.err conftest.$ac_objext conftest.beam \
29395+
conftest$ac_exeext conftest.$ac_ext
29396+
fi
29397+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $rb_cv_tls_supported" >&5
29398+
colorize_result "$rb_cv_tls_supported" ; }
29399+
if test x"$rb_cv_tls_supported" != xyes
29400+
then :
29401+
printf "%s\n" "#define RB_THREAD_LOCAL_SPECIFIER_IS_UNSUPPORTED 1" >>confdefs.h
29402+
2936929403
fi
2937029404

2937129405
else $as_nop

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,6 +2530,13 @@ AS_IF([test "${universal_binary-no}" = yes ], [
25302530
], [
25312531
AC_DEFINE_UNQUOTED(STACK_GROW_DIRECTION, $stack_dir)
25322532
])
2533+
2534+
AC_CACHE_CHECK([if thread-local storage is supported], [rb_cv_tls_supported],
2535+
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[int __thread conftest;]])],
2536+
[rb_cv_tls_supported=yes],
2537+
[rb_cv_tls_supported=no])])
2538+
AS_IF([test x"$rb_cv_tls_supported" != xyes],
2539+
[AC_DEFINE(RB_THREAD_LOCAL_SPECIFIER_IS_UNSUPPORTED)])
25332540
], [
25342541
RUBY_STACK_GROW_DIRECTION($target_cpu, dir)
25352542
AC_DEFINE_UNQUOTED(STACK_GROW_DIRECTION, $dir)

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
ruby3.1 (3.1.4-0nkmi1~dist) unstable; urgency=medium
2+
3+
* Ruby 3.1.4
4+
5+
-- Sorah Fukumori <[email protected]> Fri, 31 Mar 2023 10:54:56 +0900
6+
17
ruby3.1 (3.1.3-0nkmi1~dist) unstable; urgency=medium
28

39
* Ruby 3.1.3

debian/libruby3.1.symbols

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,6 @@ libruby-3.1.so.3.1 libruby3.1 #MINVER#
17561756
ruby_hexdigits@Base 3.1.0
17571757
ruby_incpush@Base 3.1.0
17581758
ruby_init@Base 3.1.0
1759-
ruby_init_ext@Base 3.1.0
17601759
ruby_init_loadpath@Base 3.1.0
17611760
ruby_init_setproctitle@Base 3.1.0
17621761
ruby_init_stack@Base 3.1.0

debian/patches/Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Updated by John Paul Adrian Glaubitz <[email protected]> on
1212
1 file changed, 3 insertions(+)
1313

1414
diff --git a/configure.ac b/configure.ac
15-
index fcae66f..3f454e5 100644
15+
index 0bc6a7a..d1bbd17 100644
1616
--- a/configure.ac
1717
+++ b/configure.ac
18-
@@ -2550,6 +2550,9 @@ AS_CASE([$coroutine_type], [yes|''], [
18+
@@ -2557,6 +2557,9 @@ AS_CASE([$coroutine_type], [yes|''], [
1919
[arm64-darwin*], [
2020
coroutine_type=arm64
2121
],

debian/patches/Fix-for-tzdata-2022g.patch

Lines changed: 0 additions & 63 deletions
This file was deleted.

debian/patches/Honor-the-tool-prefix-against-pkg-config.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Subject: Honor the tool prefix against pkg-config
77
1 file changed, 8 insertions(+), 5 deletions(-)
88

99
diff --git a/configure.ac b/configure.ac
10-
index 3f454e5..9d1b527 100644
10+
index d1bbd17..b414cf3 100644
1111
--- a/configure.ac
1212
+++ b/configure.ac
1313
@@ -496,11 +496,14 @@ AS_IF([test "$cross_compiling:$ac_cv_prog_DTRACE" = no: -a -n "$ac_tool_prefix"]

0 commit comments

Comments
 (0)