Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I want install a old gcc(3.4.6-r2), but it's fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
wangguohao
n00b
n00b


Joined: 02 Jan 2012
Posts: 7
Location: CN_zh

PostPosted: Fri Jul 03, 2015 12:41 pm    Post subject: I want install a old gcc(3.4.6-r2), but it's fail Reply with quote

I want install gcc 3.4.6-r2 to lab, but it's fail in complier .

Code:

Portage 2.2.20 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 3.12.21-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     8076172 total,    286644 free
KiB Swap:    1388540 total,   1388540 free
Timestamp of repository gentoo: Wed, 01 Jul 2015 04:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25 p1.2) 2.25
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r1::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

xfce-dev
    location: /var/lib/layman/xfce-dev
    masters: gentoo
    priority: 0

viprea-overlay
    location: /var/lib/layman/viprea-overlay
    masters: gentoo
    priority: 1

anders-larsson
    location: /var/lib/layman/anders-larsson
    masters: gentoo
    priority: 2

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 3

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    masters: gentoo
    priority: 4

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp/"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cuda cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk gtk2 hal iconv injection ipv6 jpeg lcms ldap libnotify lock mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 rar readline sdl session spell sse sse2 sse3 ssl startup-notification svg tcpd threads thunar tiff truetype udev udisks unicode upower usb vaapi vhost-net vorbis wxwidgets x264 xa xcb xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" LINGUAS="zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_USER_TARGETS="mips mips64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


some ERROR in
Code:

checking for strtoul... 8
checking for x86_64-pc-linux-gnu-gnatbind... no
checking for gnatbind... no
checking whether compiler driver understands Ada... no
configure: error: unknown check category release
yes
checking for tmpnam... Makefile:23330: recipe for target 'configure-gcc' failed
make: *** [configure-gcc] Error 1
make: *** 正在等待未完成的任务....
yes
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Fri Jul 03, 2015 6:06 pm    Post subject: Reply with quote

We'll need a bit more information about what caused the error. Specifically, please upload the build.log and the config.log files (which should be in /var/tmp/portage/gcc-3.4.6-r2/temp or /var/tmp/portage/gcc-3.4.6-r2/work/gcc-3.4.6-r2) to a pastebin site, and then link them here. You can use wgetpaste to upload them.
Back to top
View user's profile Send private message
wangguohao
n00b
n00b


Joined: 02 Jan 2012
Posts: 7
Location: CN_zh

PostPosted: Sat Jul 04, 2015 1:37 am    Post subject: Reply with quote

gotyaoi wrote:
We'll need a bit more information about what caused the error. Specifically, please upload the build.log and the config.log files (which should be in /var/tmp/portage/gcc-3.4.6-r2/temp or /var/tmp/portage/gcc-3.4.6-r2/work/gcc-3.4.6-r2) to a pastebin site, and then link them here. You can use wgetpaste to upload them.

Code:

➜  ~  cat /var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/build.log
 * Package:    sys-devel/gcc-3.4.6-r2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 cxx elibc_glibc kernel_linux multilib nls nptl userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gcc-3.4.6.tar.bz2 to /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work
>>> Unpacking gcc-3.4.6-patches-1.8.tar.bz2 to /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work
>>> Unpacking gcc-3.4.5-uclibc-patches-1.1.tar.bz2 to /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work
>>> Preparing source in /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6 ...
 * Applying Gentoo patches ...
 *   00_all_gcc-3.4-alpha-mieee-default.patch ...                               [ ok ]
 *   00_all_gcc-trampolinewarn.patch ...                                        [ ok ]
 *   00_all_gcc_unlink_if_ordinary.patch ...                                    [ ok ]
 *   01_all_gcc-3.4.4-fbsd-linker.patch ...                                     [ ok ]
 *   02_all_gcc34-ice-hack.patch ...                                            [ ok ]
 *   03_all_gcc34-ppc64-m32-m64-multilib-only.patch ...                         [ ok ]
 *   04_all_gcc34-java-nomulti.patch ...                                        [ ok ]
 *   04_all_gcc34-libgcc-cross-multilib.patch ...                               [ ok ]
 *   05_all_gcc-3.4.x-siginfo.patch ...                                         [ ok ]
 *   05_all_gcc34-ia64-libunwind.patch ...                                      [ ok ]
 *   06_all_gcc34-ppc64-pr17751.patch ...                                       [ ok ]
 *   07_all_gcc34-unprotoize-deps.patch ...                                     [ ok ]
 *   08_all_gcc4-gcc-update-tweak.patch ...                                     [ ok ]
 *   09_all_gcc-3.4.6-c-parse-bison.patch ...                                   [ ok ]
 *   10_all_gcc-3.4.6-c-parse-bison-3.patch ...                                 [ ok ]
 *   11_all_gcc-netbsd-symbolic.patch ...                                       [ ok ]
 *   11_all_gcc-openbsd.patch ...                                               [ ok ]
 *   12_all_gcc-libstdc++-ld-version.patch ...                                  [ ok ]
 *   16_all_gcc-open-perms.patch ...                                            [ ok ]
 *   20_all_gcc34-visibility1.patch ...                                         [ ok ]
 *   21_all_gcc34-visibility2.patch ...                                         [ ok ]
 *   22_all_gcc34-visibility3.patch ...                                         [ ok ]
 *   23_all_gcc34-visibility4.patch ...                                         [ ok ]
 *   24_all_gcc34-visibility5.patch ...                                         [ ok ]
 *   30_all_gcc34-arm-ldm-peephole.patch ...                                    [ ok ]
 *   31_all_gcc34-arm-ldm.patch ...                                             [ ok ]
 *   33_all_pr15068-fix.patch ...                                               [ ok ]
 *   34_all_arm-bigendian.patch ...                                             [ ok ]
 *   37_all_arm-ldm-peephole2.patch ...                                         [ ok ]
 *   41_all_gcc-3.4.4-fix-sse2-pinsrw.patch ...                                 [ ok ]
 *   44_all_debian-m68k-update.patch ...                                        [ ok ]
 *   46_all_gcc-3.4.4-pr18300.patch ...                                         [ ok ]
 *   48_all_gcc-3.4_x-avr-news-devs2.patch ...                                  [ ok ]
 *   51_all_gcc-3.4-libiberty-pic.patch ...                                     [ ok ]
 *   52_all_pr16625-fix.patch ...                                               [ ok ]
 *   53_all_pr15666-fix.patch ...                                               [ ok ]
 *   54_all_300-libstdc++-pic.patch ...                                         [ ok ]
 *   55_all_gcc34-recursive-hash-usage.patch ...                                [ ok ]
 *   61_all_fedora_gcc34-libffi-ia64-manyfp.patch ...                           [ ok ]
 *   63_all_fedora_gcc34-ia64-noteGNUstack.patch ...                            [ ok ]
 *   64_all_fedora_gcc34-ia64-lib64.patch ...                                   [ ok ]
 *   65_all_gcc3.4-noteGNUstack.patch ...                                       [ ok ]
 *   71_all_sh-pr16665-fix.patch ...                                            [ ok ]
 *   72_all_sh-no-reorder-blocks.patch ...                                      [ ok ]
 *   73_all_sh-pr20617.patch ...                                                [ ok ]
 *   74_all_sh-pr24836.patch ...                                                [ ok ]
 *   76_all_sh-pr21623-workaround.patch ...                                     [ ok ]
 *   80_all_canadian-cross-spec-and-syslimits.patch ...                         [ ok ]
 *   83_all_gcc-3.x-larger-g77-file-limit.patch ...                             [ ok ]
 *   84_all_gcc4-c++-warning.patch ...                                          [ ok ]
 *   85_all_gcc-ca-translation-typo.patch ...                                   [ ok ]
 *   85_all_gcc-es-translation-ICE-workaround.patch ...                         [ ok ]
 *   86_all_gcc-3.4-doxygen-filter-locale.patch ...                             [ ok ]
 *   86_all_gcc4-gentoo126279.patch ...                                         [ ok ]
 *   88_all_gcc-3.4-make-SHELL.patch ...                                        [ ok ]
 *   89_all_gcc4-gentoo130307.patch ...                                         [ ok ]
 *   90_all_mips-add-march-r10k.patch ...                                       [ ok ]
 * Done with patching
 * Applying uClibc patches ...
 *   90_all_uclibc-conf.patch ...                                               [ ok ]
 *   91_all_uclibc-locale.patch ...                                             [ ok ]
 *   92_all_uclibc-locale-configure.patch ...                                   [ ok ]
 *   93_all_uclibc-nios2.patch ...                                              [ ok ]
 * Done with patching
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed contrib/test_summary
 *  - fixed libstdc++-v3/scripts/check_survey.in
 *  - fixed boehm-gc/configure
 *  - fixed fastjar/configure
 *  - fixed gcc/configure
 *  - fixed intl/configure
 *  - fixed libf2c/configure
 *  - fixed libffi/configure
 *  - fixed libiberty/configure
 *  - fixed libjava/configure
 *  - fixed libobjc/configure
 *  - fixed libstdc++-v3/configure
 *  - fixed zlib/configure
 *  - fixed ltcf-c.sh
 *  - fixed ltcf-cxx.sh
 *  - fixed ltcf-gcj.sh
 *  - fixed ltmain.sh
 *  - fixed boehm-gc/Makefile.in
 *  - fixed fastjar/Makefile.in
 *  - fixed gcc/Makefile.in
 *  - fixed intl/Makefile.in
 *  - fixed libf2c/Makefile.in
 *  - fixed libffi/Makefile.in
 *  - fixed libiberty/Makefile.in
 *  - fixed libjava/Makefile.in
 *  - fixed libobjc/Makefile.in
 *  - fixed libstdc++-v3/Makefile.in
 *  - fixed zlib/Makefile.in
 * updating multilib directories to be: ../lib64 ../lib32
 * patching gcc version: 3.4.6 (Gentoo 3.4.6-r2 p1.8)
 * Renaming jdk executables rmic and rmiregistry to grmic and grmiregistry.
 * Running elibtoolize in: gcc-3.4.6/
 *   Applying ltmain/1.5 patch ...
 *   Applying portage/1.5.10 patch ...
 *   Applying relink/1.4.0a-GCC3.0-2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying tmp/1.3.5 patch ...
 *   Applying as-needed/1.5 patch ...
 * Using GNU config files from /usr/share/gnuconfig
 *   Updating boehm-gc/config.sub                                               [ ok ]
 *   Updating libjava/libltdl/config.sub                                        [ ok ]
 *   Updating config.sub                                                        [ ok ]
 *   Updating config.guess                                                      [ ok ]
 *   Updating boehm-gc/config.guess                                             [ ok ]
 *   Updating libjava/libltdl/config.guess                                      [ ok ]
 * Fixing misc issues in configure files
 *   Updating intl/configure [LANG] ...                                         [ ok ]
 *   Updating zlib/configure [LANG] ...                                         [ ok ]
 *   Updating boehm-gc/configure [LANG] ...                                     [ ok ]
 *   Updating configure [LANG] ...                                              [ ok ]
 *   Updating libffi/configure [LANG] ...                                       [ ok ]
 *   Updating libjava/configure [LANG] ...                                      [ ok ]
 *   Updating libf2c/libU77/configure [LANG] ...                                [ ok ]
 *   Updating libf2c/configure [LANG] ...                                       [ ok ]
 *   Updating libf2c/libI77/configure [LANG] ...                                [ ok ]
 *   Updating libf2c/libF77/configure [LANG] ...                                [ ok ]
 *   Updating libobjc/configure [LANG] ...                                      [ ok ]
 * Touching generated files
 *   Touching gcc/cstamp-h.in
 *   Touching gcc/config.in
 *   Touching libjava/aclocal.m4
 *   Touching libjava/Makefile.in
 *   Touching libjava/configure
 * Applying gcc-3.4.4-cross-compile.patch ...                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6 ...
 * CFLAGS="-march=athlon64 -O2 -pipe"
 * CXXFLAGS="-march=athlon64 -O2 -pipe"
 * LDFLAGS="-Wl,-O1 -Wl,--as-needed"

 * PREFIX:          /usr
 * BINPATH:         /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6
 * LIBPATH:         /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6
 * DATAPATH:        /usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6
 * STDCXX_INCDIR:   /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3

 * Languages:       c,c++

 * Configuring GCC with: nt--host=x86_64-pc-linux-gnu nt--build=x86_64-pc-linux-gnu nt--prefix=/usr nt--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 nt--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include nt--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 nt--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man nt--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info nt--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 nt--enable-languages=c,c++ nt--enable-obsolete nt--enable-secureplt nt--disable-werror nt--with-system-zlib nt--enable-nls nt--without-included-gettext nt--enable-checking=release nt--enable-shared nt--enable-threads=posix nt--enable-__cxa_atexit nt--enable-clocale=gnu nt--enable-multilib nt--disable-altivec nt--disable-libgcj

/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --disable-altivec --disable-libgcj
loading site script /usr/share/config.site
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava target-libf2c zlib fastjar target-libobjc
    (Any other directories should still work fine.)
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-as
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for x86_64-pc-linux-gnu-ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... windres
checking for x86_64-pc-linux-gnu-objcopy... x86_64-pc-linux-gnu-objcopy
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-as... x86_64-pc-linux-gnu-as
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for x86_64-pc-linux-gnu-ld... x86_64-pc-linux-gnu-ld
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6 ...
 * Compiling gcc (bootstrap-lean)...
make -j4 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' STAGE1_CFLAGS= LIBPATH=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6 'BOOT_CFLAGS=-m64 -march=athlon64 -O2 -pipe' bootstrap-lean
Configuring in libiberty
Configuring in intl
loading site script /usr/share/config.site
creating cache ./config.cache
checking for non-GNU ld... /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking how to run the C preprocessor... gcc -E
checking for inttypes.h... yes
checking for stdint.h... yes
configure: loading site script /usr/share/config.site
checking for unsigned long long... configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
yes
checking for shared library run path origin... done
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe -Wl,-O1 -Wl,--as-needed) works... yes
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... x86_64-pc-linux-gnu
checking for ranlib... x86_64-pc-linux-gnu-ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... checking for perl... perl
checking build system type... x86_64-pc-linux-gnu
checking host system type... yes
checking whether we are using the GNU C Library 2.1 or newer... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... yes
x86_64-pc-linux-gnu-ranlib
checking whether integer division by zero raises SIGFPE... checking for x86_64-pc-linux-gnu-gcc... gcc
yes
checking for inttypes.h... checking for C compiler default output... yes
checking whether the inttypes.h PRIxNN macros are broken... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt...
/usr/bin/gmsgfmt
checking for suffix of object files... checking for xgettext... /usr/bin/xgettext
checking for msgmerge... o
checking whether we are using the GNU C compiler... /usr/bin/msgmerge
yes
checking whether gcc accepts -g... checking for argz.h... yes
checking for gcc option to accept ANSI C... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... none needed
yes
checking for stddef.h... checking how to run the C preprocessor... yes
checking for stdlib.h... yes
gcc -E
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... checking whether gcc and cc understand -c and -o together... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for an ANSI C-conforming const... yes
checking for getcwd... yes
checking for inline... yes
checking for getegid... inline
checking whether byte ordering is bigendian... yes
checking for geteuid... no
checking for a BSD-compatible install... /usr/bin/install -c
Appending /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/libiberty/../config/mh-x86pic to xhost-mkfrag
checking for sys/file.h... yes
checking for getgid... yes
checking for sys/param.h... yes
checking for getuid... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for mempcpy... yes
checking for malloc.h... yes
checking for munmap... yes
checking for string.h... yes
checking for unistd.h... yes
checking for putenv... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for setenv... yes
checking for time.h... yes
checking for setlocale... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for stpcpy... yes
checking for sys/mman.h... yes
yes
checking for strcasecmp... checking for fcntl.h... yes
checking for alloca.h... yes
checking for strdup... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... yes
checking for strtoul... no
checking for sys/sysinfo.h... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... yes
checking for __argz_stringify... no
checking for sys/sysctl.h... yes
checking for __argz_next... yes
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for __fsetlocking... yes
checking whether time.h and sys/time.h may both be included... yes
checking for iconv... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for sys/types.h... yes
checking for bison... bison
checking version of bison... 3.0.4, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
yes
checking for strings.h... (cached) updating cache ./config.cache
yes
creating ./config.status
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for pid_t... creating Makefile
yes
creating config.intl
checking for library containing strerror... creating config.h
none required
checking for asprintf... yes
checking for atexit... Configuring in gcc
yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... configure: loading site script /usr/share/config.site
configure: creating cache ./config.cache
yes
checking build system type... checking for bzero... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
yes
checking for calloc... checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default assembler was specified... no
checking for x86_64-pc-linux-gnu-gcc... gcc
make[1]: Entering directory '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/build/intl'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/build/intl'
checking for C compiler default output file name... yes
checking for clock... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... yes
checking for ffs...
checking for suffix of object files... yes
checking for getcwd... o
checking whether we are using the GNU C compiler... yes
yes
checking whether gcc accepts -g... checking for getpagesize... yes
checking for gcc option to accept ANSI C... yes
checking for index... none needed
yes
checking for insque... checking whether gcc and cc understand -c and -o together... yes
checking for memchr... yes
checking for memcmp... yes
checking whether gcc accepts -Wno-long-long... yes
checking for memcpy... yes
checking how to run the C preprocessor... yes
gcc -E
checking for memmove... checking for inline... yes
checking for mempcpy... inline
checking for long long int... yes
yes
checking for __int64... checking for memset... no
checking for built-in _Bool... yes
checking for mkstemps... yes
checking size of void *... yes
checking for putenv... 8
checking size of short... yes
checking for random... yes
checking for rename... 2
checking size of int... yes
checking for rindex... 4
checking size of long... yes
checking for setenv... 8
checking size of long long... yes
checking for snprintf... yes
checking for sigsetmask... 8
checking for x86_64-pc-linux-gnu-gnatbind... no
checking for gnatbind... no
checking whether compiler driver understands Ada... no
configure: error: unknown check category release
yes
checking for stpcpy... yes
checking for stpncpy... Makefile:23330: recipe for target 'configure-gcc' failed
make: *** [configure-gcc] Error 1
make: *** 正在等待未完成的任务....
yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
 * ERROR: sys-devel/gcc-3.4.6-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-3.4.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-3.4.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/build'
 * S: '/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6'
 *
 * Please include /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-build-logs.tar.bz2 in your bug report.



Code:


Back to top
View user's profile Send private message
wangguohao
n00b
n00b


Joined: 02 Jan 2012
Posts: 7
Location: CN_zh

PostPosted: Sat Jul 04, 2015 1:42 am    Post subject: Reply with quote

gotyaoi wrote:
We'll need a bit more information about what caused the error. Specifically, please upload the build.log and the config.log files (which should be in /var/tmp/portage/gcc-3.4.6-r2/temp or /var/tmp/portage/gcc-3.4.6-r2/work/gcc-3.4.6-r2) to a pastebin site, and then link them here. You can use wgetpaste to upload them.

Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:675: checking for a BSD compatible install
configure:2866: checking for x86_64-pc-linux-gnu-ar
configure:2938: checking for x86_64-pc-linux-gnu-as
configure:3010: checking for x86_64-pc-linux-gnu-dlltool
configure:3043: checking for dlltool
configure:3082: checking for x86_64-pc-linux-gnu-ld
configure:3154: checking for x86_64-pc-linux-gnu-nm
configure:3226: checking for x86_64-pc-linux-gnu-ranlib
configure:3298: checking for x86_64-pc-linux-gnu-windres
configure:3331: checking for windres
configure:3370: checking for x86_64-pc-linux-gnu-objcopy
configure:3442: checking for x86_64-pc-linux-gnu-objdump
configure:3524: checking for x86_64-pc-linux-gnu-ar
configure:3596: checking for x86_64-pc-linux-gnu-as
configure:3668: checking for x86_64-pc-linux-gnu-dlltool
configure:3701: checking for dlltool
configure:3740: checking for x86_64-pc-linux-gnu-ld
configure:3812: checking for x86_64-pc-linux-gnu-nm
configure:3884: checking for x86_64-pc-linux-gnu-ranlib
configure:3956: checking for x86_64-pc-linux-gnu-windres
configure:3989: checking for windres
configure:4056: checking whether to enable maintainer-specific portions of Makefiles

/var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/build/config.log (END)
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Tue Jul 07, 2015 7:23 pm    Post subject: Reply with quote

Hmm, this looks like a bug in the toolchain eclass. Specifically at line 884:
Code:
if tc_version_is_at_least 3.4 ; then
    confgcc+=( --enable-checking="${GCC_CHECKS_LIST:-$(usex debug yes release)}" )
 fi

From what I can tell, the --enable-checking flag didn't get the "release" option until gcc-4.0.0.

Please try emerging with
Code:
GCC_CHECKS_LIST=no emerge -a '=sys-devel/gcc-3.4.6-r2'

and if that works, please file a bug report against the toolchain eclass.

Edit: From what I can tell, if this is a bug, it was introduced in revision 1.674 of the toolchain eclass. You should include that information if you file a bug report.
Back to top
View user's profile Send private message
gotyaoi
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2013
Posts: 137

PostPosted: Thu Jul 23, 2015 5:24 pm    Post subject: Reply with quote

Looks like this was fixed in 1.676, so if you sync, you should be able to emerge this version of gcc normally.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum