On Tue, 8 Jan 2013, Iyer, Balaji V wrote:
Thanks for your response. I looked at config.log and I got the following information about sbrk. This error only occurs when I type "make." If I reconfigured the build directory and typed "make -j8" (or whatever the number of cores I have on my machine) it seem to build fine.
A race condition? Or the first make created stuff that the second try picked up?
configure:10333: checking whether sbrk is declared | #ifndef sbrk | char *(*pfn) = (char *(*)) sbrk ;
The result of grep is not so useful, what's nearby would help more. You should probably file a bug report and include the whole gcc/config.log file.
(H.J. Lu noticed another gmp.h issue, but that's only for in-tree gmp and you seem to have an external one)
-- Marc Glisse