[問題] internal compiler error: Segmentation fault

看板LinuxDev作者 (澎湖.仙人掌.234)時間18年前 (2007/04/14 13:25), 編輯推噓3(307)
留言10則, 1人參與, 最新討論串1/1
我在 make all GNU SID source code 耗時三個鐘頭+ 後來出現了 internal compiler error: Segmentation falut 底下是我所下的一些參數 /root/work/src/sid/configure --prefix=/foo > sid_conf_log 2>&1 make all > sid_make_log 2>&1 底下是 log檔 http://www.sendspace.com/file/q57p8h sid_make_log的錯誤發生在 5974 行 麻煩各位幫忙一下 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.74.251.159

04/14 14:47, , 1F
那一行的錯誤是:
04/14 14:47, 1F

04/14 14:48, , 2F
In file included from ... sh.h:314: internal compiler err
04/14 14:48, 2F

04/14 14:50, , 3F
這個問題我就沒見過。不過如果是我,我會用文字編輯器打開
04/14 14:50, 3F

04/14 14:50, , 4F
sh.h那個檔案,看自己有沒有辦法把原始碼改好。
04/14 14:50, 4F

04/14 14:52, , 5F
它是說g++在編譯sh.h的第314行造成錯誤。
04/14 14:52, 5F

04/14 14:54, , 6F
但這錯誤訊息看來是你主機上的g++執行的時候掛了
04/14 14:54, 6F

04/14 14:55, , 7F
所以也許是你主機上的g++的bug也不一定
04/14 14:55, 7F

04/14 14:57, , 8F
如果問題出在後者,那可能就要換個版本的編譯器。
04/14 14:57, 8F

04/14 14:58, , 9F
再不然你把sh.h internal compiler error這幾個關鍵字丟到
04/14 14:58, 9F

04/14 15:00, , 10F
google搜尋看看。
04/14 15:00, 10F
文章代碼(AID): #1686MseT (LinuxDev)
文章代碼(AID): #1686MseT (LinuxDev)