Re: binaries compiled on slink don't run anywhere else
On Mon, Nov 16, 1998 at 11:44:07AM -0600, Oleg Krivosheev wrote:
> __register_frame_info is defined in libc AND libgcc, but because
> libc is linked first, you get __register_frame_info symbol
> resolved. The only fix i can think about:
_register_frame_info is an egcs-specific routine, from libgcc.a. That
it is ending up in libc.so.6 at all is...well, bad.
> 1. out of libgcc create small library called libframe and
> put it into egcc subdir (/usr/lib/gcc-lib/i486-linux/egcs-2.91.58/)
>
> 2. modify egcc spec so libframe will be linked BEFORE libc
>
> 3. provide libframe.so in order to be able to run slink
> binaries on RH and such via LD_LIBRARY_PRELOAD trick
I don't really think that's a solution...
Dan
Reply to: