[Bug 240432] Linuxulator: uname (function) reports i686 machine to 32-bit executables on amd64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 9 05:35:15 UTC 2019
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: bugs at FreeBSD.org
Reporter: iwtcex at gmail.com
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.
More information about the freebsd-bugs
mailing list