Emerge dev-lang/erlang-14.2.1 fail: ... make -f x86_64-pc-linux-gnu/Makefile TYPE=opt make[3]: Вход в каталог `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[3]: Цель `all' не требует выполнения команд. make[3]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[2]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[1]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts' cd lib && \ ERL_TOP=/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01 PATH=/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/bootstrap/bin:${PATH} \ make opt SECONDARY_BOOTSTRAP=true make[1]: Вход в каталог `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib' make[2]: Вход в каталог `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe' === Entering application hipe make[3]: Вход в каталог `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/rtl' (cd ../main && make hipe.hrl) make[4]: Вход в каталог `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/main' sed -e "s;%VSN%;3.7.8;" ../../hipe/main/hipe.hrl.src > ../../hipe/main/hipe.hrl make[4]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/main' erlc -W +debug_info +inline -o../ebin hipe_rtl.erl make[3]: *** [../ebin/hipe_rtl.beam] Недопустимая инструкция (сделан дамп памяти) make[3]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/rtl' make[2]: *** [opt] Ошибка 2 make[2]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe' make[1]: *** [opt] Ошибка 2 make[1]: Выход из каталога `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib' make: *** [secondary_bootstrap_build] Ошибка 2 emake failed * ERROR: dev-lang/erlang-14.2.1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2778: Called die * The specific snippet of code: * emake -j1 || die; * * If you need support, post the output of 'emerge --info =dev-lang/erlang-14.2.1', * the complete build log and the output of 'emerge -pqv =dev-lang/erlang-14.2.1'. * The complete build log is located at '/var/tmp/portage/dev-lang/erlang-14.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/erlang-14.2.1/temp/environment'. * S: '/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01' >>> Failed to emerge dev-lang/erlang-14.2.1 * * The following package has failed to build or install: * * (dev-lang/erlang-14.2.1, ebuild scheduled for merge) * * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Reproducible: Always Steps to Reproduce: 1.Try emerge -a dev-lang/erlang-14.2.1 2.fail at build time. 3. Actual Results: emerge fail Expected Results: emerge success emerge --info Portage 2.1.9.44 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.0.2 Timestamp of tree: Wed, 23 Mar 2011 17:15:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1, 3.2 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1, 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --jobs=1 --fail-clean --quiet-unmerge-warn" FEATURES="assume-digests binpkg-logs candy ccache distlocks fail-clean fixlafiles fixpackages metadata-transfer news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://gentoo.bloodhost.ru/" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/lib/layman/johnbat26 /var/lib/layman/sunrise /var/lib/layman/zugaina /var/lib/layman/gentoo-china /var/lib/layman/kde /var/lib/layman/arcon /var/lib/layman/calculate" SYNC="rsync://rsync2.ru.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3ds 64bit 7zip X a52 aac aalib accessibility ace acl acpi addbookmarks addition additions addressbook admin administrator aim akonadi alias alsa amarok amazon amd64 antlr aplay apm archive asf ass async atmo attica automount autoreplace autotrace avi bash-completion bazaar bcmath berkdb bfq big-iron binary-drivers bitmap-fonts bittorrent bl blender blender-game bluetooth bolddiag bonjour bookmarks branding btrfs bwscheduler bzip2 c++ c3p0 cairo caps captury cardbus ccache cdaudio cdda cdinstall cdio cdr cdrdao cdrom cdsound chipcard chm chroot cisco clamav clamd clearcase cleartype cli colordiff compat compress connection-sharing connectionstatus consolekit contactnotes corefonts cpio cpudetection cpulimit cracklib crypt cscope css ctype cups curl curlwrappers custom-optimization cviewer cvs cxx cyrillic daap daemon dba dbm dbus dbx dell depth32 designer designer-plugin device-mapper dhclient dhcp dhcpcd dia dialup dict directfb divx divx4linux djvu dmi dms dri dtaus dts dv dvb dvd dvdarchive dvdchapjump dvdr dvdread dvi ebook editor eix embed embedded emboss emerald emovix enca encode epoll eselect exif exiv2 expat extensions extra-cardsets faac faad faad2 fam fastcgi fat fbcon fbcondecor fbsplash ffmpeg fftw firefox firefox3 fits flac flash flexresp flexresp2 flup flv font-server fontconfig fontforge fonts foomaticdb fortran ftp fts3 gadu games gcrypt gd gdb gdbm gdu gecko geolocation gif gimp gimpprint ginac git glep glib glibc-compat20 glitz gmail gmedia gnokii gnuplot gnutls google google-gadgets gpac gpg gphoto2 gpm graphics graphicsmagick graphite graphviz groupwise grub gstreamer gtk gtk2 gtkhotkey gtkstyle hal handbook hash hbci hddtemp hdri hibernate-script highlight hipe history hpcups hpijs hpn htmlhandbook iconv icq id3tag ieee1394 ifp imagemagick imaging imap imlib infowidget inkjar innodb ipfilter ipq-mon iptv ipv6 ipw3945 ipython irc isight jabber java6 javascript jbig jpeg jpeg2k jruby kate kcal kde kde4 kdebuild kdecards kdehiddenvisibility kdepim kdexdeltas kdgraphics kdm kdrive kig-scripting kino kipi kmail konqueror kontact krb4 lame laptop latex lcd lcms lcmsjpeg ldap ldapsam lha libcaca libclamav libg++ libgcrypt libnotify libvisual libwww linux-smp-stats live lm_sensors logitech-mouse logrotate logviewer mad magic maps matroska md5sum mediaplayer memcache memlimit mercurial mikmod mime mjpeg mmx mng mod_python modplug modules mozdevelop mozilla mp2 mp3 mp3tunes mp4 mp4live mpeg mpeg2 mpi-threads mplayer mplayer-bin msn msql mssql mtp mudflap multilib multislot musepack musicbrains mysql nas ncurses nemesi netmeeting network network-cron networkmanager nfs nio2 nls nomotif nova nptl nptlonly nsplugin nspluginwrapper ntfs numeric numpy nvidia obex objc objc++ objc-gc office ofx ogg oggvorbis oodict openexr opengl openmp openssh openssl opensslcrypt openvpn optimized-qmake oracle oscar otr overlays pam pango pch pcntl pcre pdf pdflib perforce phonon pie pink planner plasma player pmount pmu png podcast policykit pop portage posix postgres povray ppds ppp pppd pptp privacy pronounce pulseaudio pysolcards pyste python python3 pyx pyzord q32 qalculate qca qmail qt qt-copy qt-dbus qt-faststart qt-static qt-webkit qt3support qt4 query-browser quicktime qwt rar raster raw rc5 rdesktop readline realmedia reiser4 reiserfs resolvconf rss rtc ru-dv ru-g ru-i ru-k ruby ruby18 ruby19 samba sametime sasl savepwd sbig scaner scanfolder scanner sdl search secure-delete semantic-desktop sensord server session sharedext sharedmem simplexml skins slang slp smp sms smtp snapshot sndfile soap sockets solver sopcast sound sounds spamassassin speech speedo speex spell spexx sql sqlite sqlite3 sse sse2 sse3 sse4 sse4a sse5 ssh ssh1 ssl ssse3 static-gzip static-ppds statistics stats stk stream subtitles subversion svg svnserve symlink sysfs system-sqlite tcl tcltk tcpd testbed texteffect tga thesaurus threads tiff tk translator transparency trayicon truetype tunepimp type1 uddition udev udev-acl unicode unlock-notify upnp urlpicpreview usb userpriv utempter utf8 v4l v4l2 vcd vcdinfo vcdx vdr video videos vim vim-pager vim-syntax vim-with-x visualization vkontakte vlm vnc vncviewer vorbis vorbis-psy webkit webpresence widescreen width wifi wineappdb winetools wininst winpopup wireshark wma wma-fixed wmf wmp wps wxgtk1 wxwindows x264 xanim xcb xcf xcomposite xfce xforms xfs xft xine xinerama xml xml2 xmp xorg xosd xpm xprint xrender xskatcards xsl xslt xv xvid xvmc yahoo youtube zip zlib" ALSA_CARDS="hda-intel usb-audio usb-us122l usb-usx2y" 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 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" 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 ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="all" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi addition cache_purge dav degradation flv geoip gzip_static headers_more image_filter passenger perl push random_index realip secure_link stub_status sub xslt" NGINX_MODULES_MAIL="imap pop3 smtp" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please emerge with LC_ALL=C set so non-Russian speaking people can understand the error messages.
LANG=C emerge -a =dev-lang/erlang-14.2.1 ... gcc -O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/x86_64-pc-linux-gnu -fno-tree-copyrename -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/emulator/sys/unix -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/emulator/beam -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal/x86_64-pc-linux-gnu -DOTP_SYSTEM_VERSION=\"R14B01\" -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/to_erl.o -c ../unix/to_erl.c ../unix/to_erl.c: В функции ‘main’: ../unix/to_erl.c:355:10: предупреждение: ignoring return value of ‘write’, declared with attribute warn_unused_result gcc -Wl,-O1 -Wl,--as-needed -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/bin/x86_64-pc-linux-gnu/to_erl /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/safe_string.o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/to_erl.o gcc -O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/x86_64-pc-linux-gnu -fno-tree-copyrename -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/emulator/sys/unix -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/emulator/beam -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal/x86_64-pc-linux-gnu -DOTP_SYSTEM_VERSION=\"R14B01\" -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/dyn_erl.o -c ../unix/dyn_erl.c gcc -Wl,-O1 -Wl,--as-needed -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/bin/x86_64-pc-linux-gnu/dyn_erl /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/safe_string.o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/dyn_erl.o sed -e 's;%I_VSN%;5.8.2;' \ -e 's;%EMULATOR%;beam;' \ -e 's;%EMULATOR_NUMBER%;;' \ -e 's;%I_SYSTEM_VSN%;R14B01;' \ ../unix/Install.src > Install sed -e 's;%EMULATOR%;beam;' \ -e 's;%EMULATOR_NUMBER%;;' \ -e 's;%VSN%;5.8.2;' \ ../unix/erl.src.src > erl.src make[4]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/etc/common' make[3]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/etc/common' make[2]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/etc' make[2]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd' make[3]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd/src' make -f x86_64-pc-linux-gnu/Makefile TYPE=opt make[4]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd/src' cd /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src && make opt make[5]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make -f x86_64-pc-linux-gnu/Makefile TYPE=opt make[6]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[5]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' gcc -O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/x86_64-pc-linux-gnu -fno-tree-copyrename -D_GNU_SOURCE -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal/x86_64-pc-linux-gnu -DEPMD_PORT_NO=4369 -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd.o -c epmd.c epmd.c: В функции ‘run_daemon’: epmd.c:320:10: предупреждение: ignoring return value of ‘chdir’, declared with attribute warn_unused_result gcc -O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/x86_64-pc-linux-gnu -fno-tree-copyrename -D_GNU_SOURCE -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal/x86_64-pc-linux-gnu -DEPMD_PORT_NO=4369 -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd_cli.o -c epmd_cli.c epmd_cli.c: В функции ‘epmd_call’: epmd_cli.c:107:10: предупреждение: ignoring return value of ‘write’, declared with attribute warn_unused_result gcc -O2 -march=core2 -fno-align-functions -fno-align-labels -mfpmath=sse -msse -msse2 -msse3 -mmmx -mcx16 -msahf -msse4.1 -finline-functions --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=4096 -mtune=core2 -fomit-frame-pointer -pipe -ftree-loop-linear -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -fexcess-precision=fast -Wno-all -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/x86_64-pc-linux-gnu -fno-tree-copyrename -D_GNU_SOURCE -DHAVE_CONFIG_H -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/x86_64-pc-linux-gnu -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal -I/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/include/internal/x86_64-pc-linux-gnu -DEPMD_PORT_NO=4369 -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd_srv.o -c epmd_srv.c gcc -Wl,-O1 -Wl,--as-needed -o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/bin/x86_64-pc-linux-gnu/epmd /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd.o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd_cli.o /var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/obj/x86_64-pc-linux-gnu/epmd_srv.o -lutil -ldl -lm -L../../lib/internal/x86_64-pc-linux-gnu -lerts_internal -lm make[4]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd/src' make[3]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd/src' make[2]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/epmd' make[2]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make -f x86_64-pc-linux-gnu/Makefile TYPE=opt make[3]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[2]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts/lib_src' make[1]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/erts' cd lib && \ ERL_TOP=/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01 PATH=/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/bootstrap/bin:${PATH} \ make opt SECONDARY_BOOTSTRAP=true make[1]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib' make[2]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe' === Entering application hipe make[3]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/rtl' (cd ../main && make hipe.hrl) make[4]: Entering directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/main' sed -e "s;%VSN%;3.7.8;" ../../hipe/main/hipe.hrl.src > ../../hipe/main/hipe.hrl make[4]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/main' erlc -W +debug_info +inline -o../ebin hipe_rtl.erl make[3]: *** [../ebin/hipe_rtl.beam] Illegal instruction (core dumped) make[3]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe/rtl' make[2]: *** [opt] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib/hipe' make[1]: *** [opt] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01/lib' make: *** [secondary_bootstrap_build] Error 2 emake failed * ERROR: dev-lang/erlang-14.2.1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2778: Called die * The specific snippet of code: * emake -j1 || die; * * If you need support, post the output of 'emerge --info =dev-lang/erlang-14.2.1', * the complete build log and the output of 'emerge -pqv =dev-lang/erlang-14.2.1'. * The complete build log is located at '/var/tmp/portage/dev-lang/erlang-14.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/erlang-14.2.1/temp/environment'. * S: '/var/tmp/portage/dev-lang/erlang-14.2.1/work/otp_src_R14B01' >>> Failed to emerge dev-lang/erlang-14.2.1 * * The following package has failed to build or install: * * (dev-lang/erlang-14.2.1, ebuild scheduled for merge) * * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items.
I understood why erlang don't compile. I use gcc-4.5.2 compiler. When I switch to gcc-4.4.5, erlang compile successfully.
So there is a problem. Either with your system or with Erlang. 14.2.2 (14B02) is out, as soon as djc bumps that version in tree you can test with the newer Erlang version. Did you upgrade your GCC properly according to the GCC Upgrading Guide? If not, please rebuild @system and then @world and try again with Erlang (use --keep-going for emerge to let it run unattended).
Can you try with 14.2.2?
Closing as NEEDINFO.