Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 1999 09:56:39 +0200
From:      Sascha Blank <blank@uni-trier.de>
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>
In-Reply-To: <no.id>; from Fritz Heinrichmeyer on Mon, Mar 29, 1999 at 11:34:57AM %2B0200
References:  <no.id>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990403095639.A299>