Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275512 - sys-devel/gcc-4.3.2-r3 make all-target-libstdc++v3 failed.
Summary: sys-devel/gcc-4.3.2-r3 make all-target-libstdc++v3 failed.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-26 17:47 UTC by Kazankov Alexander
Modified: 2009-07-06 12:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Config Log (config.log,9.73 KB, text/plain)
2009-07-02 05:46 UTC, Kazankov Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kazankov Alexander 2009-06-26 17:47:34 UTC
Hello.

I wish to compile library libstdc ++ being based on
sys-devel/gcc/gcc-4.3.2-r3.ebuild:

src_compile() {

    gcc_do_filter_flags
    einfo "CFLAGS=\"${CFLAGS}\""
    einfo "CXXFLAGS=\"${CXXFLAGS}\""

    # Build in a separate build tree
    mkdir -p "${WORKDIR}"/build
    pushd "${WORKDIR}"/build > /dev/null

    einfo "Configuring ${PN} ..."
    gcc_do_configure

    touch "${S}"/gcc/c-gperf.h

    einfo "Compiling ${PN} ..."
    gcc_do_make all-target-libstdc++-v3

    popd > /dev/null

}


Reproducible: Always

Actual Results:  
Checking multilib configuration for libgcc...
Configuring stage 1 in i686-pc-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... /usr/i686-pc-linux-gnu/bin/ar
checking for i686-pc-linux-gnu-lipo... lipo
checking for i686-pc-linux-gnu-nm... /var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/build/./gcc/nm
checking for
i686-pc-linux-gnu-ranlib... /usr/i686-pc-linux-gnu/bin/ranlib
checking for i686-pc-linux-gnu-strip... /usr/i686-pc-linux-gnu/bin/strip
checking whether ln -s works... yes
checking for i686-pc-linux-gnu-gcc... /./gcc/xgcc -B/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/
-isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/build'
make[1]: *** [stage1-bubble] Ошибка 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/build'
make: *** [stage_last] Ошибка 2
 * 
 * ERROR: sys-libs/libstdc++-v3-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 4837:  Called gcc_do_make
'all-target-libstdc++-v3'
 *             environment, line 2873:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} ||
die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with all-target-libstdc++-v3

Expected Results:  
Successefull compile.

Portage 2.1.6.11-r1 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8-jx1 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-jx1-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Mon, 15 Jun 2009 05:35:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox severe sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j5"
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="/usr/portage/local/layman/crg"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bzip2 cairo cli cracklib crypt cups dbus dia dri dvd evolution flac gdbm gif glib gnome gpm gtk iconv imagemagick imlib isdnlog java java6 jpeg lcms ldap live midi mmx mmxext mng mp3 mudflap musepack nautilus ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl pkcs11 png postscript pppd pulseaudio python qt readline reflection samba server session spell spl sqlite sse sse2 ssl svg sylpheed sysfs tcpd theora threads tiff truetype unicode userlocales vdr vim-syntax vorbis wavpack webdav win32codecs wma wxwindows x264 x86 xorg xpm xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fglrx intel mga nv nvidia radeon vesa vga via vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

___________
In config.log:

configure:1798: checking for i686-pc-linux-gnu-nm
configure:1824: result: /var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/build/./gcc/nm
configure:1877: checking for i686-pc-linux-gnu-ranlib
configure:1903: result: /usr/i686-pc-linux-gnu/bin/ranlib
configure:1957: checking for i686-pc-linux-gnu-strip
configure:1983: result: /usr/i686-pc-linux-gnu/bin/strip
configure:2034: checking whether ln -s works
configure:2038: result: yes
configure:2055: checking for i686-pc-linux-gnu-gcc
configure:2081: result: /./gcc/xgcc -B/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/
-isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include
configure:2363: checking for C compiler version
configure:2366: /./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include --version </dev/null >&5
/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/gcc-4.3.2/libgcc/configure: line 2367: /./gcc/xgcc: No
such file or directory
configure:2369: $? = 127
configure:2371: /./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include -v </dev/null >&5
/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/gcc-4.3.2/libgcc/configure: line 2372: /./gcc/xgcc: No
such file or directory
configure:2374: $? = 127
configure:2376: /./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include -V </dev/null >&5
/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/gcc-4.3.2/libgcc/configure: line 2377: /./gcc/xgcc: No
such file or directory
configure:2379: $? = 127
configure:2398: /./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include -o conftest -O   conftest.c
>&5
/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/gcc-4.3.2/libgcc/configure: line 2399: /./gcc/xgcc: No
such file or directory
configure:2401: $? = 127
configure:2567: checking for suffix of object files
configure:2588: /./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include -c -O  conftest.c >&5
/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/gcc-4.3.2/libgcc/configure: line 2589: /./gcc/xgcc: No
such file or directory
configure:2591: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot
compile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

.....
ac_cv_env_CC_value='/./gcc/xgcc -B/./gcc/
-B/usr/i686-pc-linux-gnu/bin/.........
....
ac_cv_prog_CC='/./gcc/xgcc -B/./gcc/
...
ac_cv_prog_NM=/var/tmp/portage/sys-libs/libstdc
++-v3-4.3.2/work/build/./gcc/nm

## ----------------- ##
## Output variables. ##
## ----------------- ##

...
CC='/./gcc/xgcc ....
....
NM='/var/tmp/portage/sys-libs/libstdc++-v3-4.3.2/work/build/./gcc/nm'
......

Such sensation that the prefix of a place of assemblage vanishes. That's
bug!?
Comment 1 Kazankov Alexander 2009-07-01 14:01:45 UTC
I checked on 4.1.2 - everything is good.
Comment 2 Kazankov Alexander 2009-07-02 05:46:13 UTC
Created attachment 196315 [details]
Config Log
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2009-07-03 23:19:46 UTC
If you want to make a new libstdc++ ebuild, look at the ones we already have in the tree.  There is also an open bug about what needs to be done before a new virtual/libstdc++ can be added.
Comment 4 Kazankov Alexander 2009-07-06 12:01:49 UTC
You about what? What already existing ebuild, sys-libs/libstdc ++-v3-3.3.6? And unless will approach for operation of applications which are gathered with usage gcc-4.3.x?

I do not wish to make new ebuild, I simply wish to fulfil emake all-target-libstdc ++-v3 for the last, stable compiler.

Unless it not to concern a package gcc?