When trying to compile a debug build of libroot.so, the build is aborting with this message:
Link ../generated/objects/haiku/x86/debug_1/system/libroot/libroot.so../generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/iconv/posix_gnu_iconv.o: In function `add_module': /home/bga/haiku/src/haiku/src/system/libroot/posix/glibc/iconv/gconv_conf.c:261: undefined reference to `__toupper_l' /home/bga/haiku/src/haiku/src/system/libroot/posix/glibc/iconv/gconv_conf.c:271: undefined reference to `__toupper_l' ../generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/iconv/posix_gnu_iconv.o: In function `add_alias': /home/bga/haiku/src/haiku/src/system/libroot/posix/glibc/iconv/gconv_conf.c:139: undefined reference to `__toupper_l' /home/bga/haiku/src/haiku/src/system/libroot/posix/glibc/iconv/gconv_conf.c:148: undefined reference to `__toupper_l' ../generated/objects/haiku/x86/debug_1/system/libroot/posix/glibc/wcsmbs/posix_gnu_wcsmbs.o: In function `__wcsmbs_load_conv': /home/bga/haiku/src/haiku/src/system/libroot/posix/glibc/wcsmbs/wcsmbsload.c:201: undefined reference to `__toupper_l'
collect2: ld returned 1 exit statusAny ideas why this is failing with DEBUG enabled but not in a normal build? I did take a look around to see if I could figure it out but i didn't find anything obvious.
-Bruno