This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I built a uClibc toolchain and then was asked to build the same thing with glibc. So I chose CT_LIBC_GLIBC_V_2_14_1=y and got this failure: [INFO ] Installing C library [EXTRA] Configuring C library [EXTRA] Building C library [ERROR] pthread_kill_other_threads.c:35:1: error: expected identifier or '(' before '...' token [ERROR] make[3]: *** [/home/js/pixelworks/Victoria/toolchain/tmp/build/.build/arm-unknown-linux-gnueabi/build/build-libc-final/nptl/pthread_kill_other_threads.os] Error 1 This was caused by CT_LIBC_DISABLE_VERSIONING, which causes DO_VERSIONING to be unset when pthread_kill_other_threads.c includes glibc-2.14.1/include/shlib-compat.h. Is this known? Should CT_LIBC_DISABLE_VERSIONING depend on !CT_LIBC_glibc? BTW, I also had -Os in my CT_TARGET_CFLAGS which causes other, apparently well-known failure with glibc, so don't do this ;-/ (something about undefined fstatat64 IIRC) Best Regards Johannes -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |