Re: binaries compiled on slink don't run anywhere else
> But the real error must be in the link step of your 1000s-O2 program.
>
> No, that's not true
>
> __register_frame_info is defined in libc AND libgcc, but because
> libc is linked first, you get __register_frame_info symbol
> resolved.
This happens if both, libc contains __register_frame_info, and libc is
linked before libgcc. Both is nonstandard.
1) libc6_2.0.7u-4 on both m68k and i386 does not contain
__register_frame_info. What libc6 do you have?
2) The usual thing gcc adds automatically for linking is
-lgcc -lc -lgcc
i.e., libgcc.a comes first.
Roman
Reply to: