[Bug other/50647] gcc/system.h: wrong prototype for sbrk

fzvqedi at v dot mintemail.com gcc-bugzilla@gcc.gnu.org
Fri Oct 7 20:57:00 GMT 2011


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.



More information about the Gcc-bugs mailing list