Re: nds broken by recent patches

Stafford Horne <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <YfR9FyOX3XcXCLkf@antec>
On Fri, Jan 28, 2022 at 02:54:24PM -0700, Jeff Law wrote:
> Replying to myself...
> 
> On 1/28/2022 9:36 AM, Jeff Law wrote:
> > 
> > For example, someone mucked up the compiler for or1k-elf at the same
> > time you're doing your refactoring.  Now I've got a patch to fix the
> > compiler ICE, *but* I'm also getting a crap-ton of new testsuite
> > failures in the testsuite due to missing _init/_fini symbols.  I don't
> > know yet if that's a newlib issue or something else mucked up on the
> > compiler side.
> I think I've tracked this done.  The change to internalize
> HAVE_INITFINI_ARRAY wasn't complete.  It missed newlib.  Affects aarch64,
> arm, or1k and cris -elf ports.  I don't test for former pair, but I do test
> the latter pair.   or1k and cris fail differently. or1k-elf code fails to
> link, while cris-elf fails a few tests that rely on ctor/dtor support.

Is there anything I can help with here for or1k-elf?  Or was this something I
did wrong with ff7b7b894 ("libgloss: or1k: If available call the init for
init_array")?

I haven't rebuilt my newlib toolchain since last year or so.

-Stafford
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.