|
|
已经用的是gcc-4.3.3了, 怎么装virtualbox-bin 还要gcc-3.3.6-r1呢?
~ $ sudo emerge -pv virtualbox-bin
Password:
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] sys-devel/gcc-3.3.6-r1 [4.3.3] USE="fortran nls (-altivec) -bootstrap -boundschecking -build -doc -gcj -gtk (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB
[ebuild N ] app-emulation/virtualbox-modules-2.0.6 0 kB
[ebuild N ] net-misc/bridge-utils-1.4 0 kB
[ebuild N ] sys-fs/fuse-2.7.4 0 kB
[ebuild N ] virtual/libstdc++-3.3 0 kB
[ebuild N ] sys-apps/usermode-utilities-20070815 0 kB
[ebuild N f ] app-emulation/virtualbox-bin-2.0.6 USE="-additions -chm -headless -sdk -vboxwebsrv" 0 kB
Total: 7 packages (6 new, 1 in new slot), Size of downloads: 0 kB
Fetch Restriction: 1 package
我说不管它吧, 谁知--
* Messages for package sys-devel/gcc-3.3.6-r1:
*
* ERROR: sys-devel/gcc-3.3.6-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4679: Called toolchain_src_compile
* environment, line 5202: Called gcc_src_compile
* environment, line 3006: Called gcc_do_make
* environment, line 2797: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
* The die message:
* emake failed with bootstrap-lean
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/home/gentoo-tmp/portage/sys-devel/gcc-3.3.6-r1/temp/build.log'.
* The ebuild environment file is located at '/home/gentoo-tmp/portage/sys-devel/gcc-3.3.6-r1/temp/environment'.
*
把gcc的编译优化参数改成下面这个最"老实"的也不行
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu" |
|