From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14312 invoked by alias); 10 Nov 2011 23:19:45 -0000 Received: (qmail 14303 invoked by uid 22791); 10 Nov 2011 23:19:44 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from g4t0017.houston.hp.com (HELO g4t0017.houston.hp.com) (15.201.24.20) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 Nov 2011 23:19:31 +0000 Received: from g4t0009.houston.hp.com (g4t0009.houston.hp.com [16.234.32.26]) by g4t0017.houston.hp.com (Postfix) with ESMTP id 49EDB38014; Thu, 10 Nov 2011 23:19:30 +0000 (UTC) Received: from adlwrk05.cce.hp.com (adlwrk05.cce.hp.com [16.85.100.124]) by g4t0009.houston.hp.com (Postfix) with ESMTP id 1BD93C069; Thu, 10 Nov 2011 23:19:30 +0000 (UTC) Received: (from sje@localhost) by adlwrk05.cce.hp.com (8.11.1 (PHNE_35951)/8.7.3 TIS Messaging 5.0) id pAANJTd15593; Thu, 10 Nov 2011 15:19:29 -0800 (PST) Date: Thu, 10 Nov 2011 23:57:00 -0000 Message-Id: <201111102319.pAANJTd15593@adlwrk05.cce.hp.com> From: Steve Ellcey To: Michael Matz Cc: Richard Guenther , gcc-patches@gcc.gnu.org Subject: Re: Mark objects death at end of scope In-Reply-To: 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-11/txt/msg01480.txt.bz2 Michael, This patch (r181172) has broken my bootstrap of IA64 Linux and I am trying to figure out what to do about it. The failure happens while building libunwind (I did not configure with --with-system-libunwind): /ctires/gcc/nightly/build-ia64-redhat-linux-gnu-trunk/obj_gcc/./gcc/xgcc -B/ctires/gcc/nightly/build-ia64-redhat-linux-gnu-trunk/obj_gcc/./gcc/ -B/ctires/gcc/nightly/gcc-ia64-redhat-linux-gnu-trunk/ia64-redhat-linux-gnu/bin/ -B/ctires/gcc/nightly/gcc-ia64-redhat-linux-gnu-trunk/ia64-redhat-linux-gnu/lib/ -isystem /ctires/gcc/nightly/gcc-ia64-redhat-linux-gnu-trunk/ia64-redhat-linux-gnu/include -isystem /ctires/gcc/nightly/gcc-ia64-redhat-linux-gnu-trunk/ia64-redhat-linux-gnu/sys-include -O2 -g -O2 -DIN_GCC -DUSE_LIBUNWIND_EXCEPTIONS -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DUSE_GAS_SYMVER -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared -nodefaultlibs -Wl,-h,libunwind.so.7 -Wl,-z,text -Wl,-z,defs -o ./libunwind.so.7.tmp -g -O2 -B./ fde-glibc_s.o unwind-ia64_s.o -lc && rm -f ./libunwind.so && if [ -f ./libunwind.so.7 ]; then mv -f ./libunwind.so.7 ./libu nwind.so.7.backup; else true; fi && mv ./libunwind.so.7.tmp ./libunwind.so.7 && ln -s libunwind.so.7 ./libunwind.so fde-glibc_s.o:(.IA_64.unwind_info+0x28): undefined reference to `__gcc_personality_v0' unwind-ia64_s.o:(.IA_64.unwind_info+0x158): undefined reference to `__gcc_personality_v0' unwind-ia64_s.o:(.IA_64.unwind_info+0x190): undefined reference to `__gcc_personality_v0' unwind-ia64_s.o:(.IA_64.unwind_info+0x1c8): undefined reference to `__gcc_personality_v0' unwind-ia64_s.o:(.IA_64.unwind_info+0x200): undefined reference to `__gcc_personality_v0' unwind-ia64_s.o:(.IA_64.unwind_info+0x3e0): more undefined references to `__gcc_personality_v0' follow collect2: error: ld returned 1 exit status Looking at fde-glibc_s.o and unwind-ia64_s.o before your patch I see that there are no references to __gcc_personality_v0. Looking at the email and PR 50857 made me think that maybe we should compile these files with -fno-exceptions but the Makefile is currently explicitly compiling them with -fexceptions so I am not sure if that is the right fix for this problem or not. Do you have any ideas or suggestions on what to do? Steve Ellcey sje@cup.hp.com