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=\"${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 } 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] Ошибка 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 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: $? = 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: $? = 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: $? = 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!? -- С уважением, Александр, web: http://www.cregion.ru jabber: johnrdoe63@jabber.ru mailto:johnrdoe63@cregion.ru (pgp: http://blackhole.pca.dfn.de)