| Summary: | Qt 4.7.4 build crashes with Linux 2.6.29 | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Jérémie Scheer <jeremie.scheer> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2012.02 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | x86_64 | Target: | arm |
| Build: | |||
| Attachments: | Omit accept4 when not supported by the kernel. | ||
|
Description
Jérémie Scheer
2012-03-21 10:54:00 UTC
There's not much we can do about this. Qt requires this accept4 system call, which isn't available in 2.6.29, so it doesn't build if the kernel headers of such kernel version are used. What would like us to do here? Created attachment 4178 [details]
Omit accept4 when not supported by the kernel.
Thank you for your answer. In fact, that's not really a Buildroot problem. But I found a patch for uClibc that omits accept4 when the kernel version is too old to support it. If that can be of any help, I attached this patch to the bug. (In reply to comment #3) Do notice that just using new kernel headers is not enough if your kernel doesn't handle sys_accept4. Qt is also not the only program using accep4, udev is a another well known one. Not a Buildroot bug per se: 2.6.29 is old now, and many userspace components depend on system calls that have been added since then, and therefore recent enough kernel headers are needed to build several userspace packages (qt, udev, etc.) |