Lines 1061-1071
Link Here
|
1061 |
# give some sort of warning about the nptl logic changes... |
1061 |
# give some sort of warning about the nptl logic changes... |
1062 |
if want_nptl && want_linuxthreads ; then |
1062 |
if want_nptl && want_linuxthreads ; then |
1063 |
|
1063 |
|
1064 |
if use ppc ; then |
|
|
1065 |
eerror "glibc doesn't currently work with nptl and linuxthreads" |
1066 |
eerror "please select either nptlonly or -nptl" |
1067 |
die "nptlonly not set on ppc" |
1068 |
fi |
1069 |
ewarn "Warning! Gentoo's GLIBC with NPTL enabled now behaves like the" |
1064 |
ewarn "Warning! Gentoo's GLIBC with NPTL enabled now behaves like the" |
1070 |
ewarn "glibc from almost every other distribution out there. This means" |
1065 |
ewarn "glibc from almost every other distribution out there. This means" |
1071 |
ewarn "that glibc is compiled -twice-, once with linuxthreads and once" |
1066 |
ewarn "that glibc is compiled -twice-, once with linuxthreads and once" |
Lines 1270-1275
Link Here
|
1270 |
dosed "s:/lib/:/$(get_libdir)/:g" /usr/$(get_libdir)/nptl/lib{c,pthread}.so |
1265 |
dosed "s:/lib/:/$(get_libdir)/:g" /usr/$(get_libdir)/nptl/lib{c,pthread}.so |
1271 |
fi |
1266 |
fi |
1272 |
fi |
1267 |
fi |
|
|
1268 |
|
1269 |
# PPC NPTL fix |
1270 |
if [[ $(tc-arch) == "ppc" ]] && use nptl && ! use nptlonly ; then |
1271 |
cp ${WORKDIR}/build-default-${CTARGET}-nptl/elf/ld.so ${D}/lib/ld-${PV}.so |
1272 |
fi |
1273 |
} |
1273 |
} |
1274 |
|
1274 |
|
1275 |
pkg_preinst() { |
1275 |
pkg_preinst() { |