- Timestamp:
- Mar 10, 2006, 3:03:56 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0019206
- Parents:
- a8a1084
- Location:
- scripts/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/scripts/cross-scripts/cross-glibc-full.sh
ra8a1084 rf6180d2 64 64 # if we don't have linuxthreads dirs (ie: a glibc release), then 65 65 # unpack the linuxthreads tarball 66 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 67 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 68 PKGDIR=${OLDPKGDIR} 69 fi 66 case ${GLIBC_VER} in 67 2.4 | 2.4.* ) ;; 68 * ) 69 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 70 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 71 PKGDIR=${OLDPKGDIR} 72 fi 73 ;; 74 esac 70 75 71 76 # unpack libidn add-on if required (should be supplied with cvs versions) 77 if [ "${USE_LIBIDN}" = "Y" ]; then 72 78 case ${target_glibc_ver} in 73 79 2.3.[4-9]* | 2.4* ) … … 79 85 ;; 80 86 esac 87 fi 81 88 82 89 # apply glibc patches as required depending on the above gcc/kernel versions -
scripts/scripts/funcs/glibc-funcs.sh
ra8a1084 rf6180d2 25 25 echo " o compiling with gcc 4.x" 26 26 case ${target_glibc_ver} in 27 2.3.[7-9]* | 2.4 .* ) ;;27 2.3.[7-9]* | 2.4 | 2.4.* ) ;; 28 28 2.3.6 ) 29 29 apply_patch glibc-20051024-localedef_segfault-1 -
scripts/scripts/native-scripts/native-glibc.sh
ra8a1084 rf6180d2 61 61 # if we don't have linuxthreads dirs (ie: a glibc release), then 62 62 # unpack the linuxthreads tarball 63 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 64 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 65 PKGDIR=${OLDPKGDIR} 66 fi 63 case ${GLIBC_VER} in 64 2.4 | 2.4.* ) ;; 65 * ) 66 if [ ! -d linuxthreads -o ! -d linuxthreads_db ]; then 67 OLDPKGDIR=${PKGDIR} ; unpack_tarball glibc-linuxthreads-${GLIBC_VER} 68 PKGDIR=${OLDPKGDIR} 69 fi 70 ;; 71 esac 67 72 68 73 # unpack libidn add-on if required (should be supplied with cvs versions) 74 if [ "${USE_LIBIDN}" = "Y" ]; then 69 75 case ${target_glibc_ver} in 70 76 2.3.[4-9]* | 2.4* ) … … 76 82 ;; 77 83 esac 84 fi 78 85 79 86 # apply glibc patches as required depending on the above gcc/kernel versions 80 87 # see funcs/glibc_funcs.sh 81 88 apply_glibc_patches 89 90 # Ensure sanity check uses correct glibc 91 cd ${SRC}/${PKGDIR} 92 ld_so=`gcc ${ARCH_CFLAGS} -dumpspecs | grep dynamic-linker | \ 93 sed -e "s@.*-dynamic-linker \([-._a-zA-Z0-9/]*/${libdirname}/[-._a-zA-Z0-9/]*\).*@\1@g" \ 94 -e 's@^.*/\(.*\)@\1@g'` 95 sed -i "s@link_libs -o@link_libs -L/usr/${libdirname} -Wl,-dynamic-linker=/${libdirname}/${ld_so} -o@" \ 96 scripts/test-installation.pl 82 97 83 98 # configuration for pthread type
Note:
See TracChangeset
for help on using the changeset viewer.