From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6859 invoked by alias); 9 Jun 2011 00:27:00 -0000 Received: (qmail 6851 invoked by uid 22791); 9 Jun 2011 00:26:59 -0000 X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_00,MEDICAL_SUBJECT,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO shards.monkeyblade.net) (198.137.202.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jun 2011 00:26:32 +0000 Received: from localhost (74-93-104-100-Washington.hfc.comcastbusiness.net [74.93.104.100]) (authenticated bits=0) by shards.monkeyblade.net (8.14.4/8.14.4) with ESMTP id p590QLmv024932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jun 2011 17:26:22 -0700 Date: Thu, 09 Jun 2011 00:52:00 -0000 Message-Id: <20110608.172621.830605493801954726.davem@davemloft.net> To: gcc-patches@gcc.gnu.org CC: ro@CeBiTec.Uni-Bielefeld.DE Subject: toplevel libgcc md-unwind-support.h change breaks build From: David Miller Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg00694.txt.bz2 The bootstrap breaks in stage1 when trying to build libgcc for multilib (this is sparc-unknown-linux with "--enable-targets=all"): make[3]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux/gcc' mkdir -p -- sparc-unknown-linux-gnu/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in sparc-unknown-linux-gnu/libgcc configure: creating cache ./config.cache ... checking for __attribute__((visibility("hidden")))... yes checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: linking ../../../gcc/libgcc/config/sparc/linux.h to md-unwind-support.h config.status: error: ../../../gcc/libgcc/config/sparc/linux.h: file not found make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux' make: *** [all] Error 2 It's using "linux.h" instead of "linux-unwind.h" for whatever reason. So we need something like this? diff --git a/libgcc/config.host b/libgcc/config.host index 24282e1..713b2a9 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -600,7 +600,7 @@ sparc-*-elf*) sparc-*-linux*) # SPARC's running GNU/Linux, libc6 extra_parts="$extra_parts crtfastmath.o" tmake_file="${tmake_file} t-crtfm" - md_unwind_header=sparc/linux.h + md_unwind_header=sparc/linux-unwind.h ;; sparc-*-rtems* | sparc64-*-rtems* ) tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"