bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/30794] PowerPC port of gold fails with: internal error in add_


From: amodra at gmail dot com
Subject: [Bug gold/30794] PowerPC port of gold fails with: internal error in add_output_section_to_load, at gold/output.cc:4097
Date: Thu, 24 Aug 2023 23:40:47 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30794

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ccoutant at gmail dot com          |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Caused by commit 5a97377e5513, specifically this code added to
Target_powerpc::do_relax
+      if (parameters->options().output_is_position_independent())
+       this->rela_dyn_size_
+         = this->rela_dyn_section(layout)->current_data_size();

The problem here is that if .rela.dyn isn't already created then the call to
rela_dyn_section creates is, and as this comment says
          // Annoyingly, we need to make these sections now whether or
          // not we need them.  If we delay until do_relax then we
          // need to mess with the relaxation machinery checkpointing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]