https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119975

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #3 from Robert Dubner <rdubner at gcc dot gnu.org> ---
> Rainer, I have no way of testing a build on a Mac.
>
> So, please, at your convenience, see if I eliminated this particular problem,
> and let me know.

Unfortunately not: when I tried a bootstrap on x86_64-apple-darwin15.6.0
last night, it still failed due to another unguarded use of
clock_gettime:

/vol/gcc/src/hg/master/darwin/gcc/cobol/util.cc: In constructor
'cbl_timespec::cbl_timespec()':
/vol/gcc/src/hg/master/darwin/gcc/cobol/util.cc:2148:19: error:
'CLOCK_MONOTONIC' was not declared in this scope
 2148 |     clock_gettime(CLOCK_MONOTONIC, &now);
      |                   ^~~~~~~~~~~~~~~
/vol/gcc/src/hg/master/darwin/gcc/cobol/util.cc:2148:5: error: 'clock_gettime'
was not declared in this scope
 2148 |     clock_gettime(CLOCK_MONOTONIC, &now);
      |     ^~~~~~~~~~~~~

Reply via email to