From: Khem Raj <raj.khem@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Fwd: g++-target compilation error
Date: Tue, 21 Dec 2010 06:53:24 -0800 [thread overview]
Message-ID: <20101221145324.GA4665@gmail.com> (raw)
In-Reply-To: <AANLkTi=K0zKN0Oz2tctGrBrg=Pzth3ji+QZTrL7JCa1F@mail.gmail.com>
On (16/12/10 18:56), Sergey Naumov wrote:
> I am trying to invertigate the problem with gcc-4.4.5-target
> compilation failure and it seems that while precompiling stdtr1c++.h
> it can't include <fenv.h> from <tr1/cfenv>, although in
> <bits/c++config.h> _GLIBCXX_HAVE_FENV_H is defined. It seems that it
> happens because <bits/c++config.h> is not included for stdtr1c++.h
> (pragma in c++config.h does not work for stdtr1c++.h, but works for
> stdc++.h)
> Complete log is in make.err.3.txt file.
>
> Buildroot config + some useful logs are attached.
>
> Sergey Naumov.
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1/cctype:31: note: #pragma message: In file /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1/cctype TR1!! before include bits/c++config.h
> In file included from /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1/cctype:33,
> from /opt/buildroot-2010.11/output/toolchain/gcc-4.4.5/libstdc++-v3/include/precompiled/stdtr1c++.h:32:
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/cctype:42: note: #pragma message: In file /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/cctype before include bits/c++config.h
> In file included from /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1/cfenv:46,
> from /opt/buildroot-2010.11/output/toolchain/gcc-4.4.5/libstdc++-v3/include/precompiled/stdtr1c++.h:33:
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:49: error: '::fenv_t' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:50: error: '::fexcept_t' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:53: error: '::feclearexcept' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:54: error: '::fegetexceptflag' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:55: error: '::feraiseexcept' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:56: error: '::fesetexceptflag' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:57: error: '::fetestexcept' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:59: error: '::fegetround' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:60: error: '::fesetround' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:62: error: '::fegetenv' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:63: error: '::feholdexcept' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:64: error: '::fesetenv' has not been declared
> /opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include/tr1_impl/cfenv:65: error: '::feupdateenv' has not been declared
> make[3]: *** [i586-unknown-linux-uclibc/bits/stdtr1c++.h.gch/O2g.gch] Error 1
> make[3]: Leaving directory `/opt/buildroot-2010.11/output/build/gcc-4.4.5-target/i586-unknown-linux-uclibc/libstdc++-v3/include'
Try to compile uclibc with UCLIBC_HAS_FENV
prev parent reply other threads:[~2010-12-21 14:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 15:39 [Buildroot] g++-target compilation error Sergey Naumov
2010-12-15 15:42 ` [Buildroot] Fwd: " Sergey Naumov
2010-12-16 15:56 ` Sergey Naumov
2010-12-21 14:53 ` Khem Raj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101221145324.GA4665@gmail.com \
--to=raj.khem@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox