From owner-freebsd-stable Sat Apr 3 0: 0: 7 1999 Delivered-To: freebsd-stable@freebsd.org Received: from rzmail.uni-trier.de (rzmail.uni-trier.de [136.199.8.220]) by hub.freebsd.org (Postfix) with ESMTP id 3FFF314C4A for ; Sat, 3 Apr 1999 00:00:04 -0800 (PST) (envelope-from blank@uni-trier.de) Received: from blank.uni-trier.de (rzppp-91.uni-trier.de [136.199.4.91]) by rzmail.uni-trier.de (8.8.5/8.6.9) with ESMTP id JAA23962 for ; Sat, 3 Apr 1999 09:58:08 +0200 (CEST) Received: (from blank@localhost) by blank.uni-trier.de (8.9.3/8.9.3) id JAA00317 for stable@freebsd.org; Sat, 3 Apr 1999 09:56:39 +0200 (CEST) Date: Sat, 3 Apr 1999 09:56:39 +0200 From: Sascha Blank To: stable@freebsd.org Subject: Re: __deregister_frame_info and egcs-1.1.2 and freebsd-3.1 Message-ID: <19990403095639.A299@blank.uni-trier.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Fritz Heinrichmeyer on Mon, Mar 29, 1999 at 11:34:57AM +0200 Organization: Computer Center of the University of Trier, Germany X-Operating-System: FreeBSD 3.1-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, On Mon, Mar 29, 1999 at 11:34:57AM +0200, Fritz Heinrichmeyer wrote: > Some selflinked shared libraries later fail when loading into the > actual binaries with an undefined symbol > > __deregister_frame_info > > The symbol is defined in libgcc.a, and requested in libcrtXXS.o but not > loaded. In the Changelog of egcs i found that it is declared with a > TARGET_WEAK_ATTRIBUTE. I dont know what this means .. The same thing happened to me when I tried to compile teTeX-0.9 with a shared "kpathsea" library. Removing the TARGET_WEAK_ATTRIBUTE declaration on __deregister_frame_info and __register_frame_info that appear right at the beginning of egcs-1.1.2/gcc/crtstuff.c and then recompiling the crt*.o stuff solved the problem for me. But I must admit that I am not sure whether this is the right solution to this problem :-( -- Sascha Blank | FreeBSD - Student and System Administrator | that's where you want to go today! at the University of Trier, Germany | mailto:blank@fox.uni-trier.de | See http://www.freebsd.org for details To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message