* [gentoo-dev] Standalone libstdc++
@ 2009-06-26 17:24 Казанков Александр Владимирович
2009-06-26 17:29 ` Mike Auty
0 siblings, 1 reply; 2+ messages in thread
From: Казанков Александр Владимирович @ 2009-06-26 17:24 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 6419 bytes --]
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 </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!?
--
С уважением,
Александр,
web: http://www.cregion.ru
jabber: johnrdoe63@jabber.ru
mailto:johnrdoe63@cregion.ru
(pgp: http://blackhole.pca.dfn.de)
[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Standalone libstdc++
2009-06-26 17:24 [gentoo-dev] Standalone libstdc++ Казанков Александр Владимирович
@ 2009-06-26 17:29 ` Mike Auty
0 siblings, 0 replies; 2+ messages in thread
From: Mike Auty @ 2009-06-26 17:29 UTC (permalink / raw
To: gentoo-dev, johnrdoe63
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Казанков Александр Владимирович wrote:
> Hello.
Hi,
Could you please file all this information (and the output from "emerge
- --info" at https://bugs.gentoo.org/. This mailing list is for technical
discussions, whereas the bug tracker at https://bugs.gentoo.org/ is for
problems such as compilation issues or when things go wrong.
Thanks,
Mike 5:)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
iEYEARECAAYFAkpFBX8ACgkQu7rWomwgFXpaeQCeNuRMyqZIjxMjFIT0nknMqjsz
hhgAnRzw7ID7FUP2XKAzCffd6Na10RSg
=LYVG
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-26 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-26 17:24 [gentoo-dev] Standalone libstdc++ Казанков Александр Владимирович
2009-06-26 17:29 ` Mike Auty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox