http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60571

            Bug ID: 60571
           Summary: FTBFS on hurd-i386
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: svante.signell at gmail dot com

Created attachment 32384
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32384&action=edit
Use WCONTINUED as third argument to waitpid only if defined

Hi,

Currently gcc-4.9 (20140218-1 20140303-1) and fails to build on GNU/Hurd due to
WCONTINUED not being defined. The attached patch solves this problem by only
using that option as third argument to waitpid when available. This flag is
Linux-specific, and according to the Linux waitpid man page it was
introduced in 2.6.10.

Reported as Debian bug #740153 and accepted to be part of next gcc-4.9
snapshot.

Thanks!

Reply via email to