are you running out of RAM+swap? the tail of dmesg should show. if so, adding more swap or using ld --no-keep-memory can help. (I am guessing so because it is signal 9, let me know if that's not the case)