http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50647
--- Comment #2 from Roger Meyer <fzvqedi at v dot mintemail.com> 2011-10-07 20:57:27 UTC --- indeed, this should not happen. but configure fails to figure that sbrk _is_ provided by the libc. probably it doesn't use the proper feature test macros. or it just err'd on compilation due to some wrong typedef's that configure wrote into auto-host.h, like "#define ssize_t int" and similar nonsense. however that prototype is just wrong. once it is fixed i'll try to figure out why configure doesn't/didn't detect sbrk being there.