Skip to content

Possible incorrect libc/libstdc++ initialization #1062

Description

@ValdikSS

I'm running box86 commit ee0c949 (v0.3.8 basically)

Proprietary epson-inkjet-printer-201310w fails to produce correct output result: it produces much smaller file than with qemu-i386, with success exit code.
There are debug strings in the library which are called to no-op debug printf. I've re-activated this function to print to stderr, but with box86, this path is not activated and it does not print debug strings (the function is not called, if you put garbage code in there, it won't crash in box86).

Qemu successfully prints these debug lines into stderr, and produces correct file.

Don't have much time to investigate further right now, but it might be something with the library initialization step.
All I could say it it 'does not work'.

I'm running box86 on Debian 12, without x86lib files (Debian's libstdc++).
Disabling JIT does not help.

The files and the readme is in the archive.
box86-issue.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions