[Libre-soc-bugs] [Bug 1228] SFFS ISACaller userspace ELF support for dynamic linking and PIC

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Dec 3 09:48:44 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1228

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #1)
> I implemented brk and a bunch of smaller misc. syscalls and added a test of
> a hello world statically linked to glibc, it fails when it reaches stwcx.
> 
> https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;
> h=ca1a0b0061f287c615f45b61ea9f6a70e38ccf69
> 
> 
> error:
>         if rc_en and ins_name not in ['svstep']:
>             if outs_ok.get('FPSCR', False):
>                 FPSCR = outs['FPSCR']
>             else:
>                 FPSCR = self.FPSCR
>             yield from self.do_rc_ov(
> >               ins_name, results[0], overflow, cr0, cr1, FPSCR)
> E           TypeError: 'NoneType' object is not subscriptable
> 
> <snip>
> results    = None
> <snip>
> 
> src/openpower/decoder/isa/caller.py:2474: TypeError

errm... ermerm... ok. good catch.
https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=ca1a0b0061f287c615f45b61ea9f6a70e38ccf69

we need to isolate that a bit more into a MVCE.
(it is 09:45 UTC therefore 4am for you so i may do it
later today).

i don't think i ever implemented stwcx in ISACaller.

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


More information about the libre-soc-bugs mailing list