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

fix math library in glibc #81

Open
qianxichen233 opened this issue Jan 8, 2025 · 0 comments
Open

fix math library in glibc #81

qianxichen233 opened this issue Jan 8, 2025 · 0 comments

Comments

@qianxichen233
Copy link
Contributor

Looks like we have math library incorrectly handled and many of the files associated the math functions are compiled with wrong version. For example, for fmod function, /sysdeps/ieee754/dbl-64/w_fmod.c are used instead of math/w_fmod.c, while the former one is an empty file; __log functions depends on __ieee754_log but __ieee754_log also depends on __log, causing infinite recursion here. This is also an example of wrong files are chosen for __log or __ieee754_log.

So we need to figure out:

  1. which files of the math function are the correct file to compile
  2. how to make glibc choose these files to compile
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