Giter Club home page Giter Club logo

Comments (9)

ptitSeb avatar ptitSeb commented on July 4, 2024 1

I think I will close this ticket

from box86.

ptitSeb avatar ptitSeb commented on July 4, 2024

Ok, I added the syscall with commit 1e44941
As you can see, it can be simple to add (but it's untested).

from box86.

toastmod avatar toastmod commented on July 4, 2024

Ah I see, cool thanks for the commit.

from box86.

toastmod avatar toastmod commented on July 4, 2024

So my next unknown syscall error is # 243
I tried adding it like you did but when compiling I just get

/home/pi/box86/src/x86syscall.c:85:12: error: β€˜__NR_set_thread_area’ undeclared here (not in a function)
     { 243, __NR_set_thread_area, 2 },
            ^~~~~~~~~~~~~~~~~~~~
CMakeFiles/box86.dir/build.make:521: recipe for target 'CMakeFiles/box86.dir/src/x86syscall.c.o' failed
make[2]: *** [CMakeFiles/box86.dir/src/x86syscall.c.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/box86.dir/all' failed
make[1]: *** [CMakeFiles/box86.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2
pi@raspberrypi:~ $

from box86.

toastmod avatar toastmod commented on July 4, 2024

here's the original error btw

pi@raspberrypi:~/Documents/Carla_2.0.0-linux32 $ ./box86 Carla
Using default BOX86_LD_LIBRARY_PATH: ./:lib/
Using default BOX86_PATH: ./:bin/
Counted 45 Env var
Looking for Carla
Error: Unsupported Syscall 0xF3h (243)

from box86.

ptitSeb avatar ptitSeb commented on July 4, 2024

So, this syscall ... is x86 specific (more or less), and is about TLS: http://man7.org/linux/man-pages/man2/set_thread_area.2.html

It cannot be wrapped simply, and I'm not sure yet how to implement it in fact.

from box86.

toastmod avatar toastmod commented on July 4, 2024

That's ok, dont feel rushed. Thanks for the reply.

from box86.

ptitSeb avatar ptitSeb commented on July 4, 2024

Syscall 243 has been added to box86 some time ago. Can you try again to see if it works and close the ticket if it does @toastmod ?

from box86.

toastmod avatar toastmod commented on July 4, 2024

Sorry for the wait i will get to that eventually. I'll have to set my raspberry pi back up the way it was to replicate the error again.

from box86.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.