Comments (4)
This works before this solo5 commit: fd869f4813686ca33c207001fbc4623d5e2a6c63
from rumprun.
vnsprintf
in bindings/ee_printf.c
is not doing the right thing (still don't know why):
int ee_vprintf(const char *fmt, va_list args)
{
...
n = vsnprintf(buf, PRINTF_BUF_LEN, fmt, args); // the resulting buf is not right
...
}
Breakpoint 3, ee_vprintf (fmt=fmt@entry=0x3254f8 "Solo5: Memory map: %llu MB addressable:\n", args=args@entry=0x1fffff70) at ee_printf.c:706
(gdb) p buf
$2 = "Solo5: Memory map: %lu MB addressable:\n", '\000' <repeats 280 times>
(gdb) p *(int *)(((char *)args[0].reg_save_area)+args[0].gp_offset)
$7 = 512
(gdb) p fmt
$8 = 0x3254f8 "Solo5: Memory map: %llu MB addressable:\n"
Both the format string fmt
and args
are correct, but buf
(returned by vsnprintf
) is not. buf
should be Solo5: Memory map: 512 MB addressable:\n
.
from rumprun.
This is a solo5 issue: can reproduce it with solo5 tests (no rumprun involved). Will close this after opening an issue in solo5/solo5.
from rumprun.
fixed with #18
from rumprun.
Related Issues (12)
- solo5's ukvm-bin (soon to be called solo5-spt) should exit with with the correct rumprun's exit status
- solo5 hvt (ukvm) not working HOT 2
- Re-enable stack protection HOT 1
- Add some kind of manifest (git commit hashes) for debugging purposes
- FIle renames are not working properly (nothing to do with solo5)
- Pass the tests on the hw platform (qemu)
- Stop the compilation (in build-rr) if gcc version is lower than 6 HOT 1
- interrupt support with Solo5 platform HOT 2
- Point to latest solo5 and use solo5_set_tls_base
- Tests failing in solo5 branch HOT 1
- Print git version at startup
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 rumprun.