From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32001 invoked by alias); 6 Apr 2014 19:32:52 -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 31992 invoked by uid 89); 6 Apr 2014 19:32:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-bk0-f42.google.com Received: from mail-bk0-f42.google.com (HELO mail-bk0-f42.google.com) (209.85.214.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 06 Apr 2014 19:32:51 +0000 Received: by mail-bk0-f42.google.com with SMTP id mx12so548254bkb.15 for ; Sun, 06 Apr 2014 12:32:47 -0700 (PDT) X-Received: by 10.204.68.69 with SMTP id u5mr965765bki.41.1396812767316; Sun, 06 Apr 2014 12:32:47 -0700 (PDT) Received: from [192.168.178.27] (e180120147.adsl.alicedsl.de. [85.180.120.147]) by mx.google.com with ESMTPSA id ez1sm14847179bkb.2.2014.04.06.12.32.46 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 06 Apr 2014 12:32:46 -0700 (PDT) Message-ID: <1396812765.29117.10.camel@kant.fritz.box> Subject: mips gcc 4.7.3 build error From: Giuseppe Lippolis To: crossgcc@sourceware.org Date: Sun, 06 Apr 2014 19:32:00 -0000 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00003.txt.bz2 Hello, I'm trying to build the tool-chain for the mips architecture using the gcc 4.7.3, but I get an error during the build process. With the gcc 4.8.1 I successfully build the tool-chain. Here are the errors: [ERROR] crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:48:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] xcompiler/crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:109:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] xcompiler/crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:48:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:109:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:48:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3269:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/src/ppl-0.11.2/src/mp_std_bits.defs.hh:109:7: error: redefinition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] crosstool-ng-1.19.0/.build/mips-unknown-linux-uclibc/buildtools/include/gmpxx.h:3306:21: error: previous definition of 'class std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >' [ERROR] make[4]: *** [checked.lo] Error 1 [ERROR] make[4]: *** [Checked_Number.lo] Error 1 [ERROR] make[4]: *** [Box.lo] Error 1 [ERROR] make[3]: *** [all] Error 2 [ERROR] make[2]: *** [all-recursive] Error 1 [ERROR] make[1]: *** [all] Error 2 This is the configuration: ## --------- ## ## Platform. ## ## --------- ## uname -m = x86_64 uname -r = 3.11.0-18-generic uname -s = Linux uname -v = #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 # crosstool-NG 1.19.0 Configuration # # crosstool-NG behavior # # CT_OBSOLETE is not set CT_EXPERIMENTAL=y # CT_ALLOW_BUILD_AS_ROOT is not set # CT_DEBUG_CT is not set # # Target options # CT_ARCH="mips" CT_ARCH_SUPPORTS_BOTH_ENDIAN=y CT_ARCH_SUPPORTS_32=y CT_ARCH_SUPPORTS_64=y CT_ARCH_SUPPORTS_WITH_ARCH=y CT_ARCH_SUPPORTS_WITH_TUNE=y CT_ARCH_SUPPORTS_WITH_FLOAT=y CT_ARCH_DEFAULT_BE=y CT_ARCH_DEFAULT_32=y CT_ARCH_ARCH="24kc" CT_ARCH_TUNE="" CT_ARCH_BE=y # CT_ARCH_LE is not set CT_ARCH_32=y # CT_ARCH_64 is not set CT_ARCH_BITNESS=32 # CT_ARCH_FLOAT_HW is not set CT_ARCH_FLOAT_SW=y CT_TARGET_CFLAGS="" CT_TARGET_LDFLAGS="" # CT_ARCH_alpha is not set # CT_ARCH_arm is not set # CT_ARCH_avr32 is not set # CT_ARCH_blackfin is not set # CT_ARCH_m68k is not set # CT_ARCH_microblaze is not set CT_ARCH_mips=y # CT_ARCH_powerpc is not set # CT_ARCH_s390 is not set # CT_ARCH_sh is not set # CT_ARCH_sparc is not set # CT_ARCH_x86 is not set CT_ARCH_alpha_AVAILABLE=y CT_ARCH_arm_AVAILABLE=y CT_ARCH_avr32_AVAILABLE=y CT_ARCH_blackfin_AVAILABLE=y CT_ARCH_m68k_AVAILABLE=y CT_ARCH_microblaze_AVAILABLE=y CT_ARCH_mips_AVAILABLE=y CT_ARCH_powerpc_AVAILABLE=y CT_ARCH_s390_AVAILABLE=y CT_ARCH_sh_AVAILABLE=y CT_ARCH_sparc_AVAILABLE=y CT_ARCH_x86_AVAILABLE=y CT_ARCH_SUFFIX="" # # Generic target options # # CT_MULTILIB is not set CT_ARCH_USE_MMU=y CT_ARCH_ENDIAN="big" # # Target optimisations # CT_ARCH_FLOAT="soft" # # mips other options # CT_ARCH_mips_o32=y CT_ARCH_mips_ABI="32" # # C compiler # CT_CC="gcc" CT_CC_VERSION="4.7.3" CT_CC_CORE_PASSES_NEEDED=y CT_CC_gcc=y # CT_CC_GCC_SHOW_LINARO is not set # CT_CC_V_4_8_1 is not set # CT_CC_V_4_8_0 is not set CT_CC_V_4_7_3=y # CT_CC_V_4_7_2 is not set # CT_CC_V_4_7_1 is not set # CT_CC_V_4_7_0 is not set # CT_CC_V_4_6_4 is not set # CT_CC_V_4_6_3 is not set # CT_CC_V_4_6_2 is not set # CT_CC_V_4_6_1 is not set # CT_CC_V_4_6_0 is not set # CT_CC_V_4_5_3 is not set # CT_CC_V_4_5_2 is not set # CT_CC_V_4_5_1 is not set # CT_CC_V_4_5_0 is not set # CT_CC_V_4_4_7 is not set # CT_CC_V_4_4_6 is not set # CT_CC_V_4_4_5 is not set # CT_CC_V_4_4_4 is not set # CT_CC_V_4_4_3 is not set # CT_CC_V_4_4_2 is not set # CT_CC_V_4_4_1 is not set # CT_CC_V_4_4_0 is not set # CT_CC_V_4_3_6 is not set # CT_CC_V_4_3_5 is not set # CT_CC_V_4_3_4 is not set # CT_CC_V_4_3_3 is not set # CT_CC_V_4_3_2 is not set # CT_CC_V_4_3_1 is not set # CT_CC_V_4_2_4 is not set # CT_CC_V_4_2_2 is not set # CT_CC_CUSTOM is not set CT_CC_GCC_4_2_or_later=y CT_CC_GCC_4_3_or_later=y CT_CC_GCC_4_4_or_later=y CT_CC_GCC_4_5_or_later=y CT_CC_GCC_4_6_or_later=y CT_CC_GCC_4_7=y CT_CC_GCC_4_7_or_later=y CT_CC_GCC_HAS_GRAPHITE=y CT_CC_GCC_USE_GRAPHITE=y CT_CC_GCC_HAS_LTO=y CT_CC_GCC_USE_LTO=y CT_CC_GCC_HAS_PKGVERSION_BUGURL=y CT_CC_GCC_HAS_BUILD_ID=y CT_CC_GCC_HAS_LNK_HASH_STYLE=y CT_CC_GCC_USE_GMP_MPFR=y CT_CC_GCC_USE_MPC=y CT_CC_GCC_HAS_LIBQUADMATH=y # CT_CC_LANG_FORTRAN is not set CT_CC_SUPPORT_CXX=y CT_CC_SUPPORT_FORTRAN=y CT_CC_SUPPORT_JAVA=y CT_CC_SUPPORT_ADA=y CT_CC_SUPPORT_OBJC=y CT_CC_SUPPORT_OBJCXX=y Thnks in advance -- For unsubscribe information see http://sourceware.org/lists.html#faq