libroot.so doesnt compile with DEBUG=1
I think this is related to some "extern inline" functions,
but I dont know how to fix it.
...patience...
...patience...
...found 3036 target(s)...
...updating 1 target(s)...
Link generated/objects/haiku/x86/debug_1/system/libroot/libroot.so
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x12cc):
In function `wcscoll':
/boot/home/develop/haiku/src/servers/media/../../system/libroot/posix/glibc/wcsmbs/../string/strcoll.c:158:
undefined reference to `libc_use_alloca'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x5dfd):
In function `round_and_return':
/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:271:
undefined reference to `mpn_add_1'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x5f6a):
In function `str_to_mpn':
/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:332:
undefined reference to `mpn_add_1'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x609a):/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:387:
undefined reference to `mpn_add_1'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x8e3d):
In function `round_and_return':
/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:271:
undefined reference to `mpn_add_1'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x8f8a):
In function `str_to_mpn':
/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:332:
undefined reference to `mpn_add_1'
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0x90ba):/boot/home/develop/haiku/src/servers/media/../../../src/system/libroot/posix/glibc/stdlib/strtod.c:387:
more undefined references to `mpn_add_1' follow
generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o(.text+0xe1ae):
In function `wcsxfrm':
/boot/home/develop/haiku/src/servers/media/../../system/libroot/posix/glibc/wcsmbs/../string/strxfrm.c:178:
undefined reference to `libc_use_alloca'
collect2: ld returned 1 exit status
Hopefully fixed in revision 17476.