Wednesday, 12 August 2020

Re: [gccsdk] GCC 10.2

In message <3f514a44-f68f-aab8-826b-6be5c5d87282@sky.com>
Lee Noar <lee.noar@sky.com> wrote:

> On 11/08/2020 21:11, Chris Gransden wrote:

[snip - building GCC 10.2]

>> Everything builds and seems to run OK without it.

> OK, thanks, seems pretty stable here too.

I have found one issue when compiling a simple C++ "Hello World".

/* The simple Hello World application. */

#include <iostream>

int main (void)
{
std::cout << "Hello World" << std::endl;
return 0;
}

This source is attached.

It errors about a missing file.

*g++ helloworld.cc
In file included from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/stdexcept:39[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/system_error:41[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/bits/ios_base.h:46[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/streambuf:41[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/bits/locale_conv.h:37[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/locale.h:43[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/clocale:42[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/arm-riscos-gnueabihf/bits/c++
locale.h:41[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/bits/localefwd.h:40[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/ios:41[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/ostream:38[m[K,
from
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/iostream:39[m[K,
from [01m[Khelloworld.cc:3[m[K:
[01m[K/ADFS::Titan4.$/_GCC/!GCC/include/c++/10.2.0/string:56:10:[m[K
[01;31m[Kfatal error: [m[Kbits/basic_string.tcc: No such file or
directory
56 | #include [01;31m[K<bits/basic_string.tcc>[m[K
| [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~[m[K
compilation terminated.
*

Also attached as error1/txt.

There is no 'tcc' directory, as there is in GCC 4.7.4. If the missing
directory is created and populated then there is a huge trace list,
which is attached as error2/txt.

--
David Pitt
Titanium

No comments:

Post a Comment