[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller
    bugzilla-daemon at libre-soc.org 
    bugzilla-daemon at libre-soc.org
       
    Mon Oct 23 23:55:43 BST 2023
    
    
  
https://bugs.libre-soc.org/show_bug.cgi?id=982
--- Comment #166 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
jacob see #1066 reduce the mem block down to 1<<29 please
dmitry the return result is "-1" but is coming out at 0xffffffffff...
this is *possibly* due to using termux (proot). which would be a pisser.
i will have to fire up the laptop tomorrow (amd64).
ERROR: test_sc_dup (__main__.SyscallTestCase)                                 
----------------------------------------------------------------------        
Traceback (most recent call last):                                             
 File
"/home/libresoc/src/openpower-isa/src/openpower/decoder/isa/test_syscall.py",
line 107, in test_sc_dup                                                    
st1 = os.fstat(fd1)                                                       
OverflowError: Python int too large to convert to C int                        
                                                                             
======================================================================        
FAIL: test_sc_getpid (__main__.SyscallTestCase)                               
----------------------------------------------------------------------        
Traceback (most recent call last):                                             
 File
"/home/libresoc/src/openpower-isa/src/openpower/decoder/isa/test_syscall.py",
line 82, in test_sc_getpid                                                  
self.assertEqual(sim.gpr(3), os.getpid())                                 
AssertionError: SelectableInt(value=0xffffffffffffffff, bits=64) != 26211      
                                                                             
======================================================================        
FAIL: test_sc_getuid (__main__.SyscallTestCase)                               
----------------------------------------------------------------------        
Traceback (most recent call last):                                             
 File
"/home/libresoc/src/openpower-isa/src/openpower/decoder/isa/test_syscall.py",
line 90, in test_sc_getuid                                                  
self.assertEqual(sim.gpr(3), os.getuid())                                 
AssertionError: SelectableInt(value=0xffffffffffffffff, bits=64) != 1000       
                                                                             
----------------------------------------------------------------------        
Ran 3 tests in 41.027s
-- 
You are receiving this mail because:
You are on the CC list for the bug.
    
    
More information about the libre-soc-bugs
mailing list