From patchwork Mon Apr 27 21:51:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reinoud Koornstra X-Patchwork-Id: 465221 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0BB0314012C for ; Tue, 28 Apr 2015 07:51:14 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=sourceware.org header.i=@sourceware.org header.b=ajrWsai/; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=ilengbybxZxsC2YU55QfwZtuANun+ Ujpp4ua7i21KQu9LdN59ni+j+yql12srXT2uVPust4S6LjwbbOEh8kzAsYxPM2cV A9Dwpy6euduQblH7d3KRZIErJmtxIZd2r3HjdDjVupElfcTqCB/mjE4Ft1AMfvi4 cnC0cOrwGqNG6Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=S/KTaxJiBiNqiHT8ObXaL1ixXxs=; b=ajr Wsai/5R7mu54aE8JFVgw/BYcmPPPsOyRkrptuYSjVLW6EjQTe4o2KD39b6Ag21/Y gGOGiAB5OlbfrU+tEeiX2fww7mw6roFy94ue9/Ave6A05M7xxeXHibjQiDOqH3sy xa58sHIzi0PcPBUKxN6qXMh1BAKJARYSljOBflkE= Received: (qmail 12215 invoked by alias); 27 Apr 2015 21:51:07 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 12204 invoked by uid 89); 27 Apr 2015 21:51:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS, URIBL_SBL autolearn=ham version=3.3.2 X-HELO: mail-ig0-f176.google.com Received: from mail-ig0-f176.google.com (HELO mail-ig0-f176.google.com) (209.85.213.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 27 Apr 2015 21:51:05 +0000 Received: by igblo3 with SMTP id lo3so74617855igb.1 for ; Mon, 27 Apr 2015 14:51:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.45.103 with SMTP id l7mr16095254igm.41.1430171463780; Mon, 27 Apr 2015 14:51:03 -0700 (PDT) Received: by 10.64.169.98 with HTTP; Mon, 27 Apr 2015 14:51:03 -0700 (PDT) Date: Mon, 27 Apr 2015 15:51:03 -0600 Message-ID: Subject: uclibc issue with gcc 5.1 From: Reinoud Koornstra To: "crossgcc@sourceware.org" X-IsSubscribed: yes Hi Everyone, I'm trying to compile the toolchain witg gcc 5.1 uclibc doesn't link anymore for a reason I don't know yet. I changed config/cc/gcc.in to include gcc 5.1, stage1 and stage 2 compiling of gcc work fine. The diff for gcc.in: The error I got when compiling uclibc is the following, I just don't currently why I'm not getting it a gcc 4.x [ALL ] AS librt/mq_timedreceive.oS [ALL ] AS librt/mq_timedsend.oS [ALL ] AR cr librt/librt_so.a [ALL ] STRIP -x -R .note -R .comment librt/librt_so.a [ALL ] LD librt-0.9.33.2.so [ALL ] librt/librt_so.a(rt-unwind-resume.oS): In function `_Unwind_Resume': [ALL ] rt-unwind-resume.c:(.text+0x3c): undefined reference to `libgcc_s_resume' [ERROR] collect2: error: ld returned 1 exit status [ERROR] make[1]: *** [lib/librt.so] Error 1 --- For unsubscribe information see http://sourceware.org/lists.html#faq --- config/cc/gcc.in.old 2015-04-27 15:08:09.626475063 -0600 +++ config/cc/gcc.in 2015-04-27 15:08:32.117392406 -0600 @@ -36,6 +36,11 @@ # Don't remove next line # CT_INSERT_VERSION_BELOW +config CC_V_5_1_0 + bool + prompt "5.1.0" + select CC_GCC_5_1 + config CC_V_linaro_4_9 bool prompt "linaro-4.9-2015.03" @@ -409,9 +414,27 @@ bool select CC_GCC_4_8_or_later -config CC_GCC_latest +config CC_GCC_5_1 + bool + select CC_GCC_5_1_or_later + select CC_GCC_USE_GMP_MPFR + select CC_GCC_USE_MPC + select CC_GCC_HAS_GRAPHITE + select CC_GCC_HAS_LTO + select CC_GCC_HAS_PKGVERSION_BUGURL + select CC_GCC_HAS_BUILD_ID + select CC_GCC_HAS_LNK_HASH_STYLE + select CC_GCC_HAS_LIBQUADMATH + select CC_GCC_HAS_LIBSANITIZER + select CC_SUPPORT_GOLANG + +config CC_GCC_5_1_or_later bool select CC_GCC_4_9_or_later + +config CC_GCC_latest + bool + select CC_GCC_5_1_or_later select CC_GCC_USE_GMP_MPFR select CC_GCC_USE_MPC select CC_GCC_HAS_GRAPHITE @@ -508,6 +531,7 @@ string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "5.1.0" if CC_V_5_1_0 default "linaro-4.9-2015.03" if CC_V_linaro_4_9 default "4.9.2" if CC_V_4_9_2 default "4.9.1" if CC_V_4_9_1