Cannot build QEMU on RHEL6 because of MAP_HUGETLB

Bug #1738767 reported by Christophe Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Won't Fix
Undecided
Unassigned

Bug Description

Hello,
I've just downloaded qemu-2.11.0 sources and I wanted to build QEMU on RHEL6 x86_64, for various targets, amonst which arm-linux-user.

The build fails because /usr/include/bits/mman.h does not define MAP_HUGETLB.

I think it is needed since commit 541e16904.

I'm not sure if RHEL6 is still supported by QEMU? If so, can you fix this problem?

Thanks

Revision history for this message
Christophe Lyon (christophe-lyon) wrote :

I think we can close this bug: the build fails on RHEL6.4, but succeeded on RHEL6.7.

Probably related to: https://access.redhat.com/solutions/320613

Revision history for this message
Alex Bennée (ajbennee) wrote :

This was fixed by the distro updating their glibc-headers pakcage:

* Tue Jul 23 2013 Alexandre Oliva <email address hidden> - 2.12-1.119
- Add MAP_HUGETLB and MAP_STACK support (#916986).
- Update translation for stale file handle error (#970776).

The build works in the current centos6 docker image and has been confirmed to build on later RHEL6 (RHEL6.7).

Revision history for this message
Peter Maydell (pmaydell) wrote :

OK, since we work on more recent RHEL6 and the submitter is happy with that, let's close this bug as WONTFIX.

Changed in qemu:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.