Hi, Ronald Wahl wrote, > 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.
Thanks, applied and pushed, best regards Waldemar _______________________________________________ devel mailing list devel@uclibc-ng.org https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel