Ticket #1428 (closed bug: fixed)
Build breaks on 32-bit FreeBSD
| Reported by: | anevilyak | Owned by: | bonefish |
|---|---|---|---|
| Priority: | normal | Milestone: | R1 |
| Component: | Build System | Version: | R1 development |
| Cc: | Blocked By: | ||
| Platform: | x86 | Blocking: |
Description
On FreeBSD/i386, the build gets 99% of the way, but fails on the bash build step. Specifically, MkSigNamesExt1 fails, for the following reason:
In support/mksignames.c, the size of the signals array is defined by looking up the value of NSIG. Given the arithmetic, this yields an array of 64 entries. However, it also checks for SIGRTMIN AND SIGRTMAX. On FreeBSD these resolve to 65 and 126. As a consequence, it tries to also populate those entries, but these are out of the array's bounds and so it crashes. This can be fixed by using a similar workaround to what is done for AIX, where RTMIN and RTMAX are undef'd.
Change History
Note: See
TracTickets for help on using
tickets.
