タグ

ブックマーク / d.hatena.ne.jp/kohtani (1)

  • UbuntuとSSP - Prex-組み込みリアルタイムOS開発日記

    どうも、Ubuntu(読み:ウブントゥ)でPrexがビルドできないらしい。 ./common/common.o: In function `printk': prex-0.4.2/boot/common/debug.c:77:undefined reference to ‘__stack_chk_fail’ make[1]: *** [bootldr] error 1 make[1]: Leaving directory `/project/prex/prex-0.4.2/boot' make: *** [boot] error 2 ちょっと見で、SSP (Stack-Smashing Protector)関連の問題だとわかる。スタックを保護するSSPはgcc-4.1から正式に導入されたが、それを利用するには -fstack-protector の指定が必要だ。Prexではそんなものは、も

    tomitake_flash
    tomitake_flash 2010/05/26
    "buggy distributions"ワロタw
  • 1