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

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

?? crosstool-0.38-nptl-schaefer.patch

?? linux下編譯交叉工具鏈的工具源碼
?? PATCH
字號:
Message-ID: <42F5D6D7.2040902@gmx.de>Date: Sun, 07 Aug 2005 11:39:35 +0200From: Peter Schaefer <peter.schaefer@gmx.de>To:  crossgcc@sources.redhat.comSubject: Re: crosstool-0.38, ppc860, NPTL and gcc4.0.1References: <42EFDD76.60902@gmx.de> <42F137B9.1020101@gmx.de>In-Reply-To: <42F137B9.1020101@gmx.de>Hello list,again replying to myself (*sigh*)... I was able to compilethe toolchain for ppc860, NPTL and gcc4.0.1-libc-2.3.5with the following patch to crosstool-0.38.It's basically the NPTL-patch rediffed against 0.38 with anadded patch for libiberty path issues in patches/gcc-4.0.1.In addition see the if-condition in line 864 of the patch, herei added configuration & build of libcpp.Beware: I haven't tested the toolchain yet!Best regards, Peterdiff -urN crosstool-0.38.orig/crosstool.sh crosstool-0.38/crosstool.sh--- crosstool-0.38.orig/crosstool.sh	2005-07-21 19:58:19.000000000 +0200+++ crosstool-0.38/crosstool.sh	2005-08-07 11:34:34.551302360 +0200@@ -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"@@ -442,13 +447,47 @@     # 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+        pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/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+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h+			 ;;+            sparc* )     wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h +			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.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+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h+			 ;;+            powerpc* )   wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h+			 pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h+			 ;;+            esac+            test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h+            cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.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@@ -480,8 +519,124 @@  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+	make configure-libcpp+	make all-libcpp+    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 @@ -489,6 +644,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@@ -507,11 +672,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 crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch crosstool-0.38/patches/gcc-4.0.1/libiberty.patch--- crosstool-0.38.orig/patches/gcc-4.0.1/libiberty.patch	1970-01-01 01:00:00.000000000 +0100+++ crosstool-0.38/patches/gcc-4.0.1/libiberty.patch	2005-08-05 22:16:02.000000000 +0200@@ -0,0 +1,11 @@+--- gcc-4.0.1.orig/gcc/Makefile.in	2005-04-04 21:45:13.000000000 +0200++++ gcc-4.0.1/gcc/Makefile.in	2005-08-05 22:12:56.544994408 +0200+@@ -757,7 +757,7 @@+ + # Build and host support libraries.+ LIBIBERTY = ../libiberty/libiberty.a+-BUILD_LIBIBERTY = ../$(build_subdir)/libiberty/libiberty.a++BUILD_LIBIBERTY = ../libiberty/libiberty.a+ + # Dependencies on the intl and portability libraries.+ LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲国产一区二区三区va| 亚洲.国产.中文慕字在线| 极品少妇xxxx精品少妇偷拍| 69av一区二区三区| 久色婷婷小香蕉久久| 精品99一区二区三区| 狠狠色丁香久久婷婷综合丁香| 久久久久成人黄色影片| 成人听书哪个软件好| 亚洲三级电影全部在线观看高清| 97精品视频在线观看自产线路二| 亚洲人123区| 欧美日韩情趣电影| 久久电影国产免费久久电影| 久久久久久9999| 99精品视频在线观看免费| 亚洲电影视频在线| 久久婷婷综合激情| 色婷婷亚洲一区二区三区| 日韩专区在线视频| 国产午夜亚洲精品不卡| 欧美日韩高清一区二区| 午夜激情久久久| 久久久久久久av麻豆果冻| 在线视频国产一区| 日本v片在线高清不卡在线观看| 精品三级在线观看| 972aa.com艺术欧美| 麻豆freexxxx性91精品| 最新欧美精品一区二区三区| 69堂国产成人免费视频| eeuss国产一区二区三区| 五月激情丁香一区二区三区| 久久精品一二三| 欧美日韩成人在线一区| 成人手机在线视频| 日韩av成人高清| 日韩理论在线观看| 精品播放一区二区| 欧美日韩成人一区二区| 北条麻妃一区二区三区| 蜜臀av性久久久久蜜臀av麻豆| 中文字幕日韩一区二区| 精品国产污污免费网站入口| 欧美性三三影院| 99免费精品视频| 国产成人av网站| 青娱乐精品视频| 夜夜嗨av一区二区三区| 日本一区二区三区久久久久久久久不 | 99re这里只有精品6| 日本网站在线观看一区二区三区 | 99久久免费精品| 韩国欧美一区二区| 首页综合国产亚洲丝袜| 亚洲欧美日韩小说| 中文字幕乱码日本亚洲一区二区| 欧美一区二区三区精品| 色婷婷精品大视频在线蜜桃视频| 高清在线不卡av| 国产在线观看一区二区| 日韩avvvv在线播放| 亚洲国产日韩综合久久精品| 亚洲视频1区2区| 国产精品久久久久9999吃药| 久久综合99re88久久爱| 日韩精品一区二区三区在线播放 | 成人aaaa免费全部观看| 国产很黄免费观看久久| 韩国精品久久久| 麻豆精品一区二区三区| 奇米影视一区二区三区| 丝袜美腿高跟呻吟高潮一区| 亚洲第一av色| 香蕉久久夜色精品国产使用方法| 亚洲男人的天堂在线观看| 中文字幕日韩欧美一区二区三区| 中文一区在线播放| 国产精品免费视频观看| 国产欧美精品一区二区三区四区| 久久色在线视频| 久久久久久久性| 国产日韩欧美在线一区| 国产精品久久二区二区| 亚洲四区在线观看| 一区二区三区四区在线| 亚洲6080在线| 蜜臀av性久久久久蜜臀aⅴ四虎| 久久精品国产99| 国产乱码一区二区三区| 国产成人免费视频精品含羞草妖精| 懂色av一区二区夜夜嗨| 99久久婷婷国产综合精品电影| 北条麻妃国产九九精品视频| av在线播放不卡| 欧美最猛性xxxxx直播| 777奇米成人网| 久久蜜臀中文字幕| 亚洲欧洲一区二区在线播放| 一区二区三区中文字幕在线观看| 亚洲国产精品嫩草影院| 久久91精品国产91久久小草| 国产成人在线色| 在线观看中文字幕不卡| 欧美精品久久一区二区三区| 精品国产自在久精品国产| 国产欧美日韩麻豆91| 亚洲欧美偷拍卡通变态| 午夜精品久久久久影视| 精品一区二区三区香蕉蜜桃 | 中文字幕日韩一区二区| 香蕉久久一区二区不卡无毒影院| 久久91精品久久久久久秒播| 成人黄色网址在线观看| 在线一区二区三区四区| 精品日韩99亚洲| 亚洲精品欧美二区三区中文字幕| 手机精品视频在线观看| 国产传媒一区在线| 欧美日本在线看| 欧美极品xxx| 午夜影院久久久| 岛国精品一区二区| 7777精品久久久大香线蕉| 中文字幕欧美国产| 日本不卡一二三| 99免费精品视频| 久久久久久99精品| 五月天激情综合网| jlzzjlzz亚洲日本少妇| 欧美一区二区三区视频在线| 国产精品久久毛片av大全日韩| 日韩av一二三| 色欧美片视频在线观看在线视频| 日韩欧美成人午夜| 亚洲一区免费在线观看| 成人午夜免费电影| 欧美v亚洲v综合ⅴ国产v| 亚洲午夜国产一区99re久久| 国产成人在线看| 日韩亚洲欧美一区二区三区| 亚洲精品国久久99热| 国产精品亚洲а∨天堂免在线| 欧美久久久久久久久久| 亚洲欧美国产三级| 成人一区二区视频| 久久夜色精品一区| 日本在线观看不卡视频| 在线中文字幕不卡| 亚洲欧美激情小说另类| 不卡av在线免费观看| 久久久久九九视频| 国产一区视频导航| 2023国产一二三区日本精品2022| 日本强好片久久久久久aaa| 欧美性三三影院| 一区二区三区av电影 | 亚洲图片欧美综合| 97久久精品人人做人人爽| 欧美国产一区二区在线观看| 精品在线你懂的| 日韩午夜中文字幕| 日本不卡1234视频| 日韩视频免费观看高清完整版| 午夜精品免费在线观看| 欧美日韩大陆在线| 日韩精品色哟哟| 欧美一区二区三区啪啪| 日产精品久久久久久久性色| 欧美日韩免费高清一区色橹橹 | 日韩电影在线免费| 欧美一区二区在线观看| 日本视频一区二区三区| 日韩欧美一卡二卡| 国产专区欧美精品| 国产欧美一区二区精品性 | 91在线精品一区二区| 国产精品久久国产精麻豆99网站| 播五月开心婷婷综合| 亚洲另类在线制服丝袜| 日本高清不卡视频| 午夜亚洲福利老司机| 7777精品伊人久久久大香线蕉的| 蜜臀国产一区二区三区在线播放| 日韩精品一区二区三区视频| 国产主播一区二区| 国产精品动漫网站| 91视频一区二区| 99久久精品免费精品国产| 国产一区 二区| 国产美女视频一区| 美女网站一区二区| 精品一区二区国语对白| 视频一区二区中文字幕| 国产精品久久久久一区二区三区 | 91美女在线观看| 一区二区三区自拍| 在线不卡a资源高清| 久久国产精品99久久久久久老狼| 久久亚洲精品国产精品紫薇|