|
发表于 2009-2-13 20:29:32
|
显示全部楼层
楼主,一般情况下用作 CLFS 宿主的机器是选性能比较强的。
"龙芯2E,PowerPC" 是您最好的机器?
一个概念性错误,Target glibc2.8 是由交叉编译工具链 编译的,不是您宿主上的 gcc 编译的。
您应该看看是否少打补丁。
http://gcc.gnu.org/onlinedocs/gc ... ialect-Options.html
-fgnu89-inline
The option -fgnu89-inline tells GCC to use the traditional GNU semantics for inline functions when in C99 mode. See An Inline Function is As Fast As a Macro. This option is accepted and ignored by GCC versions 4.1.3 up to but not including 4.3. In GCC versions 4.3 and later it changes the behavior of GCC in C99 mode. Using this option is roughly equivalent to adding the gnu_inline function attribute to all inline functions (see Function Attributes).
The option -fno-gnu89-inline explicitly tells GCC to use the C99 semantics for inline when in C99 or gnu99 mode (i.e., it specifies the default behavior). This option was first supported in GCC 4.3. This option is not supported in C89 or gnu89 mode.
The preprocessor macros __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__ may be used to check which semantics are in effect for inline functions. See Common Predefined Macros.
您可能需要使用 "-fno-gnu89-inline" 参数。
PS: 您应该给出使用的手册地址、详细错误信息。 |
|