Hi Thiago, What is the version of glibc on the targets you are building to? There was an O_TMPFILE bug in older glibc's:
https://sourceware.org/bugzilla/show_bug.cgi?id=17912 ** Bug watch added: Sourceware.org Bugzilla #17912 https://sourceware.org/bugzilla/show_bug.cgi?id=17912 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1709170 Title: QEMU fails to honor O_TMPFILE Status in QEMU: New Bug description: When making a call like open("/tmp", O_TMPFILE | O_RDWR); under QEMU, we ged -EISDIR. Under any kernel 3.11 or later, we are supposed to get an unnamed file in /tmp. In case the filesystem for /tmp does not support unnamed files, we are supposed to get EOPNOTSUPP. [I don't know the QEMU version, since this happened in a system I don't have access to] To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1709170/+subscriptions