Re: PLEASE READ: egcs issues -- workaround
On Thu, Jan 28, 1999 at 08:04:47PM -0600, John Goerzen wrote:
> If generic programs compiled by someone using Debian don't run elsewhere,
> that could be a problem. So we fix the compiler. But hold up the distro
> because other debs were compiled with that compiler? I don't think so.
Hey guys, I found a solution to the __register_frame_pointer problem a while
ago. Incidentally, I'm seeing RPM's built with that bug too.
mkdir /tmp/blah
cd /tmp/blah
ar x /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/libgcc.a
gcc -o /tmp/libframe-faker.so -shared *.o
export LD_PRELOAD=/tmp/libframe-faker.so
<run the broken program>
(I hope I didn't forget anything there...)
If you try to run a program that needs __register_frame_pointer and your
libc6 doesn't have it included (which is normal), you can LD_PRELOAD the
library and off it goes.
It's kind of ugly, but it works. Maybe we should just provide a
compatibility library?
Have fun,
Avery
Reply to: