On Tue, Sep 8, 2015 at 9:40 AM, David Edelsohn <dje....@gmail.com> wrote: > On Tue, Sep 8, 2015 at 9:15 AM, FX <fxcoud...@gmail.com> wrote: >>> libbacktrace is not supported on AIX. This patch breaks bootstrap on AIX. >>> It's okay if Fortran backtrace does not work on AIX, but not all >>> targets support libbacktrace. >> >> libbacktrace is designed to be compiled on all targets. Some targets offer >> full support, some offer nothing, but libbacktrace is compiled and its >> headers provided in all cases. >> >> Can you please give us something to investigate? Like, the error message >> you’re seeing. > > /home/dje/src/src/libbacktrace/posix.c: In function 'backtrace_open': > /home/dje/src/src/libbacktrace/posix.c:67:32: error: overflow in > implicit constant conversion [-Werror=overflow] > descriptor = open (filename, O_RDONLY | O_BINARY | O_CLOEXEC); > ^
AIX system headers do not define O_BINARY, so posix.c defines it as 0. #define _FCLOEXEC 0x0000001000000000L #define O_CLOEXEC _FCLOEXEC /* sets FD_CLOEXEC on open */ Thanks, David