diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-09-20 15:03:17 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-09-20 15:03:17 +0200 |
commit | 0f85b228aa3f5ea797e10e69deae54ea898cb44a (patch) | |
tree | 4e58a45cacf954d7f7ca1d3ecb8519cec99ab10f /libpthread/nptl/sysdeps/unix | |
parent | ef65e97083363ffaeeb5fcf3a37d074b74eafb0d (diff) |
nptl: Fix libpthread build when UCLIBC_LINUX_SPECIFIC is disabled
NPTL library needs both madvise and statfs symbols, that are guarded
by UCLIBC_LINUX_SPECIFIC option. This fix provides these symbols too
when NPTL is used, indipendently by UCLIBC_LINUX_SPECIFIC choice.
Otherwise libpthread link fails as below:
LD libpthread-0.9.32-git.so
libpthread/nptl/libpthread_so.a(pthread_create.oS): In function `__free_tcb':
pthread_create.c:(.text+0x1184): undefined reference to `madvise'
libpthread/nptl/libpthread_so.a(sem_open.oS): In function `__where_is_shmfs':
sem_open.c:(.text+0x764): undefined reference to `statfs'
collect2: ld returned 1 exit status
make: *** [lib/libpthread.so] Error 1
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix')
0 files changed, 0 insertions, 0 deletions