[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Oct 24 01:12:29 BST 2023


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

--- Comment #167 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #166)
> jacob see #1066 reduce the mem block down to 1<<29 please

I'm assuming you meant bug #1173.
> 
> dmitry the return result is "-1" but is coming out at 0xffffffffff...

I would guess the issue is that uname is being used, but what you actually need
is the arch of the user-space executable, not the kernel, since Luke seems to
have a armhf user-space and aarch64 kernel. after some experimentation, it
looks like you can use:
python3 -c 'import sysconfig; print(sysconfig.get_config_var("HOST_GNU_TYPE"))'

for armhf:
armv8l-unknown-linux-gnueabihf
for arm64:
aarch64-unknown-linux-gnu
for i386:
i686-pc-linux-gnu
for x86_64:
x86_64-pc-linux-gnu
for ppc64el:
powerpc64le-unknown-linux-gnu

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


More information about the libre-soc-bugs mailing list