Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183143 - crossdev - unable to compile glibc-2.5-r3 for arm with linuxthreads support
Summary: crossdev - unable to compile glibc-2.5-r3 for arm with linuxthreads support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC64 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 183160 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-25 12:30 UTC by Andrzej Wójkowski
Modified: 2007-06-25 18:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej Wójkowski 2007-06-25 12:30:57 UTC
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
Comment 1 SpanKY gentoo-dev 2007-06-25 15:09:08 UTC
linuxthreads is not supported anymore
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-25 15:17:01 UTC
*** Bug 183160 has been marked as a duplicate of this bug. ***
Comment 3 Andrzej Wójkowski 2007-06-25 18:05:04 UTC
(In reply to comment #1)
> linuxthreads is not supported anymore
> 

Ok, but crossdev tries to compile with linuxthreads by default. That's the bug.
Comment 4 SpanKY gentoo-dev 2007-06-25 18:52:14 UTC
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