Public bug reported:

Hi,

I am trying to build with gcc 14 release.  First, I was on Ubuntu 24.04
with gcc 14.0.1, then upgraded to Ubuntu 24.10 with gcc 14.2, which
fixed some of my previous issues.

Couple of issues:
1. It seems the gcc compiler is crashing?
2. I could not find the `file:///usr/share/doc/gcc-14/README.Bug` file, so I am 
unsure if I put all the required information.  When I tried building with the 
`-freport-bug` flag I am getting other errors


full logs here: 
https://jenkins.symboldev.com/job/Symbol/job/catapult-client/job/catapult-client-build-catapult-project/2598/console

catapult::validators::AccountRestrictionValueModificationValidatorTests_SuccessWhenAccountRestrictionDoesNotContainValue_Add()
 [with TRestrictionValueTraits = {anonymous}::AccountMosaicRestrictionTraits; 
TOperationTraits = catapult::test::AllowTraits]’
18:05:37    169 |                 
AssertValidationResult<TRestrictionValueTraits, TOperationTraits>(Success, 3, 
createNotification, [](const auto& values) {
18:05:37        |                 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:05:37    170 |                         return std::make_pair(Add, 
TRestrictionValueTraits::ToUnresolved(test::CreateRandomUniqueValue(values)));
18:05:37        |                         
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18:05:37    171 |                 });
18:05:37        |                 ~~                                            
                    
18:05:37  
/catapult-src/client/catapult/plugins/txes/restriction_account/tests/validators/AccountRestrictionValueModificationValidatorTests.cpp:166:2:
   required from here
18:05:37     95 |                 TRAITS_TEST_NAME(TEST_CLASS, 
TEST_NAME)<AccountMosaicRestrictionTraits, test::AllowTraits>(); \
18:05:37        |                                                               
                                            ^
18:05:37  /catapult-src/client/catapult/tests/test/nodeps/Random.h:133:18:   in 
‘constexpr’ expansion of ‘catapult::utils::BaseValue<long unsigned int, 
catapult::MosaicId_tag>((*(const catapult::utils::BaseValue<long unsigned int, 
catapult::MosaicId_tag>*)(& randomValue)))’
18:05:37  /catapult-src/client/catapult/src/catapult/utils/BaseValue.h:101:15: 
internal compiler error: in cxx_eval_indirect_ref, at cp/constexpr.cc:5954
18:05:37    101 |         class BaseValue : public BasicBaseValue<TValue, TTag, 
BaseValue<TValue, TTag>> {
18:05:37        |               ^~~~~~~~~
18:05:37  0x7fd43cc963b7 __libc_start_call_main
18:05:37        ../sysdeps/nptl/libc_start_call_main.h:58
18:05:37  0x7fd43cc9647a __libc_start_main_impl
18:05:37        ../csu/libc-start.c:360
18:05:37  Please submit a full bug report, with preprocessed source (by using 
-freport-bug).
18:05:37  Please include the complete backtrace with any bug report.
18:05:37  See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.

** Affects: gcc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081659

Title:
  gcc 14 compiler crash during build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc/+bug/2081659/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to