LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1142|回复: 7

emerge -uDN world 问题 x86_64-pc-linux-gnu-gcc 无效???

[复制链接]
发表于 2008-2-14 12:49:32 | 显示全部楼层 |阅读模式
今日早上无事 就索性执行了emerge --sync 然后emerge -uDN world
出现如下错误提示 比较费解

x86_64-pc-linux-gnu-gcc 这个是什么意思
  1. localhost j # emerge -uDN world
  2. Calculating world dependencies... done!
  3. >>> Verifying ebuild Manifests...
  4. >>> Emerging (1 of 1) dev-util/boost-build-1.34.1 to /
  5. * boost_1_34_1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
  6. * checking ebuild checksums ;-) ...                                      [ ok ]
  7. * checking auxfile checksums ;-) ...                                     [ ok ]
  8. * checking miscfile checksums ;-) ...                                    [ ok ]
  9. * checking boost_1_34_1.tar.bz2 ;-) ...                                  [ ok ]
  10. * Filtering out invalid CFLAG "-fopenmp"
  11. * Filtering out invalid CXXFLAG "-fopenmp"
  12. >>> Checking boost_1_34_1.tar.bz2's mtime...
  13. >>> WORKDIR is up-to-date, keeping...
  14. >>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.34.1/work/boost_1_34_1/tools ...
  15. ###
  16. ### Using 'cc' toolset.
  17. ###
  18. rm -rf bootstrap
  19. mkdir bootstrap
  20. x86_64-pc-linux-gnu-gcc -o bootstrap/jam0 -march=athlon64 -mtune=athlon64 -O3 -msse2 -m3dnow -fomit-frame-pointer -pipe -fno-strict-aliasing command.c compile.c debug.c execunix.c expand.c fileunix.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execnt.c filent.c
  21. ./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean
  22. ...found 1 target...
  23. ...updating 1 target...
  24. ...updated 1 target...
  25. ./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python
  26. ...found 45 targets...
  27. ...updating 2 targets...
  28. [MKDIR] bin.linux
  29. [COMPILE] bin.linux/bjam
  30. x86_64-pc-linux-gnu-gcc: :没有那个文件或目录
  31.     "x86_64-pc-linux-gnu-gcc"   -o bin.linux/bjam -DNDEBUG -DOPT_HEADER_CACHE_EXT -DOPT_GRAPH_DEBUG_EXT -DOPT_SEMAPHORE -DOPT_AT_FILES -DOPT_FIX_TARGET_VARIABLES_EXT -DOPT_IMPROVED_PATIENCE_EXT -DYYSTACKSIZE=5000 -march=athlon64 -mtune=athlon64 -O3 -msse2 -m3dnow -fomit-frame-pointer -pipe  -fno-strict-aliasing -O "" command.c compile.c debug.c expand.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c pathunix.c
  32. ...failed [COMPILE] bin.linux/bjam...
  33. ...failed updating 1 target...
  34. ...updated 1 target...
  35. *
  36. * ERROR: dev-util/boost-build-1.34.1 failed.
  37. * Call stack:
  38. *                   ebuild.sh, line 1701:  Called dyn_compile
  39. *                   ebuild.sh, line 1039:  Called qa_call 'src_compile'
  40. *                   ebuild.sh, line   44:  Called src_compile
  41. *   boost-build-1.34.1.ebuild, line   63:  Called die
  42. * The specific snippet of code:
  43. *      LIBS="${LDFLAGS}" CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed"
  44. *  The die message:
  45. *   building bjam failed
  46. *
  47. * If you need support, post the topmost build error, and the call stack if relevant.
  48. * A complete build log is located at '/var/log/portage/dev-util:boost-build-1.34.1:20080214-022514.log'.
  49. *
  50. * Messages for package dev-util/boost-build-1.34.1:
  51. * Filtering out invalid CFLAG "-fopenmp"
  52. * Filtering out invalid CXXFLAG "-fopenmp"
  53. *
  54. * ERROR: dev-util/boost-build-1.34.1 failed.
  55. * Call stack:
  56. *                   ebuild.sh, line 1701:  Called dyn_compile
  57. *                   ebuild.sh, line 1039:  Called qa_call 'src_compile'
  58. *                   ebuild.sh, line   44:  Called src_compile
  59. *   boost-build-1.34.1.ebuild, line   63:  Called die
  60. * The specific snippet of code:
  61. *      LIBS="${LDFLAGS}" CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed"
  62. *  The die message:
  63. *   building bjam failed
  64. *
  65. * If you need support, post the topmost build error, and the call stack if relevant.
  66. * A complete build log is located at '/var/log/portage/dev-util:boost-build-1.34.1:20080214-022514.log'.
  67. *
复制代码
发表于 2008-2-14 13:21:18 | 显示全部楼层
x86_64-pc-linux-gnu-gcc这是你的gcc的名字
你用gcc-config再设定一下你的gcc
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-14 13:32:28 | 显示全部楼层
是不是 执行 gcc-config x86_64-pc-linux-gnu-4.1.2

  1. gcc-config x86_64-pc-linux-gnu-4.1.2
  2. * Switching native-compiler to x86_64-pc-linux-gnu-4.1.2 ...             [ ok ]
复制代码
我执行了这个 但是还是一样的错误提示
回复 支持 反对

使用道具 举报

发表于 2008-2-14 14:26:21 | 显示全部楼层
我也遇到了这样的情况我的是i686的。
回复 支持 反对

使用道具 举报

发表于 2008-2-14 16:47:43 | 显示全部楼层
检查你的CHOST设置是否和gcc-config里面使用的一致
回复 支持 反对

使用道具 举报

发表于 2008-2-16 07:38:19 | 显示全部楼层
直接运行一下该命令看看是否成功?
gcc-config -l 有啥结果?
回复 支持 反对

使用道具 举报

发表于 2008-2-16 07:39:46 | 显示全部楼层
直接运行一下该命令看看是否成功?
gcc-config -l 有啥结果?
回复 支持 反对

使用道具 举报

发表于 2008-2-16 09:32:59 | 显示全部楼层
重新emerge --sync 就好了,这个bug已经修复了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表