question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GCC trunk not built for over a week due to GNAT build failure

See original GitHub issue
../../../../../../../gcc-trunk-20190129/libstdc++-v3/src/filesystem/ops.cc: In function 'T {anonymous}::do_stat(const std::experimental::filesystem::v1::__cxx11::path&, std::error_code&, Accessor, T) [with Accessor = std::experimental::filesystem::v1::file_size(const std::experimental::filesystem::v1::__cxx11::path&, std::error_code&)::<lambda(const auto:1&)>; T = std::experimental::filesystem::v1::file_size(const std::experimental::filesystem::v1::__cxx11::path&, std::error_code&)::S]':
../../../../../../../gcc-trunk-20190129/libstdc++-v3/src/filesystem/ops.cc:783:5: warning: empty class 'std::experimental::filesystem::v1::file_size(const std::experimental::filesystem::v1::__cxx11::path&, std::error_code&)::<lambda(const auto:1&)>' parameter passing ABI changes in -fabi-version=12 (GCC 8) [-Wabi]
  783 |     do_stat(const fs::path& p, std::error_code& ec, Accessor f, T deflt)
      |     ^~~~~~~

Not sure if this is our issue or upstream…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
mattgodboltcommented, Mar 5, 2019

Seems good now: thanks 😃

1reaction
Mitchtdkcommented, Feb 6, 2019

I sent an email to AdaCore yesterday via their bug reporting email, and I received a patch to apply today. I have confirmed with them that on my VM I have been able to successfully build GCC (including GNAT) with the default multilib-list options CE has (--with-multilib-list=m32,m64,mx32). They have confirmed that the patch has been up streamed.

I have rebuilt the updated trunk and again I have not had anymore issues in building GCC (gcc (GCC-Explorer-Build) 9.0.1 20190206 (experimental)) and GNAT (GNAT 9.0.1 20190206 (experimental)).

Read more comments on GitHub >

github_iconTop Results From Across the Web

39625 – [4.5 Regression] Revision 145338 breaks ability to build Ada
When building gcc I get this during the build of the gnattools: "Unable to coalesce ... [trunk revision 145488] (i386-unknown-openbsd4.5) GCC error:| |...
Read more >
Gprbuild configure failure · Issue #2 - GitHub
I've gone to the trouble of preparing a bootstrap which uses the binary gprbuild (and gprconfig and gprinstall) from the 309M size tarball ......
Read more >
GCC fails to build due to gcc-gnat not being installed
Trying to build gcc results in the following error: configure: error: GNAT is required to build ada Setting either LANG_ADA=false or...
Read more >
Building GNAT/GCC 4.2.0
gcc /ada/comperr.adb) have warnings based on the fact that string ranges ... I'm thinking of attempting to build trunk again, and carefully go...
Read more >
GCC updated in NetBSD! - Google Groups
weeks ago was done correctly, but the failing tests (most related to ... xcompiler, it is the native gcc on arm* that is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found