From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14559 invoked by alias); 3 Jan 2014 09:57:23 -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 14549 invoked by uid 89); 3 Jan 2014 09:57:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp1.ugent.be Received: from smtp1.ugent.be (HELO smtp1.ugent.be) (157.193.71.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Jan 2014 09:57:22 +0000 Received: from localhost (mcheck2.ugent.be [157.193.49.249]) by smtp1.ugent.be (Postfix) with ESMTP id D94E6888F for ; Fri, 3 Jan 2014 10:57:20 +0100 (CET) Received: from smtp1.ugent.be ([IPv6:::ffff:157.193.71.182]) by localhost (mcheck2.UGent.be [::ffff:157.193.43.11]) (amavisd-new, port 10024) with ESMTP id QO4RcwJidpb8 for ; Fri, 3 Jan 2014 10:57:16 +0100 (CET) Received: from mail.elis.ugent.be (mail.elis.UGent.be [157.193.206.48]) by smtp1.ugent.be (Postfix) with ESMTP id A177A83C8 for ; Fri, 3 Jan 2014 10:57:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.elis.ugent.be (Postfix) with ESMTP id 7B567918C5F for ; Fri, 3 Jan 2014 10:57:16 +0100 (CET) Received: from mail.elis.ugent.be ([127.0.0.1]) by localhost (mail.elis.ugent.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gk68mH1RX+Ns for ; Fri, 3 Jan 2014 10:57:16 +0100 (CET) Received: from i7sb.local (laptop-np.elis.UGent.be [157.193.204.197]) by mail.elis.ugent.be (Postfix) with ESMTP id 4BD05918C5E for ; Fri, 3 Jan 2014 10:57:16 +0100 (CET) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH] cc/gcc: fix gcc 4.8 build for C library without threads support X-Mercurial-Node: 309df93f4354c80e05c950ded710d111c50d7b26 Message-Id: <309df93f4354c80e05c9.1388743085@i7sb.local> User-Agent: Mercurial-patchbomb/2.8.1 Date: Fri, 03 Jan 2014 09:57:00 -0000 From: Niels Penneman To: crossgcc@sourceware.org X-j-chkmail-Enveloppe: 52C6897C.005 from mail.elis.UGent.be/mail.elis.UGent.be/157.193.206.48/mail.elis.ugent.be/ X-j-chkmail-Score: MSGID : 52C6897C.005 on smtp1.ugent.be : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-SW-Source: 2014-01/txt/msg00011.txt.bz2 # HG changeset patch # User Niels Penneman # Date 1388743068 -3600 # Fri Jan 03 10:57:48 2014 +0100 # Node ID 309df93f4354c80e05c950ded710d111c50d7b26 # Parent 8e2077dfc250877b2182f31cac97bd1292e01026 cc/gcc: fix gcc 4.8 build for C library without threads support Signed-off-by: Niels Penneman diff -r 8e2077dfc250 -r 309df93f4354 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri Jan 03 00:13:15 2014 +0100 +++ b/scripts/build/cc/gcc.sh Fri Jan 03 10:57:48 2014 +0100 @@ -643,6 +643,11 @@ if [ -n "${CT_CC_ENABLE_CXX_FLAGS}" ]; then extra_config+=("--enable-cxx-flags=${CT_CC_ENABLE_CXX_FLAGS}") fi + if [ "${CT_CC_GCC_4_8_or_later}" = "y" ]; then + if [ "${CT_THREADS}" = "none" ]; then + extra_config+=(--disable-libatomic) + fi + fi if [ "${CT_CC_GCC_LIBMUDFLAP}" = "y" ]; then extra_config+=(--enable-libmudflap) else -- For unsubscribe information see http://sourceware.org/lists.html#faq