From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19955 invoked by alias); 31 Aug 2006 09:18:05 -0000 Received: (qmail 19938 invoked by uid 22791); 31 Aug 2006 09:18:05 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 Aug 2006 09:18:00 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k7V9Ht87008037; Thu, 31 Aug 2006 11:17:55 +0200 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k7V9HtdR008036; Thu, 31 Aug 2006 11:17:55 +0200 Date: Thu, 31 Aug 2006 09:18:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix bug-atexit3 on ppc{,64} Message-ID: <20060831091755.GO4556@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00035.txt.bz2 Hi! On ppc{,64} libgcc_eh.a(unwind_dw2.o) needs __libc_stack_end and with -Wl,-z,defs this causes a failure without the following patch. 2006-08-31 Jakub Jelinek * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. --- libc/dlfcn/Makefile.jj 2006-08-22 10:42:28.000000000 +0200 +++ libc/dlfcn/Makefile 2006-08-31 11:13:53.000000000 +0200 @@ -136,7 +136,8 @@ $(objpfx)bug-atexit2.out: $(objpfx)bug-a $(objpfx)bug-atexit2-lib.so: $(common-objpfx)libc.so \ $(common-objpfx)libc_nonshared.a -LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a +LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)elf/ld.so \ + $(common-objpfx)libc_nonshared.a $(objpfx)bug-atexit3: $(libdl) $(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so $(objpfx)bug-atexit3-lib.so: $(common-objpfx)libc.so \ Jakub