Comments (3)
For now, native x86_64 build is not supported. But x86 is, so you need 32bits libs. Look in COMPILE.md for the compile switch to activate to get a working build.
from box86.
What would be required to get 64-bit builds working? I have a system that is 64-bit non-x86, no 32-bit compatibility available. Goal is running old x86 (32-bit) games.
from box86.
It's a lot of work.
For an 64bits build, taking asside the dynarec that would need a new backend (i.e. a rewrite), there are a lot of case to check in the code to differenciante "emulated" void*
(32bits) and "native" void*
(64bits).
The main issue would be memory allocation in the wrappers. The idea of box86 is to directly map x86 function call with native function. So, for a function like malloc(...)
, some mecanism needs to be pt in place to be sure the returned pointer is 32bits compatible. Either by using some custom function, or by creating a map (that's the Hangout approach I think). The custom function is nice because you directly have a compatible pointer, but you need to have a custom funciton for every function that allocate memory (and there are a lot, and and it's not limited to libc
). The second approach means you need to use the map for every function that use a pointer (so you get a speed hit because of the map, and you always have the risk of missing some pointer in a structure...). Maybe something intermediary could be done (some mmap or similar mecanism to mirror the memory?), but I haven't done much research on that.
I think a box86_64, targetting x86_64 would be a bit simpler, but because of the complexity of the x86_64 architecture, still a large amount of work.
from box86.
Related Issues (20)
- L4T Bionic Broken Elements When Navigating Steam Client
- Source Dedicated Server (TF2) fails to dlopen `engine_srv.so` due to `libc.so.6` HOT 3
- building on rk3588s HOT 11
- how install box 86 on orange pi (arch linux) ? HOT 7
- Cemu HOT 3
- box86:armhf on arm64 missing opcodes in Fallout Tactics and Diablo 2 HOT 3
- Steamwebhelper is not responding HOT 15
- Steam: Missing symbols HOT 10
- box86 steam You are missing the following 32-bit libraries, and Steam may not run: libc.so.6 HOT 10
- Support mali vulkan driver HOT 1
- Regression on Super Meat Boy my2_SDL_GL_GetProcAddress HOT 4
- Killing Floor Dedicated Server Crashes with SIGSEGV HOT 4
- Wheel of Time on RPi5/64
- Build Error on Raspberry Pi 5: _TIME_BITS=64 Requirement Conflict HOT 11
- Steam fail to start due to symbol err HOT 14
- Wrong ELF class on Switch HOT 1
- Question about ODROID target HOT 4
- Unhandled page fault on read access to FFFFFFFF at address 00000000 (thread 0024), starting debugger...
- Box86 fails to run on Ubuntu 24.04 HOT 11
- Relocation type "0x2a" error running bash. Unable to run bash in nixOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box86.