On Fri, Jul 04, 2008 at 02:42:40PM +0100, Chris Steel wrote: > __gnu_local_gp seems to be a mips specific symbol in gcc, which is > apparently used to provide -mno-shared support to gcc. The > implementation of this symbol is in gcc-4.x.x/gcc/config/mips/mips.c > and the only thing which seems to have changed between gcc-4.2.4 and > gcc-4.3.1 is the parameters passed to emit_insn, and the addition of a > LOADGP_RTP option.
Having run into this recently, I know what else changed: a configure-time check was added to use -mno-shared by default. Building with gcc 4.2 and -mno-shared will probably show the same problem. > Does anyone have any idea how this has broken, and how to work around > / fix this in gcc or mklibs? You'll have to make mklibs ignore this symbol; the linker defines it. -- Daniel Jacobowitz CodeSourcery