I need gentoo-prefix in /opt for asus rt-n16 http://wiki.openwrt.org/toh/asus/rt-n16 mipsel router with "Tomato by Shibby" http://tomato.groov.pl/?dir=K26/ current http://tomato.groov.pl/download/K26/build5x-120-EN/tomato-K26USB-1.28.RT-MIPSR2-120-AIO.trx firmware. Some info: $ cat /proc/cpuinfo system type : Broadcom BCM4716 chip rev 1 pkg 10 processor : 0 cpu model : MIPS 74K V4.0 BogoMIPS : 239.20 cpu MHz : 480 wait instruction : no microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes ASEs implemented : mips16 dsp shadow register sets : 1 VCED exceptions : not available VCEI exceptions : not available unaligned_instructions : 110192 $ uname -a Linux asus 2.6.22.19 #22 Sat Jun 7 02:32:13 CEST 2014 mips GNU/Linux I build from sys-apps/proot ( http://packages.gentoo.org/package/sys-apps/proot?arches=all ) + app-emulation/qemu ( http://packages.gentoo.org/package/app-emulation/qemu ) and http://mirrors.ustc.edu.cn/gentoo/experimental/mips/stages/stage3-mips32el-20140426.tar.bz2 Steps to Reproduce: Unpack stage3-mips32el-20140426.tar.bz2 to /home/mipsel $ proot -R /home/mipsel -b /proc -q "qemu-mipsel" $ /bin/bash $ export EPREFIX="/opt" $ export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:/usr/bin:/bin" $ export CHOST="mipsel-pc-linux-gnu" $ ./bootstrap-prefix.sh /opt/tmp stage1 $ export LATEST_TREE_YES=1 $ ./bootstrap-prefix.sh /opt stage2 $ ./bootstrap-prefix.sh /opt stage3 Reproducible: Always Steps to Reproduce: 1. proot -R /home/mipsel -b /proc -q "qemu-mipsel" 2. emerge -1 --nodeps =sys-devel/gcc-3.3.6-r1 3. Actual Results: Failed to compile with error: (cut) /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/system.h:509:34: note: in definition of macro 'ENUM_BITFIELD' #define ENUM_BITFIELD(TYPE) enum TYPE ^ /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/cpplib.h:180:17: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] ENUM_BITFIELD(cpp_ttype) type : CHAR_BIT; /* token type */ ^ /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/system.h:509:34: note: in definition of macro 'ENUM_BITFIELD' #define ENUM_BITFIELD(TYPE) enum TYPE ^ /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/cpplib.h:487:17: warning: type of bit-field 'type' is a GCC extension [-Wpedantic] ENUM_BITFIELD(node_type) type : 8; /* CPP node type. */ ^ /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/system.h:509:34: note: in definition of macro 'ENUM_BITFIELD' #define ENUM_BITFIELD(TYPE) enum TYPE ^ c-p16407.c:375:3: warning: suggest not using #elif in traditional C [-Wtraditional] c-p16407.c:377:3: warning: suggest not using #elif in traditional C [-Wtraditional] c-p16407.c:461:5: warning: suggest not using #elif in traditional C [-Wtraditional] c-p16407.c:463:5: warning: suggest not using #elif in traditional C [-Wtraditional] c-p16407.c:465:5: warning: suggest not using #elif in traditional C [-Wtraditional] c-p16407.c: In function 'yy_symbol_value_print': c-p16407.c:1995:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-p16407.c: In function 'yy_symbol_print': c-p16407.c:2014:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-p16407.c: In function 'yy_stack_print': c-p16407.c:2029:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-p16407.c: In function 'yy_reduce_print': c-p16407.c:2052:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-p16407.c: In function 'yydestruct': c-p16407.c:2332:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-p16407.c: In function 'yyparse': c-p16407.c:2361:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] c-parse.y:614:16: error: 'YYLEX' undeclared (first use in this function) c-parse.y:614:16: note: each undeclared identifier is reported only once for each function it appears in In file included from c-parse.y:36:0: c-parse.y: At top level: c-parse.y:2575:17: warning: type of bit-field 'rid' is a GCC extension [-Wpedantic] /opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/system.h:509:34: note: in definition of macro 'ENUM_BITFIELD' #define ENUM_BITFIELD(TYPE) enum TYPE ^ Makefile:1584: recipe for target 'c-parse.o' failed make[2]: *** [c-parse.o] Error 1 make[2]: Leaving directory '/opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc' Makefile:3745: recipe for target 'stage1_build' failed make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory '/opt/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc' Makefile:1567: recipe for target 'bootstrap-lean' failed make: *** [bootstrap-lean] Error 2 Expected Results: successful compilation $ emerge --info Portage 2.2.8-prefix (default/linux/mips/13.0/mipsel, gcc-4.8.2, unavailable, 3.14.0-sabayon mips) ================================================================= System uname: Linux-3.14.0-sabayon-mips-with-gentoo-2.2 KiB Mem: 3075972 total, 770668 free KiB Swap: 5177340 total, 5148608 free Timestamp of tree: Wed, 11 Jun 2014 22:06:34 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p45-r1 Repositories: gentoo_prefix ACCEPT_KEYWORDS="mips ~mips" ACCEPT_LICENSE="* -@EULA" CBUILD="mipsel-pc-linux-gnu" CFLAGS="" CHOST="mipsel-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="" DISTDIR="/opt/usr/portage/distfiles" FCFLAGS="" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/opt/usr/portage/packages" PORTAGE_CONFIGROOT="/opt/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/opt/var/tmp" PORTDIR="/opt/usr/portage" PORTDIR_OVERLAY="" USE="acl berkdb bzip2 cli cracklib crypt cxx gdbm iconv ipv6 mips modules ncurses nls nptl pam pcre readline session ssl tcpd unicode zlib" ALSA_CARDS="au1x00" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev impact newport dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Created attachment 378776 [details] build.log.xz
Created attachment 378804 [details] gcc-3.3.6-r1-build-logs.tar.bz2
this is an unsupported target for which we don't have resources to add it, sorry