Clang fail to link in cygwin

This is the error message that I got.
llvm[4]: Linking Debug+Asserts executable clang
1 [main] ld 5816 C:\cygwin\bin\ld.exe: *** fatal error - cmalloc would hav
e returned NULL
collect2: ld terminated with signal 1 [Hangup]
1 [main] ld 5816 C:\cygwin\bin\ld.exe: *** fatal error - cmalloc would hav
e returned NULL
Stack trace:
Frame Function Args
00CDB198 6102749B (00CDB198, 00000000, 00000000, 00000000)
00CDB488 6102749B (61177B80, 00008000, 00000000, 61179977)
00CDC4B8 61004AFB (611793D8, 611793F4, 00CDC51C, 6123F134)
00CDC4F8 61002A44 (612432F8, 00000001, 00CDC5D8, 612432AC)
00CDC518 61094780 (612432F8, 00CDC578, 61174680, 000000FF)
00CDC5A8 6102CB2E (612432AC, 00100000, 000001A4, 000000F7)
00CDC790 6103A1F6 (6C2F6572, 6C61636F, 6F6C2F65, 656C6163)
End of stack trace