亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? crosstool-0.37-nptl.patch

?? linux下編譯交叉工具鏈的工具源碼
?? PATCH
?? 第 1 頁 / 共 3 頁
字號:
Message-ID: <42DD6226.3010701@mvista.com>Date: Tue, 19 Jul 2005 13:27:18 -0700From: Khem Raj <kraj@mvista.com>To: crossgcc <crossgcc@sources.redhat.com>Subject: crosstool-nptl patch refreshed against 0.37HiI have refreshed the contrib/crosstool-0.34-nptl.patch to apply on crosstool-0.37 basethe patch did not apply cleanly because there were some changes in patch which are part of0.37 already.diff -urN --exclude='*.orig' crosstool-0.37.orig/crosstool.sh crosstool-0.37/crosstool.sh--- crosstool-0.37.orig/crosstool.sh	2005-07-09 17:47:29.000000000 -0700+++ crosstool-0.37/crosstool.sh	2005-07-19 12:54:58.000000000 -0700@@ -70,23 +70,28 @@ test -z "$BUILD" && abort "bug: BUILD not set?!"  if test -z "${GLIBC_ADDON_OPTIONS}"; then-   echo "GLIBC_ADDON_OPTIONS not set, so guessing addons from GLIBCTHREADS_FILENAME and GLIBCCRYPT_FILENAME"-   # this is lame, need to fix this for nptl later?-   # (nptl is an addon, but it's shipped in the main tarball)+   echo "GLIBC_ADDON_OPTIONS not set"    GLIBC_ADDON_OPTIONS="="-   case "${GLIBCTHREADS_FILENAME}" in-     *linuxthreads*) GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads," ;;-   esac+   if test '!' -z ${GLIBC_ADDON_LINUXTHREADS}; then+       GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}linuxthreads,"+   elif test '!' -z ${GLIBC_ADDON_NPTL}; then+       GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}nptl,"+   fi    # crypt is only an addon for glibc-2.1.x    test -z "${GLIBCCRYPT_FILENAME}"   || GLIBC_ADDON_OPTIONS="${GLIBC_ADDON_OPTIONS}crypt," fi +if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    GLIBC_EXTRA_CONFIG="--with-tls --with-__thread ${GLIBC_EXTRA_CONFIG}"+    GLIBC_MIN_KERNEL=2.6.4+else+    GLIBC_EXTRA_CONFIG="--without-tls --without-__thread ${GLIBC_EXTRA_CONFIG}"+    GLIBC_MIN_KERNEL=2.4.3+fi+ # One is forbidden test -z "${LD_LIBRARY_PATH}" || abort  "glibc refuses to build if LD_LIBRARY_PATH is set.  Please unset it before running this script." -# And one is derived.-GLIBCTHREADS_FILENAME=`echo $GLIBC_DIR | sed 's/glibc-/glibc-linuxthreads-/'`- # Check for a few prerequisites that have tripped people up. awk '/x/' < /dev/null  || abort "You need awk to build a toolchain." test -z "${CFLAGS}"    || abort "Don't set CFLAGS, it screws up the build"@@ -437,13 +442,36 @@     # http://sourceware.org/ml/crossgcc/2005-05/msg00168.html     cp misc/syscall-list.h $HEADERDIR/bits/syscall.h +    if test '!' -z "${GLIBC_ADDON_NPTL}"; then +        # To build gcc with thread support requires real pthread headers. These+        # will have to manually be copied from under the tree of the desired+        # target pthread implementation.+        cp ${GLIBC_DIR}/nptl/sysdeps/pthread/pthread.h $HEADERDIR/pthread.h+        cp ${GLIBC_DIR}/nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h $HEADERDIR/bits/pthreadtypes.h++        # On s390, powerpc and sparc we also require bits/wordsize.h.+        case $TARGET in+        sparc* | s390* | powerpc* )+            case $TARGET in+            sparc64* )   wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h ;;+            sparc* )     wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h ;;+            s390x* )     wordsize_h=sysdeps/s390/s390x/bits/wordsize.h ;;+            s390* )      wordsize_h=sysdeps/s390/s390/bits/wordsize.h ;;+            powerpc64* ) wordsize_h=sysdeps/powerpc/powerpc64/bits/wordsize.h ;;+            powerpc* )   wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h ;;+            esac+            test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h+	    ;;+	esac+    fi # GLIBC_ADDONS_NPTL+     cd .. fi  #----------------------------------------------------------echo "Build gcc-core (just enough to build glibc)"+echo "Build gcc-core w/o shared libgcc (just enough to build glibc starfiles)" -mkdir -p build-gcc-core; cd build-gcc-core+mkdir -p build-gcc-core-static; cd build-gcc-core-static  echo Copy headers to install area of bootstrap gcc, so it can build libgcc2 mkdir -p $CORE_PREFIX/$TARGET/include@@ -475,8 +503,122 @@  logresult gcc-core $CORE_PREFIX/bin/${TARGET}-gcc${EXEEXT} +# Following extra steps required for building an NPTL enabled glibc.+if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    #---------------------------------------------------------+    echo "Build glibc startfiles (required for shared libgcc)"++    mkdir -p build-glibc-startfiles; cd build-glibc-startfiles++    # sh4 really needs to set configparms as of gcc-3.4/glibc-2.3.2+    # note: this is awkward, doesn't work well if you need more than one line in configparms+    echo ${GLIBC_CONFIGPARMS} > configparms++    echo "libc_cv_forced_unwind=yes" > config.cache+    echo "libc_cv_c_cleanup=yes" >> config.cache+    # this here is moot, currently you cannot build nptl for sparc64+    case ${TARGET} in+        sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;;+    esac++    if test '!' -f Makefile; then+        # Configure with --prefix the way we want it on the target...+        # There are a whole lot of settings here.  You'll probably want+        # to read up on what they all mean, and customize a bit.+        # e.g. I picked --enable-kernel=2.4.3 here just because it's the kernel Bill +        # used in his example gcc2.95.3 script.  That means some backwards compatibility +        # stuff is turned on in glibc that you may not need if you're using a newer kernel.+        # Compare these options with the ones used when installing the glibc headers above - they're different.+        # Adding "--without-gd" option to avoid error "memusagestat.c:36:16: gd.h: No such file or directory" +        # See also http://sources.redhat.com/ml/libc-alpha/2000-07/msg00024.html. +        # Set BUILD_CC, or you won't be able to build datafiles+        # Set --build, else glibc-2.3.2 will think you're not cross-compiling, and try to run the test programs++        BUILD_CC=gcc CFLAGS="$TARGET_CFLAGS" CC="${TARGET}-gcc $GLIBC_EXTRA_CC_ARGS" \+        AR=${TARGET}-ar RANLIB=${TARGET}-ranlib \+            ${GLIBC_DIR}/configure --prefix=/usr \+	    --build=$BUILD --host=$TARGET \+            ${GLIBC_EXTRA_CONFIG} \+            --enable-kernel=${GLIBC_MIN_KERNEL} \+            --without-cvs --disable-profile --disable-debug --without-gd \+            $SHARED_MODE \+            --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \+            --cache-file=config.cache+    fi++    #TODO: should check whether slibdir has been set in configparms to */lib64+    #      and copy the startfiles into the appropriate libdir.+    make csu/subdir_lib+    +    test -z "${USE_SYSROOT}" &&+    cp -fp csu/crt[1in].o ${SYSROOT}/lib/ ||+    cp -fp csu/crt[1in].o ${SYSROOT}/usr/lib/ ++    cd ..++    #---------------------------------------------------------+    echo "Build gcc-core w shared libgcc"++    mkdir -p build-gcc-core-shared; cd build-gcc-core-shared++    # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)++    if test '!' -f Makefile; then+        ${GCC_DIR}/configure $CANADIAN_BUILD --target=$TARGET --host=$GCC_HOST --prefix=$PREFIX \+	    --with-local-prefix=${SYSROOT} \+	    --disable-multilib \+            ${GCC_EXTRA_CONFIG} \+	    ${GCC_SYSROOT_ARG_CORE} \+	    --disable-nls \+	    --enable-symvers=gnu \+	    --enable-__cxa_atexit \+            --enable-languages=c \+            --enable-shared+    fi++    # HACK: we need to override SHLIB_LC from gcc/config/t-slibgcc-elf-ver or+    #       gcc/config/t-libunwind so -lc is removed from the link for +    #       libgcc_s.so, as we do not have a target -lc yet.+    #       This is not as ugly as it appears to be ;-) All symbols get resolved+    #       during the glibc build, and we provide a proper libgcc_s.so for the+    #       cross toolchain during the final gcc build.+    #+    #       As we cannot modify the source tree, nor override SHLIB_LC itself+    #       during configure or make, we have to edit the resultant +    #       gcc/libgcc.mk itself to remove -lc from the link.+    #       This causes us to have to jump through some hoops...+    #+    #       To produce libgcc.mk to edit we firstly require libiberty.a,+    #       so we configure then build it.+    #       Next we have to configure gcc, create libgcc.mk then edit it...+    #       So much easier if we just edit the source tree, but hey...+    if test '!' -f ${GCC_DIR}/gcc/BASE-VER; then+        make configure-libiberty+        make -C libiberty libiberty.a+        make configure-gcc+    else+        make configure-gcc+	make configure-libcpp+	make configure-build-libiberty+	make all-libcpp+	make all-build-libiberty+    fi+    make -C gcc libgcc.mk++    if test '!' -f gcc/libgcc.mk-ORIG ; then cp -p gcc/libgcc.mk gcc/libgcc.mk-ORIG; fi+    sed 's@-lc@@g' < gcc/libgcc.mk-ORIG > gcc/libgcc.mk++    test "$CANADIAN_BUILD" = "" || make $PARALLELMFLAGS all-build-libiberty || true+    make $PARALLELMFLAGS all-gcc +    make install-gcc++    cd ..++    test -x ${PREFIX}/bin/${TARGET}-gcc || abort Build failed during gcc-core ++fi # GLIBC_ADDON_NPTL #----------------------------------------------------------echo Build glibc and linuxthreads+echo Build glibc  mkdir -p build-glibc; cd build-glibc @@ -484,6 +626,16 @@ # note: this is awkward, doesn't work well if you need more than one line in configparms echo ${GLIBC_CONFIGPARMS} > configparms +if test '!' -z "${GLIBC_ADDON_NPTL}"; then+    # Following configure tests fail while cross-compiling+    echo "libc_cv_forced_unwind=yes" > config.cache+    echo "libc_cv_c_cleanup=yes" >> config.cache+    # The following is moot, currently you cannot build nptl for sparc64+    case ${TARGET} in+        sparc64* ) echo "libc_cv_sparc64_tls=yes" >> config.cache ;;+    esac+fi # GLIBC_ADDON_NPTL+ if test '!' -f Makefile; then     # Configure with --prefix the way we want it on the target...     # There are a whole lot of settings here.  You'll probably want@@ -502,11 +654,11 @@         ${GLIBC_DIR}/configure --prefix=/usr \         --build=$BUILD --host=$TARGET \         ${GLIBC_EXTRA_CONFIG} \-        --enable-kernel=2.4.3 \+        --enable-kernel=${GLIBC_MIN_KERNEL} \         --without-cvs --disable-profile --disable-debug --without-gd \-        --without-tls --without-__thread \         $SHARED_MODE \-        --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR+        --enable-add-ons${GLIBC_ADDON_OPTIONS} --with-headers=$HEADERDIR \+	--cache-file=config.cache fi  if grep -l '^install-lib-all:' ${GLIBC_DIR}/Makerules > /dev/null; thendiff -urN --exclude='*.orig' crosstool-0.37.orig/demo-alpha-nptl.sh crosstool-0.37/demo-alpha-nptl.sh--- crosstool-0.37.orig/demo-alpha-nptl.sh	1969-12-31 16:00:00.000000000 -0800+++ crosstool-0.37/demo-alpha-nptl.sh	2005-07-19 12:54:58.000000000 -0700@@ -0,0 +1,19 @@+#!/bin/sh+set -ex+TARBALLS_DIR=$HOME/downloads+RESULT_TOP=/opt/crosstool+export TARBALLS_DIR RESULT_TOP+GCC_LANGUAGES="c,c++"+export GCC_LANGUAGES++GLIBC_ADDON_NPTL=1+export GLIBC_ADDON_NPTL=1

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一品二品| 国产伦精一区二区三区| 亚洲电影一区二区| 蜜桃精品视频在线| 国产精品538一区二区在线| 99re这里只有精品首页| 3d动漫精品啪啪一区二区竹菊 | 色八戒一区二区三区| 欧美日韩一卡二卡三卡 | 亚洲精品国产一区二区三区四区在线| 亚洲国产精品欧美一二99| 首页亚洲欧美制服丝腿| 国产91丝袜在线播放九色| 欧美丝袜丝交足nylons| 国产日韩视频一区二区三区| 亚洲国产欧美在线人成| 国产成a人无v码亚洲福利| 欧美日韩精品二区第二页| 久久男人中文字幕资源站| 亚洲福利一区二区| 91在线视频18| 一区精品在线播放| 欧美性欧美巨大黑白大战| 久久综合精品国产一区二区三区| 亚洲乱码国产乱码精品精98午夜| 精品在线亚洲视频| 欧美人妖巨大在线| 亚洲制服欧美中文字幕中文字幕| av不卡免费电影| 国产精品二三区| 99在线精品视频| 亚洲人快播电影网| 高清不卡一区二区| 国产欧美日韩亚州综合| 国产精品自在在线| 久久精品亚洲国产奇米99| 国产美女一区二区三区| 国产午夜一区二区三区| 成人国产精品免费观看| 国产精品久久久久久久久久久免费看 | 777a∨成人精品桃花网| 亚洲乱码国产乱码精品精的特点 | 91精品国产色综合久久| 欧美a一区二区| 久久综合精品国产一区二区三区 | 9191久久久久久久久久久| 日韩经典一区二区| 最好看的中文字幕久久| 国产91精品免费| 亚洲国产sm捆绑调教视频| 欧美丰满一区二区免费视频| 午夜精品一区在线观看| 91精品一区二区三区久久久久久| 久久精工是国产品牌吗| 国产亲近乱来精品视频| 在线观看欧美日本| 理论电影国产精品| 中文字幕一区二区三区在线不卡| 一本一道久久a久久精品综合蜜臀| 亚洲综合在线电影| 国产一区二区在线免费观看| 欧美经典三级视频一区二区三区| 一本色道**综合亚洲精品蜜桃冫| 奇米综合一区二区三区精品视频| 久久精品视频一区二区三区| 欧美在线不卡视频| 波多野结衣欧美| 国产一区在线精品| 免费在线观看精品| 亚洲欧美日韩电影| 久久精品欧美日韩精品| 日韩一区二区三区四区| 成人av综合一区| 国产jizzjizz一区二区| 日本午夜一区二区| 奇米在线7777在线精品| 日韩经典一区二区| 国产欧美日产一区| 国产一区二区三区高清播放| 色偷偷一区二区三区| 麻豆久久久久久| 国产一区二区三区久久悠悠色av| 91在线视频免费观看| 精品日韩在线观看| 日韩和欧美一区二区三区| 色狠狠综合天天综合综合| 成人avav影音| av福利精品导航| 欧美三级在线视频| 欧美日韩色综合| 91精品国产综合久久久久久久久久 | 精品奇米国产一区二区三区| 7777女厕盗摄久久久| 欧美电视剧在线看免费| 午夜亚洲福利老司机| 日韩成人伦理电影在线观看| 久久成人av少妇免费| 国产 日韩 欧美大片| 色婷婷亚洲综合| 欧美一区二区三区免费| 欧美国产一区二区| 伊人婷婷欧美激情| 蜜臀av国产精品久久久久| 国产成人精品1024| 在线日韩国产精品| 椎名由奈av一区二区三区| 亚洲三级在线免费观看| 国产91丝袜在线18| 久久你懂得1024| 成人午夜视频网站| 欧美变态tickle挠乳网站| 亚洲人妖av一区二区| 丰满白嫩尤物一区二区| 中文字幕免费观看一区| 精品一区二区三区蜜桃| 亚洲精品一区二区三区精华液| 亚洲与欧洲av电影| 成人动漫一区二区三区| 国产精品免费视频观看| 白白色亚洲国产精品| 樱花草国产18久久久久| 欧美在线观看一区二区| 亚洲一区二区三区视频在线播放 | 中文字幕不卡一区| 成人av午夜电影| 亚洲伊人伊色伊影伊综合网| 欧洲中文字幕精品| 日本一区中文字幕| 久久亚洲精品小早川怜子| 国产成人精品亚洲日本在线桃色| 欧美激情综合五月色丁香| eeuss鲁片一区二区三区在线看| 亚洲欧美一区二区三区国产精品 | 一区二区三区在线视频播放| 欧美日韩国产一区二区三区地区| 蜜臀av性久久久久蜜臀aⅴ四虎| 日本一区二区三区四区| 波多野结衣精品在线| 国产成人精品免费网站| 国产欧美日韩亚州综合 | 欧美一级爆毛片| jiyouzz国产精品久久| 日韩黄色一级片| 亚洲桃色在线一区| 欧美电影免费观看高清完整版在线 | 精品国产凹凸成av人导航| 一本到不卡免费一区二区| 久久99久久精品| 蜜臀久久99精品久久久久宅男 | 激情文学综合网| 日韩成人一级片| 一区二区三区久久| 亚洲免费av高清| 中文字幕五月欧美| 久久久久久久久免费| 精品久久久久久久久久久久久久久久久 | 成人深夜福利app| av在线播放不卡| av不卡在线观看| 欧美三级蜜桃2在线观看| 99热国产精品| 91久久香蕉国产日韩欧美9色| 成人av资源网站| 色婷婷精品大在线视频| 色综合久久中文字幕综合网| 91网站在线播放| 97久久精品人人爽人人爽蜜臀| 99麻豆久久久国产精品免费| 97se狠狠狠综合亚洲狠狠| 欧洲视频一区二区| 欧美一级黄色大片| 国产午夜精品一区二区三区嫩草| 亚洲国产精华液网站w| 亚洲美女偷拍久久| 亚洲夂夂婷婷色拍ww47| 午夜视频在线观看一区二区| 黄色小说综合网站| 欧美制服丝袜第一页| 久久综合久久久久88| 亚洲精品菠萝久久久久久久| 美女视频黄频大全不卡视频在线播放| 国产一区二区日韩精品| 欧美三区在线视频| 国产精品网站在线观看| 肉色丝袜一区二区| 色婷婷综合久久久久中文 | 国产成人在线视频网站| 91捆绑美女网站| 亚洲精品在线一区二区| 亚洲mv在线观看| 成人免费的视频| 欧美va亚洲va| 激情六月婷婷久久| 欧美一区二区精品| 一区二区三区四区在线播放| 高清在线成人网| 国产视频一区二区在线观看| 丝袜国产日韩另类美女| 一本到三区不卡视频| 1024成人网色www|