Forums: LFSフォーラム (Thread #28981)

GCC-4.6.0 (2011-03-31 18:39 by matsuand #56502)

matsuand です。

GCC-4.6 は何かと大きな変更となる
メジャーバージョンアップだそうですね。
(内容、全然分かっていませんが・・・)

公開早々、LFSbook SVN版 も
(オリジナル、日本語版ともに) 対応しています。

Reply to #56502×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: GCC-4.6.0 (2011-04-02 20:38 by matsuand #56563)

matsuand です。

gcc がバージョンアップするのは良いのですが、
他パッケージにいろいろ影響が出てきそうな予感。

LFS の範囲内では十分検証されているかと思います。
しかし LFS をベースに BLFS へと進むと、
何かとビルドできない状況も発生しそうです。

今、私は LFS-svn20110330 をビルドした後に、
libprelude なるライブラリをビルドしてエラーになりました。
これは BLFS に正式採用されていないライブラリですが、
Linux-PAM のオプションライブラリとなっているものです。

とりあえず、然るべきソースファイルに
#include <stddef.h>
を加えたらビルドは通りました。

これ以外にも、他パッケージにて
#include <wchar.h> や #include <wctype.h> と
#include <stddef.h> との宣言順番によっては、
エラーになるような情報も見かけました。

各パッケージのアップストリームが的確に
対応を進めてくれればよいのですが、
対応が遅いような場合は、自力解決が必要なのでしょう。

こういったところに出くわす機会を与えてくれるのも
LFS、BLFS ならでは、のことかと思います。
Reply to #56502

Reply to #56563×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login