Opened 10 years ago
Closed 10 years ago
#7847 closed Bugs (fixed)
BUG: on linux, the non-standard <wait.h> is included, breaking build with musl libc
| Reported by: | anonymous | Owned by: | Vladimir Prus | 
|---|---|---|---|
| Milestone: | To Be Determined | Component: | build | 
| Version: | Boost 1.52.0 | Severity: | Showstopper | 
| Keywords: | Cc: | 
Description
wait.h is not linux-specific, but GLIBC specific. here's the patch that makes it work. without this patch, it is not possible to build boost on any non-glibc linux platform.
--- boost_1_52_0.org/tools/build/v2/engine/execunix.c 2013-01-04 09:45:43.165000002 +0000 +++ boost_1_52_0/tools/build/v2/engine/execunix.c 2013-01-04 09:46:20.095000004 +0000 @@ -18,7 +18,7 @@
#include <sys/times.h> #include <sys/wait.h>
| defined(sun) | defined(linux) | 
| defined(sun) | defined(GLIBC) | 
#include <wait.h>
#endif
Attachments (1)
Change History (4)
by , 10 years ago
| Attachment: | boost-execinfo.patch added | 
|---|
comment:2 by , 10 years ago
| Component: | Building Boost → build | 
|---|---|
| Owner: | set to | 
comment:3 by , 10 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

patch