On 28.11.2017 19:13, Waldemar Brodkorb wrote:
Hi,
Ronald Wahl wrote,
On 28.11.2017 19:03, Waldemar Brodkorb wrote:
Ronald Wahl wrote,
just tried updating to uclibc-ng 1.0.27 and now I
get the following
during build:
build-for-target/libc/libc_so.a(w_j0.os): In function `j0':
./uclibc-ng/libm/w_j0.c:34: undefined reference to `__ieee754_j0'
build-for-target/libc/libc_so.a(w_j0.os): In function `y0':
./uclibc-ng/libm/w_j0.c:62: undefined reference to `__ieee754_y0'
build-for-target/libc/libc_so.a(w_j0f.os): In function `y0f':
./uclibc-ng/libm/w_j0f.c:66: undefined reference to `__ieee754_y0f'
build-for-target/libc/libc_so.a(w_j1.os): In function `j1':
./uclibc-ng/libm/w_j1.c:35: undefined reference to `__ieee754_j1'
build-for-target/libc/libc_so.a(w_j1.os): In function `y1':
./uclibc-ng/libm/w_j1.c:63: undefined reference to `__ieee754_y1'
build-for-target/libc/libc_so.a(w_jn.os): In function `jn':
./uclibc-ng/libm/w_jn.c:34: undefined reference to `__ieee754_jn'
build-for-target/libc/libc_so.a(w_jn.os): In function `yn':
./uclibc-ng/libm/w_jn.c:62: undefined reference to `__ieee754_yn'
This is because I have DO_XSI_MATH disabled and commit
ea38f4d89c9698895b1cf53a5946429dc1d8bbaa added a lot of files to compile
unconditionally that use functions only enabled with DO_XSI_MATH.
Thanks for the bug report Ronald.
Sergey, you contributed the math rework patch, could you have a
look?
Conditionally compiling the files
w_j0.c w_j0f.c w_j0l.c
w_j1.c w_j1f.c w_j1l.c
w_jn.c w_jnf.c w_jnl.c
seems to be enough. Not sure if DO_C99_MATH needs to be set as well.
DO_XSI_MATH and DO_C99_MATH do not depend on each other.
Could you sent a patch for that?
Patch attached.
- ron
--
Raritan Deutschland GmbH, Kornmarkt 7, 08056 Zwickau, Germany
Amtsgericht Chemnitz HRB 23605, Geschäftsführung: Ralf Ploenes
________________________________
Ce message, ainsi que tous les fichiers joints à ce message, peuvent contenir des
informations sensibles et/ ou confidentielles ne devant pas être divulguées. Si vous
n'êtes pas le destinataire de ce message (ou que vous recevez ce message par erreur),
nous vous remercions de le notifier immédiatement à son expéditeur, et de détruire ce
message. Toute copie, divulgation, modification, utilisation ou diffusion, non autorisée,
directe ou indirecte, de tout ou partie de ce message, est strictement interdite.
This e-mail, and any document attached hereby, may contain confidential and/or privileged
information. If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any unauthorized, direct or
indirect, copying, disclosure, distribution or other use of the material or parts thereof
is strictly forbidden.