ActionsLike0
Bug #4998
closedaddr2line.c with SunStudio (Oracle Solaris Studio) cc
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-07-08 trunk 32460) [sparc64-solaris2.10]
Backport:
Description
addr2line.c にて
#ifdef ELF
(中略)
#else /* defined(ELF) */
#error not supported
#endif
のように ELF の有無をチェックしていますが、Solaris の cc はこのマクロを定義しないようで、"not supported"になってしまいました。(sparc64で動くSolaris 10上のSun Studio 11とOracle Solaris Studio 12.2で確認)
ELF のかわりに、configureでELFを使っているかどうかチェックして定義されるマクロ USE_ELF を使うように変更したら、make test もPASSしました。
(make test-all は途中でSegmentation faultで落ちましたが、それは別件。)
パッチを添付します。
Files
Updated by naruse (Yui NARUSE) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
ActionsLike0