This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] PR 26015: vax-netbsdelf build failure


Trying to build a vax-netbsdelf cross compiler fails when building
libgcc.  It is dying in dwarf2 code.  Because of structural changes, the
vax port needs to define a new macro, FRAME_POINTER_CFA_OFFSET, to tell
gcc the offset between the frame pointer and arg pointer.

Ideally, the patch for this should be tested against the gdb testsuite,
to make sure that the debug info is correct, but I have no way to do
that.  I wrote a patch that I suspect is correct 20 months ago, and it
hasn't been tested yet on hardware.  A volunteer did verify that a
complete cross-compiler toolchain could be built with the fix, whereas
it dies in the libgcc build without the fix.

In the interest of cleaning up our bugzilla database, I have gone ahead
and checked in the patch on the grounds that it is better than nothing.
If the debug info turns out to be wrong, that will be easy enough to fix
later.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

Attachment: patch.vax.debug
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]