编译GCC错误,大家有什么建议?(已解决)
时间:2009-01-12
来源:互联网
libtool: link: /usr/x86_64-pc-linux-gnu/bin/ranlib .libs/libstdc++.a libtool: link: rm -fr .libs/libstdc++.lax libtool: link: creating libstdc++.la libtool: link: ( cd ".libs" && rm -f "libstdc++.la" && ln -s "../libstdc++.la" "libstdc++.la" ) make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src' Making all in po make[8]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/po' msgfmt -o de.mo /var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/libstdc++-v3/po/de.po msgfmt -o fr.mo /var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/gcc-4.3.2/libstdc++-v3/po/fr.po make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/po' Making all in testsuite make[8]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/testsuite' make[8]: Nothing to be done for `all'. make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/testsuite' make[8]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3' true "AR_FLAGS=rc" "CC_FOR_BUILD=x86_64-pc-linux-gnu-gcc" "CC_FOR_TARGET=/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include" "CFLAGS=-O2 -g -march=nocona -O2 -pipe -m32" "CXXFLAGS=-march=nocona -O2 -pipe -D_GNU_SOURCE -m32" "CFLAGS_FOR_BUILD=-march=nocona -O2 -pipe" "CFLAGS_FOR_TARGET=-O2 -g -march=nocona -O2 -pipe " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-m32" "LIBCFLAGS=-O2 -g -march=nocona -O2 -pipe -m32" "LIBCFLAGS_FOR_TARGET=-O2 -g -march=nocona -O2 -pipe " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info" "libdir=/usr/lib" "includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include" "prefix=/usr" "tooldir=/usr/x86_64-pc-linux-gnu" "gxx_include_dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4" "AR=/usr/x86_64-pc-linux-gnu/bin/ar" "AS=/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/./gcc/as" "LD=/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/./gcc/collect-ld" "RANLIB=/usr/x86_64-pc-linux-gnu/bin/ranlib" "NM=/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/x86_64-pc-linux-gnu/bin/nm" "DESTDIR=" "WERROR=" DO=all multi-do # make make[8]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3' make[7]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3' make[6]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3' make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/libstdc++-v3' make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/libstdc++-v3' make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/libstdc++-v3' make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build/x86_64-pc-linux-gnu/libstdc++-v3' make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2-r2/work/build' make: *** [bootstrap-lean] 错误 2
作者: Hosanna 发布时间: 2009-01-12
作者: michaelyeah 发布时间: 2009-01-12
作者: michaelyeah
至少emerge --info得给个吧。
|
$emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-glibc2.2.5 Timestamp of tree: Mon, 12 Jan 2009 04:05:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.1-r1 sys-apps/sandbox: 1.3.2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS=" http://mirrors.64hosting.com/pub/mirrors/gentoo/ ftp://mirrors.64hosting.com/pub/mirrors/gentoo/ http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ftp.isu.edu.tw/pub/Linux/Gentoo " LANG="zh_CN.utf8" LDFLAGS="-Wl,-O1" LINGUAS="zh_CN zh" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/mozilla /usr/portage/local/my_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 berkdb bzip2 cjk cli cracklib crypt dri fortran gdbm gpm gtk gtk2 iconv isdnlog jpeg midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 sse3 ssl svg sysfs tcpd tiff truetype unicode xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
作者: Hosanna 发布时间: 2009-01-12
忘了是设置以下哪个了
LC_TYPE=C
LC_ALL=C
如 LC_TYPE=C emerge gcc
作者: axlrose 发布时间: 2009-01-13
作者: axlrose
不会又是我遇到的那个问题吧
忘了是设置以下哪个了 LC_TYPE=C LC_ALL=C 如 LC_TYPE=C emerge gcc |
作者: Hosanna 发布时间: 2009-01-13
突然想起论坛的按用户查找功能,就一下找到了
作者: axlrose 发布时间: 2009-01-13
果然是这个问题,加了LC_ALL=C之后顺利编译通过了!
作者: Hosanna 发布时间: 2009-01-13
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28