From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31851 invoked by alias); 9 Jan 2014 18:24:36 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 31840 invoked by uid 89); 9 Jan 2014 18:24:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,UNPARSEABLE_RELAY,WEIRD_PORT autolearn=ham version=3.3.2 X-HELO: mailout02.t-online.de Received: from mailout02.t-online.de (HELO mailout02.t-online.de) (194.25.134.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Jan 2014 18:24:33 +0000 Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de ) by mailout02.t-online.de with smtp id 1W1KHK-0007nU-Lc; Thu, 09 Jan 2014 19:24:26 +0100 Received: from mrburns.my.domain (ESDsCeZAoh9zq39Wg0HIybF+tngE0YV7fkKSKqXsnWaHic+TCpOyfvhUubsvkyFZj3@[91.18.138.201]) by fwd02.t-online.de with esmtp id 1W1KHK-4UO5om0; Thu, 9 Jan 2014 19:24:26 +0100 Date: Thu, 09 Jan 2014 18:24:00 -0000 From: "thorsten.johannvorderbrueggen@t-online.de" To: crossgcc Subject: Re: cross-ng building trys to copy files to '/' ? Message-Id: <20140109192428.94015be2c64aa5cbb06af3a9@t-online.de> In-Reply-To: References: <20140108143238.GA24260@cp920> <20140108200137.e864a567a9a68ba63eba707c@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00029.txt.bz2 On Thu, 9 Jan 2014 13:48:02 +0800 Woody Wu wrote: > On 9 January 2014 03:01, thorsten.johannvorderbrueggen@t-online.de > wrote: > > On Wed, 8 Jan 2014 22:32:38 +0800 > > narkewoody@gmail.com wrote: > > > >> Hi, > >> > >> I am building ARM toolchain using cross-ng on my Slackware Linux PC. > >> I've tried 1.17 and 1.18 - the two most recent release, but met the same > >> error in building (ct-ng build). It seems, cross-ng was trying to > >> install some header files into my /usr/include and then failed because > >> it was not running as root. > >> > >> Can anyone help me? Below is the output: > >> > >> ... > >> > >> [ALL ] mv -f /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.makeT /home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/tls.make > >> [ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' > >> [ALL ] make[2]: Entering directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' > >> [ALL ] /home/woody/work/cross-ng.build/1.17.0/.build/tools/bin/install -c -m 644 include/limits.h /usr/include/limits.h > >> [ALL ] /usr/bin/ginstall: cannot remove '/usr/include/limits.h': Permission denied > >> [ERROR] make[2]: *** [/usr/include/limits.h] Error 1 > >> [ALL ] make[2]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/src/glibc-2.9' > >> [ERROR] make[1]: *** [install-headers] Error 2 > >> [ALL ] make[1]: Leaving directory `/home/woody/work/cross-ng.build/1.17.0/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles' > >> [ERROR] > >> [ERROR] >> > >> [ERROR] >> Build failed in step 'Installing C library headers & start files' > >> [ERROR] >> called in step '(top-level)' > >> [ERROR] >> > >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258] > >> [ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@384] > >> > >> ... > >> > >> -- > >> For unsubscribe information see http://sourceware.org/lists.html#faq > >> > > > > > > Hi woody, > > > > i used 1.18 and actual 1.19 for building my arm toolchain ... on slackware ... of course :-) ... i had no problems ... can you post your config ... > > > > Cheers > > Thorsten > > > > Nice to meet you Thorsten. My Slackware is 14.0. Now I paste the > '.config' file from my work directory, please have a look at it. If > you still need other information, please let me know. > > # > # C-library > # > CT_LIBC="glibc" > CT_LIBC_VERSION="2.9" > # CT_LIBC_eglibc is not set > # CT_LIBC_uClibc is not set > CT_LIBC_glibc=y > CT_LIBC_none_AVAILABLE=y > CT_LIBC_mingw_AVAILABLE=y > CT_LIBC_eglibc_AVAILABLE=y > CT_LIBC_newlib_AVAILABLE=y > CT_LIBC_uClibc_AVAILABLE=y > CT_LIBC_glibc_AVAILABLE=y > # CT_LIBC_GLIBC_V_2_14_1 is not set > # CT_LIBC_GLIBC_V_2_14 is not set > # CT_LIBC_GLIBC_V_2_13 is not set > # CT_LIBC_GLIBC_V_2_12_2 is not set > # CT_LIBC_GLIBC_V_2_12_1 is not set > # CT_LIBC_GLIBC_V_2_11_1 is not set > # CT_LIBC_GLIBC_V_2_11 is not set > # CT_LIBC_GLIBC_V_2_10_1 is not set > CT_LIBC_GLIBC_V_2_9=y > # CT_LIBC_GLIBC_V_2_8 is not set > CT_LIBC_SUPPORT_THREADS_ANY=y > CT_LIBC_SUPPORT_NPTL=y > CT_THREADS="nptl" > > # > # Common C library options > # > CT_THREADS_NPTL=y > CT_LIBC_XLDD=y > CT_LIBC_GLIBC_MAY_FORCE_PORTS=y > CT_LIBC_glibc_familly=y > CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY="" > CT_LIBC_GLIBC_CONFIGPARMS="" > CT_LIBC_GLIBC_EXTRA_CFLAGS="" > CT_LIBC_EXTRA_CC_ARGS="" > # CT_LIBC_DISABLE_VERSIONING is not set > CT_LIBC_OLDEST_ABI="" > # CT_LIBC_GLIBC_FORCE_UNWIND is not set > CT_LIBC_GLIBC_USE_PORTS=y > CT_LIBC_ADDONS_LIST="" > # CT_LIBC_LOCALES is not set > # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set > CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y > # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set > CT_LIBC_GLIBC_MIN_KERNEL="3.6.3" > > # > # glibc other options > # > > # > # WARNING !!! > # > > # > # For glibc >= 2.8, it can happen that the tarballs > # > > # > # for the addons are not available for download. > # > > # > # If that happens, bad luck... Try a previous version > # > > # > # or try again later... :-( > # > > # > # Debug facilities > # > CT_DEBUG_ltrace=y > CT_LTRACE_V_0_5_3=y > # CT_LTRACE_V_0_5_2 is not set > CT_LTRACE_VERSION="0.5.3" > CT_LTRACE_0_5_3_or_later=y > CT_DEBUG_gdb=y > CT_GDB_CROSS=y > # CT_GDB_CROSS_STATIC is not set > CT_GDB_CROSS_PYTHON=y > CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" > CT_GDB_NATIVE=y > # CT_GDB_NATIVE_STATIC is not set > CT_GDB_GDBSERVER=y > CT_GDB_GDBSERVER_STATIC=y > > # > # gdb version > # > CT_GDB_V_6_8a=y > CT_GDB_VERSION="6.8a" > CT_DEBUG_duma=y > CT_DUMA_A=y > CT_DUMA_SO=y > CT_DUMA_V_2_5_15=y > CT_DUMA_VERSION="2_5_15" > CT_DEBUG_dmalloc=y > CT_DMALLOC_V_5_5_2=y > CT_DMALLOC_VERSION="5.5.2" > CT_DEBUG_strace=y > CT_STRACE_V_4_5_19=y > # CT_STRACE_V_4_5_18 is not set > CT_STRACE_VERSION="4.5.19" > > # > # Companion libraries > # > CT_COMPLIBS_NEEDED=y > CT_GMP_NEEDED=y > CT_MPFR_NEEDED=y > CT_COMPLIBS=y > CT_GMP=y > CT_MPFR=y > CT_LIBELF_TARGET=y > # CT_GMP_V_5_0_2 is not set > # CT_GMP_V_5_0_1 is not set > CT_GMP_V_4_3_2=y > # CT_GMP_V_4_3_1 is not set > # CT_GMP_V_4_3_0 is not set > CT_GMP_VERSION="4.3.2" > # CT_MPFR_V_3_1_0 is not set > # CT_MPFR_V_3_0_1 is not set > # CT_MPFR_V_3_0_0 is not set > CT_MPFR_V_2_4_2=y > # CT_MPFR_V_2_4_1 is not set > # CT_MPFR_V_2_4_0 is not set > CT_MPFR_VERSION="2.4.2" > > # > # libelf version needed to build for target > # > CT_LIBELF_V_0_8_13=y > # CT_LIBELF_V_0_8_12 is not set > CT_LIBELF_VERSION="0.8.13" > > # > # Companion libraries common options > # > # CT_COMPLIBS_CHECK is not set > > Please help! Thanks. > > > -- > Life is the only flaw in an otherwise perfect nonexistence > -- Schopenhauer > > narke > public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com) Hi woody, i will try to build it in a qemu inst ... you want to build a toolchain for a bare metal system? ... correct? Cheers Thorsten -- thorsten.johannvorderbrueggen@t-online.de -- For unsubscribe information see http://sourceware.org/lists.html#faq