2
我試圖在32位科學Linux上編譯鏗鏘3.9。由於虛擬內存不足導致在32位系統上編譯鐺失敗
編譯過程在93%失敗,出現以下錯誤:
[ 93%] Linking CXX executable ../../bin/clang
/lib/ld-linux.so.2: could not read symbols: Memory exhausted
collect2: error: ld returned 1 exit status
gmake[2]: *** [bin/clang-3.9] Error 1
gmake[1]: *** [tools/driver/CMakeFiles/clang.dir/all]
Error 2 gmake: *** [all] Error 2
我的機器有8GB的RAM,並與頂級尋找聯動期間的內存使用情況的演變,我看到它3GB,失敗後,這是32位linux上的進程虛擬內存限制。
,我看到了一個非常類似的問題,有人建議編譯Release版本,所以我想,但它無法與同類型的錯誤(即使顯然要遠一點):
[ 93%] Linking CXX executable ../../bin/clang
collect2: error: ld terminated with signal 11 [Segmentation fault]
/opt/rh/devtoolset-2/root/usr/libexec/gcc/i686-redhat-linux/4.8.2/ld: can not read symbols: Memory exhausted
gmake[2]: *** [bin/clang-3.9] Error 1
gmake[2]: *** Deleting file `bin/clang-3.9'
gmake[1]: *** [tools/driver/CMakeFiles/clang.dir/all] Error 2
gmake: *** [all] Error 2
有什麼建議嗎?