Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation fails using TruffleRuby #220

Open
puni073 opened this issue Feb 16, 2025 · 0 comments
Open

installation fails using TruffleRuby #220

puni073 opened this issue Feb 16, 2025 · 0 comments

Comments

@puni073
Copy link

puni073 commented Feb 16, 2025

ruby --version

truffleruby 24.1.1, like ruby 3.2.4, Oracle GraalVM Native [x86_64-linux]

gem install numo-narray

compiling narray.c
narray.c: In function ‘nary_copy_flags’:
narray.c:948:5: error: implicit declaration of function ‘RBASIC’ [-Werror=implicit-function-declaration]
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |     ^~~~~~
narray.c:948:16: error: invalid type argument of ‘->’ (have ‘int’)
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |                ^~
narray.c:948:39: error: invalid type argument of ‘->’ (have ‘int’)
  948 |     RBASIC(dst)->flags |= (RBASIC(src)->flags) &
      |                                       ^~
cc1: some warnings being treated as errors
make: *** [Makefile:583: narray.o] Error 1

This could be fixed with the replacement
oracle/truffleruby#3751 (comment)
oracle/truffleruby#3118 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant