https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240432
Bug ID: 240432
Summary: Linuxulator: uname (function) reports i686 machine to
32-bit executables on amd64
Product: Base System
Version: 12.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Consider the following program compiled with -m32 flag:
#include <stdio.h>
#include <sys/utsname.h>
int main() {
struct utsname name;
uname(&name);
printf("machine: %s\n", name.machine);
return 0;
}
This prints "machine: i686" under Linuxulator, while Ubuntu 18.04 gives me
"machine: x86_64".
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"