When trying to crossdev -t arm always the following error occurs: /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pt hread.os): In function `__pthread_reset_main_thread': pthread.c:(.text+0x854): undefined reference to `_res' pthread.c:(.text+0x858): undefined reference to `_errno' pthread.c:(.text+0x85c): undefined reference to `_h_errno' /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pt hread.os): In function `pthread_initialize': pthread.c:(.text+0xe94): undefined reference to `_res' /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pt hread.os):(.data.rel+0x1b8): undefined reference to `_errno' /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pt hread.os):(.data.rel+0x1c0): undefined reference to `_h_errno' /var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpthread_pic.a(pt hread.os):(.data.rel+0x1c8): undefined reference to `_res' collect2: ld returned 1 exit status make[2]: *** [/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/build-default-arm-unknown-linux-gnu-linuxthreads/linuxthreads/libpt hread.so] Error 1 make[2]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/glibc-2.5/linuxthreads' make[1]: *** [linuxthreads/others] Error 2 make[1]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/work/glibc-2.5' make: *** [all] Error 2 !!! ERROR: cross-arm-unknown-linux-gnu/glibc-2.5-r3 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile glibc-2.5-r3.ebuild, line 1159: Called src_compile glibc-2.5-r3.ebuild, line 1170: Called toolchain-glibc_src_compile glibc-2.5-r3.ebuild, line 265: Called die !!! make for default failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/cross/arm-unknown-linux-gnu/portage/cross-arm-unknown-linux-gnu/glibc-2.5-r3/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage' Reproducible: Always Steps to Reproduce: 1.crossdev -t arm 2. 3. Actual Results: as indescription Expected Results: glibc compiled
linuxthreads is not supported anymore
*** Bug 183160 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > linuxthreads is not supported anymore > Ok, but crossdev tries to compile with linuxthreads by default. That's the bug.
no it doesnt ... crossdev does whatever you tell it to do your system is setup for linuxthreads by default thus crossdev uses it by default