1/1

|
Incompatible changes to GCC for OpenRISC
by jeremybennett on Aug 17, 2010 |
jeremybennett
Posts: 689 Joined: May 29, 2008 Last seen: Feb 9, 2012 |
||
|
There are some problems with the GCC compiler for OpenRISC and how it interacts with the rest of the tool chain (particularly GDB). I wish to fix this by making two significant changes to GCC. However, the first of these will result in new GCC generated binaries not being linkable with old GCC generated binaries. In practice I believe this will not be a big issue, since we do not have a large body of pre-compiled library code out there. This post is for anyone affected to raise objections if they wish. The two changes are:
It is my intention to implement the first proposal (remove underscore prefix for globals) for the release of GCC that will form part of the complete tool chain release at the end of September (see Toolchain development schedule announcement). Moving to DWARF as the preferred debugging format will have to wait until we can get reliable DWARF2 output generated. Any comments on these ideas welcome here or on IRC at freenode.net, channel #opencores. Jeremy
-- |
|||
|
RE: Incompatible changes to GCC for OpenRISC
by julius on Aug 17, 2010 |
julius
Posts: 323 Joined: Jul 1, 2008 Last seen: Feb 8, 2012 |
||
|
Both changes sound great Jeremy.
All libraries we work with now are recompiled regularly, there's no dependence on legacy libraries of any sort. Nice one. |
|||
|
RE: Incompatible changes to GCC for OpenRISC
by jeremybennett on Aug 20, 2010 |
jeremybennett
Posts: 689 Joined: May 29, 2008 Last seen: Feb 9, 2012 |
||
|
The version of the tools in SVN has been updated to work without leading underscore being generated for global variables by GCC. Feedback welcome. A nasty bug in newlib startup has been fixed at the same time. Regression failures with binutils, GCC and newlib are unchanged. Regression failures on GDB 7.1 have been significantly reduced (down to 441, from 3000+ in GDB 6.8). Feedback welcome. Jeremy |
|||
|
RE: Incompatible changes to GCC for OpenRISC
by jeremybennett on Aug 25, 2010 |
jeremybennett
Posts: 689 Joined: May 29, 2008 Last seen: Feb 9, 2012 |
||
|
The version of GCC in SVN has now been updated to generated DWARF2 output by default. This should eventually improve the GDB debugging experience, although it has temporarily made things a little worse. GCC regression is marginally improved (one unexpected success is now an expected failure). Feedback welcome as always. Jeremy |
|||
1/1

