http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49606
--- Comment #1 from Martin Decky <martin at decky dot cz> 2011-07-01 12:12:47 UTC --- A minimal set of GCC command line arguments that still trigger the bug: /usr/local/cross/mips64/bin/mips64el-linux-gnu-gcc -mabi=o64 -mlong64 -c generic/libc.c -o generic/libc.o Leaving out either of the arguments -mabi=o64 and -mlong64 solves the bug, however I cannot leave them out because this is precisely what I need: To use the the O64 ABI and have 64-bit pointers. Or is there any better way how to achieve this?