MonetDBLite-C
MonetDBLite-C copied to clipboard
Problem about running MonetDBLite with gem5 syscall-emulation simulation
I tried to compile MonetDBLite-C to make it run in syscall-emulation mode of gem5 simulator. It turned out that pthread is not fully supported in gem5 simulation. To make it work, I found out that a program built statically can use m5threads(https://github.com/gem5/m5threads) to replace pthread, and then the program can run in the gem5 simulation. My question is,
- is it possible to statically build a program, for example the "readme" test program, with MonetDBLite-C?
- If not, can I modify MonetDBLite-C to make it a single thread program and avoid using pthread?
Many thanks to whom can help me out.
Hello, two things to point out. We handle thread creation at gdk_posix, so you can add a conditional to the thread library use, but you also have to change how the build is made on your fork. MonetDBLite is now deprecated and soon we will archive this repository. Please try to use the successor MonetDBe instead: https://github.com/MonetDB/MonetDB/tree/master/tools/monetdbe
Thanks!It seems difficult to modify gdk_posix. I will look into MonetDBe later.