On Fri, Oct 24, 2014 at 4:13 PM, Stefan Kristiansson <
[email protected]> wrote:

> This made me recall having similar issues a while back, and searching
> around some old IRC I found this:
> http://juliusbaxter.net/openrisc-irc/%23openrisc.2014-05-05.log.html#t05:20
> (I'm stekern in that conversion).
> The conclusion from that was that you currently have to build or1ksim
> with --disable-shared.
> I also recall Peter Gavin (pgavin) trying to get it to automatically
> pick that up, but can't remember if he ran into some problems with
> that or was the end result was.
>

I think the end result was just to use --disable-shared.  This prevents
libsim from being built as a .so but unless I'm mistaken, the only other
program that uses it is GDB so it's probably not a huge problem.

FWIW those testsuite errors are exactly the ones I have if on my machine if
I don't use --disable-shared.  With --disable-shared, everything passes.
I'm still not 100% sure what's causing the bug, to be honest.  I haven't
looked at it in a few months, but IIRC the failing tests don't use
or1k-elf-sim, they use their own native binary to execute the test code.

-Pete
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to