From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MKF8K-0007BG-T9 for garchives@archives.gentoo.org; Fri, 26 Jun 2009 17:22:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE0F6E047A; Fri, 26 Jun 2009 17:22:39 +0000 (UTC) Received: from smtp.aaanet.ru (smtp.aaanet.ru [213.27.31.134]) by pigeon.gentoo.org (Postfix) with ESMTP id 88339E047A for ; Fri, 26 Jun 2009 17:22:39 +0000 (UTC) Received: from [213.27.22.48] (helo=kerberos.cregion.ru) by smtp.aaanet.ru with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1MKF8G-000IEn-6J for gentoo-dev@lists.gentoo.org; Fri, 26 Jun 2009 21:22:36 +0400 Subject: [gentoo-dev] Standalone libstdc++ From: =?koi8-r?Q?=EB=C1=DA=C1=CE=CB=CF=D7_?= =?koi8-r?Q?=E1=CC=C5=CB=D3=C1=CE=C4=D2_?= =?koi8-r?Q?=F7=CC=C1=C4=C9=CD=C9=D2=CF=D7=C9=DE?= To: gentoo-dev@lists.gentoo.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rHeMbNYoJ2cR3DrY3udx" Organization: CRegion Date: Fri, 26 Jun 2009 21:24:22 +0400 Message-Id: <1246037062.15270.16.camel@dsk01> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 X-Archives-Salt: a7fbbdf4-1f85-40a3-b94b-94b9a9f0063f X-Archives-Hash: 618cce218349410546e23bcf9945130e --=-rHeMbNYoJ2cR3DrY3udx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello. I wish to compile library libstdc ++ being based on sys-dev/gcc/gcc-4.3.2-r3.ebuild: src_compile() { gcc_do_filter_flags einfo "CFLAGS=3D\"${CFLAGS}\"" einfo "CXXFLAGS=3D\"${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 } But compilation does not pass successfully: 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] =D0=9E=D1=88=D0=B8=D0=B1=D0= =BA=D0=B0 1 make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc ++-v3-4.3.2/work/build' make[1]: *** [stage1-bubble] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc ++-v3-4.3.2/work/build' make: *** [stage_last] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 *=20 * 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=3D"${LDFLAGS}" STAGE1_CFLAGS=3D"${STAGE1_CFLAGS}" LIBPATH=3D"${LIBPATH}" BOOT_CFLAGS=3D"${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; * The die message: * emake failed with all-target-libstdc++-v3 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 &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: $? =3D 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 &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: $? =3D 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 &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: $? =3D 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: $? =3D 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: $? =3D 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=3D'/./gcc/xgcc -B/./gcc/ -B/usr/i686-pc-linux-gnu/bin/......... .... ac_cv_prog_CC=3D'/./gcc/xgcc -B/./gcc/ ... ac_cv_prog_NM=3D/var/tmp/portage/sys-libs/libstdc ++-v3-4.3.2/work/build/./gcc/nm ## ----------------- ## ## Output variables. ## ## ----------------- ## ... CC=3D'/./gcc/xgcc .... .... NM=3D'/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!? --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80, web: http://www.cregion.ru jabber: johnrdoe63@jabber.ru mailto:johnrdoe63@cregion.ru (pgp: http://blackhole.pca.dfn.de) --=-rHeMbNYoJ2cR3DrY3udx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: =?koi8-r?Q?=FC=D4=C1?= =?koi8-r?Q?_=DE=C1=D3=D4=D8?= =?koi8-r?Q?_=D3=CF=CF=C2=DD=C5=CE=C9=D1?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=C1=CE=C1?= =?koi8-r?Q?_=C3=C9=C6=D2=CF=D7=CF=CA?= =?koi8-r?Q?_=D0=CF=C4=D0=C9=D3=D8=C0?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkpFBEYACgkQ6R0nlhmSurJVcgCggbxowHAOL+qM++mFxd7xGWHi xukAnA0HgPBbG8BZsihnWCt66vMAeXDL =LYMQ -----END PGP SIGNATURE----- --=-rHeMbNYoJ2cR3DrY3udx--