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

ABI version only in devel #6231

Merged
merged 1 commit into from Aug 12, 2022
Merged

ABI version only in devel #6231

merged 1 commit into from Aug 12, 2022

Conversation

nobu
Copy link
Member

@nobu nobu commented Aug 11, 2022

As written in include/ruby/internal/abi.h, in released versions of Ruby since teeny versions of Ruby should guarantee ABI compatibility, RUBY_ABI_VERSION has no role.

@nobu nobu force-pushed the ABI-only-in-devel branch 3 times, most recently from abcb16d to cfab848 Compare August 11, 2022 14:29
As commented in include/ruby/internal/abi.h, since teeny versions of
Ruby should guarantee ABI compatibility, `RUBY_ABI_VERSION` has no role
in released versions of Ruby.
@nobu nobu merged commit cd1a0b3 into ruby:master Aug 12, 2022
@nobu nobu deleted the ABI-only-in-devel branch August 12, 2022 06:57
stanhu added a commit to stanhu/grpc that referenced this pull request Dec 30, 2022
Previously attempting to compile would result in undefined symbol::

```
Undefined symbols for architecture arm64:
  "_ruby_abi_version", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

As noted in ruby/ruby#6231,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
stanhu added a commit to stanhu/grpc that referenced this pull request Dec 30, 2022
Previously attempting to build the Ruby C extensionwould result in
undefined symbol:

```
Undefined symbols for architecture arm64:
  "_ruby_abi_version", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

As noted in ruby/ruby#6231,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
gsamokovarov pushed a commit to dext/grpc that referenced this pull request Jan 3, 2023
Previously attempting to build the Ruby C extensionwould result in
undefined symbol:

```
Undefined symbols for architecture arm64:
  "_ruby_abi_version", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

As noted in ruby/ruby#6231,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
apolcyn pushed a commit to grpc/grpc that referenced this pull request Jan 5, 2023
Previously attempting to build the Ruby C extensionwould result in
undefined symbol:

```
Undefined symbols for architecture arm64:
  "_ruby_abi_version", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

As noted in ruby/ruby#6231,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
wanlin31 pushed a commit to grpc/grpc that referenced this pull request May 18, 2023
Previously attempting to build the Ruby C extensionwould result in
undefined symbol:

```
Undefined symbols for architecture arm64:
  "_ruby_abi_version", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

As noted in ruby/ruby#6231,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant