This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: how to build and test uClinux toolchains
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Max Filippov <jcmvbkbc at gmail dot com>
- Cc: jimw at sifive dot com, gcc at gcc dot gnu dot org
- Date: Mon, 5 Nov 2018 21:51:20 +0100
- Subject: Re: how to build and test uClinux toolchains
- References: <CAKdteOYkXHSj8umtQMbGUxe2Ja9tgJshvp6o0Cd61ooLBtqhgg@mail.gmail.com> <31a7532b-220a-4398-d95a-e31b0a2c037c@sifive.com> <CAMo8Bf+nid3uPq41Fq+3CkH+5K1H6WHzEw=wH1xmCR5TdnWNWw@mail.gmail.com> <CAKdteOYCDzd833ZoVLheNCv-v_Ad-uojBLbfQoewt12O2s6P6w@mail.gmail.com> <CAMo8BfLzJeXYg+yN0cpmNcDSO0=C2JvNeCNb7fEMTcrgZCG9yg@mail.gmail.com> <CAKdteObw40tmpYNT743bCBLHb36+fMC7mwONmhuM1sVj6dbPFw@mail.gmail.com> <CAKdteOZG6WhoyhfizBxt_71wRkHH-P3PtCgHZNbi8H4CL+nW+Q@mail.gmail.com> <CAMo8BfK8+LD9wFP=XyjEpMa6m9C_3rpqe1E8+zAdU96B4+CdeQ@mail.gmail.com>
On Mon, 5 Nov 2018 at 21:49, Max Filippov <jcmvbkbc@gmail.com> wrote:
>
> On Fri, Nov 2, 2018 at 3:29 AM Christophe Lyon
> <christophe.lyon@linaro.org> wrote:
> > I re-ran the wiki instructions with --target=xtensa-buildroot-uclinux-uclibc
> > and while gcc/g++ results looks mostly OK, the libstdc++ ones only show:
> > Running ...f/trunk/libstdc++-v3/testsuite/libstdc++-abi/abi.exp ...
> > ERROR: could not compile testsuite_abi.cc
> > ERROR: tcl error sourcing.../trunk/libstdc++-v3/testsuite/libstdc++-abi/abi.exp.
> > Running.../trunk/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ...
> > ERROR: could not compile testsuite_abi.cc
> > etc...
> >
> > libstdc++.log show many instances of:
> > .../trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc: In function
> > 'symbols create_symbols(const char*)':^M
> > .../trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc:565: note:
> > non-delegitimized UNSPEC 3 found in variable location^M
> > .../trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc: In function
> > 'void examine_symbol(const char*, const char*)':^M
> > .../trunk/libstdc++-v3/testsuite/util/testsuite_abi.cc:355: note:
> > non-delegitimized UNSPEC 3 found in variable location^M
>
> "non-delegitimized UNSPEC 3 found" is a note, not an error.
> There should also be an error.
>
That's what I thought, but I couldn't find it.
> > Do you know what the problem is in my setup? Or with GCC trunk?
>
> I ran make check on gcc trunk from 2018-10-20, libstdc++ testsuite
> works for me:
>
> === libstdc++ Summary ===
>
> # of expected passes 9889
> # of unexpected failures 89
> # of unexpected successes 4
> # of expected failures 79
> # of unresolved testcases 17
> # of unsupported tests 758
>
OK, thanks for the confirmation, I'm now re-building with the patches
from your previous email
> --
> Thanks.
> -- Max