[#107008] [Ruby master Bug#18465] Make `IO#write` atomic. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18465 has been reported by ioquatix (Samuel Williams).
16 messages
2022/01/09
[#107150] [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically — "ko1 (Koichi Sasada)" <noreply@...>
Issue #18494 has been updated by ko1 (Koichi Sasada).
4 messages
2022/01/17
[#107170] Re: [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
— Eric Wong <normalperson@...>
2022/01/17
> https://bugs.ruby-lang.org/issues/18494
[#107302] [Ruby master Bug#18553] Memory leak on compiling method call with kwargs — "ibylich (Ilya Bylich)" <noreply@...>
Issue #18553 has been reported by ibylich (Ilya Bylich).
4 messages
2022/01/27
[#107346] [Ruby master Misc#18557] DevMeeting-2022-02-17 — "mame (Yusuke Endoh)" <noreply@...>
Issue #18557 has been reported by mame (Yusuke Endoh).
18 messages
2022/01/29
[ruby-core:107340] [Ruby master Bug#18556] error: use of undeclared identifier 'MAP_ANONYMOUS'
From:
"nobu (Nobuyoshi Nakada)" <noreply@...>
Date:
2022-01-29 07:28:39 UTC
List:
ruby-core #107340
Issue #18556 has been updated by nobu (Nobuyoshi Nakada).
Backport changed from 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED
https://github.com/ruby/ruby/pull/5506
----------------------------------------
Bug #18556: error: use of undeclared identifier 'MAP_ANONYMOUS'
https://bugs.ruby-lang.org/issues/18556#change-96237
* Author: ryandesign (Ryan Schmidt)
* Status: Open
* Priority: Normal
* ruby -v: 3.1.0
* Backport: 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED
----------------------------------------
ruby 3.1.0 fails to build on older versions of macOS such as OS X 10.10.5:
```
gc.c:11141:88: error: use of undeclared identifier 'MAP_ANONYMOUS'
char *ptr = mmap(NULL, alignment + size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
^
1 error generated.
```
`MAP_ANONYMOUS` used to be called `MAP_ANON` on older systems; I suggest either using `MAP_ANON` everywhere you're using `MAP_ANONYMOUS`, or else add a block like this somewhere central that each of those files uses:
```
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON
#endif
```
or
```
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
#define MAP_ANONYMOUS MAP_ANON
#endif
```
(Such blocks already occur in multiple places under ext/fiddle/libffi-3.2.1 in the ruby 3.1.0 source code.)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>