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

liberts.a missing since OTP 25 #8653

Closed
alanj853 opened this issue Jul 10, 2024 · 2 comments
Closed

liberts.a missing since OTP 25 #8653

alanj853 opened this issue Jul 10, 2024 · 2 comments
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@alanj853
Copy link

alanj853 commented Jul 10, 2024

Describe the bug
This is more a question than a bug. Since OTP 25, liberts.a appears to be missing from standard build. Is there a replacement library that can be used, or does some other option need to be enabled/disabled at configure time in order to produce it?

To Reproduce
First compile OTP 25

  1. git clone --branch=maint-25 https://github.com/erlang/otp && cd otp
  2. mkdir -p /home/user/src/otp-25-install/
  3. ./configure --prefix=/home/user/src/otp-25-install/
  4. make && make install

Next, Compile OTP 24

  1. git checkout maint-24
  2. mkdir -p /home/user/src/otp-24-install/
  3. ./configure --prefix=/home/user/src/otp-24-install/
  4. make && make install

Expected behavior
I expected both OTP versions to produce a liberts.a file, but otp-25 does not appear to:

user@ubuntu-22:~/src/otp$ find otp-24-install/ -name "liberts.a"
otp-24-install/lib/erlang/erts-12.3.2.17/lib/liberts.a
otp-24-install/lib/erlang/usr/lib/liberts.a
user@ubuntu-22:~/src/otp$ find otp-25-install/ -name "liberts.a"
user@ubuntu-22:~/src/otp$

Affected versions
OTP 25

Additional context
Performed on a Ubuntu 22 machine.

@alanj853 alanj853 added the bug Issue is reported as a bug label Jul 10, 2024
@jhogberg
Copy link
Contributor

Thanks for your report! The library was removed because it was empty and no longer needed (69994d5), was there anything in particular in this library that you used to rely on?

@alanj853
Copy link
Author

Thank you for the fast reply, @jhogberg! I am currently cross-compiling an Elixir Application, and one of the dependencies of that project is looking for it. Looking at the commit you references, I don't think the application really needs that code.

@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Jul 11, 2024
@jhogberg jhogberg self-assigned this Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

4 participants