LinuxSir.cn,穿越时空的Linuxsir!

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

loongson 2f emerge mldonkey 出错了

[复制链接]
发表于 2009-3-16 01:29:09 | 显示全部楼层 |阅读模式
2f的盒子,按照zhllg老大的这个帖子安装的系统,内核也更新到了2.6.28-rc8,编译mldonkey的时候出错了:


  1. src/utils/lib/CryptoPP.cc: In static member function ‘static void CryptoPP::Portable::Multiply2(CryptoPP::word*, const CryptoPP
  2. ::word*, const CryptoPP::word*)’:
  3. src/utils/lib/CryptoPP.cc:1883: error: impossible constraint in ‘asm’
  4. src/utils/lib/CryptoPP.cc:1883: error: impossible constraint in ‘asm’
  5. src/utils/lib/CryptoPP.cc:1883: error: impossible constraint in ‘asm’
  6. make: *** [src/utils/lib/CryptoPP.o] Error 1
复制代码


emerge --info


  1. Portage 2.2_rc25 (default-linux/mips/2007.1-dev/cobalt/n32, gcc-4.4.0-pre9999, glibc-2.9_p20081124-r0, 2.6.28-rc8-r0bertz mips\
  2. 64)
  3. =================================================================
  4. System uname: Linux-2.6.28-rc8-r0bertz-mips64-ICT_Loongson-2_V0.3_FPU_V0.1-with-glibc2.0
  5. Timestamp of tree: Sun, 15 Mar 2009 03:15:01 +0000
  6. ccache version 2.4 [enabled]
  7. app-shells/bash:     4.0_p10-r1
  8. dev-lang/python:     2.5.4-r2
  9. dev-util/ccache:     2.4-r8
  10. sys-apps/baselayout: 2.0.0
  11. sys-apps/openrc:     0.3.0-r1
  12. sys-apps/sandbox:    1.6
  13. sys-devel/autoconf:  2.63
  14. sys-devel/automake:  1.9.6-r2, 1.10.2
  15. sys-devel/binutils:  9999
  16. sys-devel/gcc-config: 1.4.0-r4
  17. sys-devel/libtool:   2.2.6a
  18. virtual/os-headers:  2.6.27-r2
  19. ACCEPT_KEYWORDS="mips x86 ~mips ~x86"
  20. CBUILD="mips64el-unknown-linux-gnu"
  21. CFLAGS="-O2 -march=loongson2f -mabi=n32 -pipe"
  22. CHOST="mips64el-unknown-linux-gnu"
  23. CONFIG_PROTECT="/etc"
  24. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /e\
  25. tc/terminfo /etc/udev/rules.d"
  26. CXXFLAGS="-O2 -march=loongson2f -mabi=n32 -pipe"
  27. DISTDIR="/usr/portage/distfiles"
  28. FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sfperms strict \
  29. unmerge-orphans userfetch"
  30. GENTOO_MIRRORS="http://61.135.158.199"
  31. LANG="en_US.UTF-8"
  32. LDFLAGS="-Wl,-O1 -Wl,--as-needed"
  33. PKGDIR="/usr/portage/packages"
  34. PORTAGE_CONFIGROOT="/"
  35. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeou\
  36. t=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  37. PORTAGE_TMPDIR="/var/tmp"
  38. PORTDIR="/usr/portage"
  39. PORTDIR_OVERLAY="/usr/local/portage/layman/loongson /usr/local/portage"
  40. SYNC="rsync://61.135.158.199/gentoo-portage"
  41. USE="avahi bash-completion berkdb cli cracklib cups curl dhcp fam gdbm iconv isdnlog libwww mdnsresponder-compat midi mips mud\
  42. flap multislot n32 nls nptl nptlonly pam pcre perl pppd readline reflection sdl session spl ssl startup-notification truetype \
  43. unicode xorg zeroconf zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug l\
  44. adspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_ba\
  45. sic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner a\
  46. uthz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include \
  47. info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_\
  48. alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb21\
  49. 6 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="sis"
  50. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COM\
  51. PRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码


谁能帮忙解决一下,谢谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-3-16 04:31:52 | 显示全部楼层
这是gcc 4.4引发的问题
先换个gcc版本试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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