michals (Michal Suchánek)
- Login: michals
- Registered on: 01/27/2020
- Last sign in: 06/09/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 1 | 2 |
Activity
06/14/2022
-
05:11 PM Ruby Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- ```
--- rb_mjit_header.h 2022-06-14 18:58:52.514742594 +0200
+++ rb_mjit_min_header-3.2.0.h 2022-06-14 07:47:37.415389264 +0200
...
@@ -22947,7 +16629,7 @@
((iseq)->body)->param.flags.has_kwrest == 0 &&
... -
05:58 AM Ruby Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- ```
/tmp/20220614-16633-i2edux.h:16633:1: error: multiple storage classes in declaration specifiers
__attribute__ ((__visibility__("default"))) extern
^
compilation terminated due to -Wfatal-errors.
```
```
_Bool
rb_simple_iseq...
06/13/2022
-
02:58 PM Ruby Bug #18823: _Bool not defined for C++
- Thanks for the clarification.
I see that ruby core uses bool pretty consistently, and _Bool is used only in a few places.
Not sure where I copied it from. -
01:55 PM Ruby Bug #18823: _Bool not defined for C++
- include/ruby/internal/stdbool.h defines _Bool, and in most cases just uses bool defined by the runtime.
I have no idea how there would even be _Bool if not defined there.
_Bools is used in bigdecimal and detected in extconf so it's... -
11:06 AM Ruby Bug #18823: _Bool not defined for C++
- ```
generating cxxanyargs-x64-mswin64_140.def
compiling ../../../../src/ext/-test-/cxxanyargs/cxxanyargs.cpp
cxxanyargs.cpp
D:\a\ruby\ruby\src\include\ruby/internal/intern/select/win32.h(213): error C2061: syntax error: identifier '_... -
11:00 AM Ruby Bug #18823: _Bool not defined for C++
- I added a _Bool argument as part of other development which prevents ruby from building on older compiler versions and VS - eg. https://github.com/ruby/ruby/commit/6c72653d98c36c2a816bfff4e4e9b1c451154a9e
06/12/2022
-
09:49 PM Ruby Bug #18823: _Bool not defined for C++
- Apparently for MSVC to report the correct c++ version it needs the /Zc:__cplusplus flag.
I don't know where to inject this flag, though.
The other failure cases are probably really obsolete.
-
09:33 PM Ruby Bug #18823 (Rejected): _Bool not defined for C++
- When a _Bool argument is added to rb_fd_select ruby cannot be compiled on
VisualStudio 2022
VisualStudio 2019
gcc-5
gcc-4.8
clang-5
clang-4
clang-3.9
c++98 (llvm 14)
c++2a (llvm 14)
which suggests that `if defined(HAV... -
08:38 PM Ruby Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- ```
diff --git a/tool/transform_mjit_header.rb b/tool/transform_mjit_header.rb
index 8867c556f0..63a072573a 100644
--- a/tool/transform_mjit_header.rb
+++ b/tool/transform_mjit_header.rb
@@ -194,10 +194,10 @@ def self.conflicting_types?(... -
08:30 PM Ruby Bug #18808: Cannot compile ruby 3.1.2 on powerpc64le-linux without disabling the jit features
- Also a problem on SLE 12
Deleting the `extern` reports the same error on the next line with `__attribute__ ((__visibility__("default"))) extern` which suggests that `extern` does not go with `__attribute__ ((__visibility__("default")))`...