From patchwork Wed Sep 26 19:30:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 187181 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]) by ozlabs.org (Postfix) with SMTP id B43062C009A for ; Thu, 27 Sep 2012 05:30:49 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1349292650; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:To:CC:Subject:Date:Message-ID:User-Agent: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help: Sender:Delivered-To; bh=nRl0eJZZcQGTVMjA/ngc5sjvTWg=; b=rWJRYXTP L9sp1jaGZ8bpNGgIe5n3TGSFxLT7MgGlVcUdknijraM/4kF2o9Bd7iUEHLebrJr6 9wdnwFiRgeDCPiUCwlbkR6VVowAjDiWC55/LxVoomg9gbfIfBKLxy0uTYFGC3EGL 1c8NIQriFmPaIxKwAqjpqGTBrLNa+TDn9rk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:From:To:CC:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=qt/+xRwAxublh+UsjpO6+nVjlZMz4Sksu7XIBxHZmzk0OkBRdKwA7I7RzjwBmP ASj0XRFeD/+3S9Tgt0TUtCi/DGwBiczxTpjzMawFoT0fyjX3HJ/DYBg4y3+aXC3n +/g115jagK3hhJtWuIiAvr/q4CkLyqF57Rsw2FK/C/F+Y=; Received: (qmail 28082 invoked by alias); 26 Sep 2012 19:30:45 -0000 Received: (qmail 28072 invoked by uid 22791); 26 Sep 2012 19:30:44 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, T_DKIM_INVALID X-Spam-Check-By: sourceware.org Received: from mail02.prevas.se (HELO mail02.prevas.se) (62.95.78.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 19:30:30 +0000 Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 26 Sep 2012 21:30:27 +0200 Received: from dev.prevas.dk (172.16.10.60) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.318.1; Wed, 26 Sep 2012 21:30:26 +0200 Received: from arh128 (0x55532124.adsl.cybercity.dk [85.83.33.36]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eha) by dev.prevas.dk (Postfix) with ESMTPSA id 695FC80178; Wed, 26 Sep 2012 21:30:26 +0200 (CEST) Received: by arh128 (Postfix, from userid 1000) id 893D082143; Wed, 26 Sep 2012 21:30:25 +0200 (CEST) From: Esben Haabendal To: "Yann E. MORIN" CC: Subject: [PATCH] libc/uClibc: add workaround patch for ICE in m68k builds Date: Wed, 26 Sep 2012 21:30:25 +0200 Message-ID: <87sja4d1ke.fsf@arh128.prevas.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes 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 # HG changeset patch # User Esben Haabendal # Date 1348670462 -7200 # Node ID 9303953d3983fc94c6b1ffffbcac72b9459bd8fa # Parent a570b38101459a861ada6fa9f09c20f0a4fc3840 libc/uClibc: add workaround patch for ICE in m68k builds This patch/workaround is similar to the one proposed in http://www.mail-archive.com/uclibc@uclibc.org/msg02475.html Bug reproduced with GCC 4.6.3. [ALL ] In file included from libc/inet/inet_ntoa.c:8:0: [ALL ] libc/inet/addr.c: In function 'inet_ntoa_r': [ALL ] libc/inet/addr.c:135:1: warning: visibility attribute not supported in this configuration; ignored [-Wattri butes] [ERROR] libc/inet/addr.c:135:1: internal compiler error: in output_move_qimode, at config/m68k/m68k.c:3160 Signed-off-by: "Esben Haabendal" --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r a570b3810145 -r 9303953d3983 patches/uClibc/0.9.33.2/100-m68k-ice.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/uClibc/0.9.33.2/100-m68k-ice.patch Wed Sep 26 16:41:02 2012 +0200 @@ -0,0 +1,19 @@ +diff -urN uClibc-0.9.33.2~orig/Rules.mak uClibc-0.9.33.2/Rules.mak +--- uClibc-0.9.33.2~orig/Rules.mak 2012-05-15 09:20:09.000000000 +0200 ++++ uClibc-0.9.33.2/Rules.mak 2012-09-24 14:09:51.092953729 +0200 +@@ -226,6 +226,7 @@ + + OPTIMIZATION:= + # Use '-Os' optimization if available, else use -O2, allow Config to override ++ifneq ($(TARGET_ARCH),m68k) + $(eval $(call check-gcc-var,-Os)) + ifneq ($(CFLAG_-Os),) + OPTIMIZATION += $(CFLAG_-Os) +@@ -233,6 +234,7 @@ + $(eval $(call check-gcc-var,-O2)) + OPTIMIZATION += $(CFLAG_-O2) + endif ++endif + # Use the gcc 3.4 -funit-at-a-time optimization when available + $(eval $(call check-gcc-var,-funit-at-a-time)) + OPTIMIZATION += $(CFLAG_-funit-at-a-time)