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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tschwinge at gcc dot gnu.org

--- Comment #18 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Noticed by chance:

(In reply to CVS Commits from comment #15)
> commit r13-7716-ga11ca333df2b6abb4187b39f32bb35a195d8fb33
> Author: Gaius Mulley <gaiusm...@gmail.com>
> Date:   Sat Aug 12 20:20:45 2023 +0100
> 
>     PR modula2/110779 SysClock can not read the clock (Darwin fixes)
>     
>     This patch adds corrections to defensively check against glibc
>     functions, structures and contains fallbacks.  These fixes were
>     required under Darwin.

>     libgm2/ChangeLog:
>     
>             PR modula2/110779

>             * configure.ac: Provide special case test for Darwin cross
>             configuration.

That's 'GLIBCXX_IS_NATIVE' -- but that's then not actually used anywhere?

>             (GLIBCXX_CONFIGURE): New statement.
>             (GLIBCXX_CHECK_GETTIMEOFDAY): New statement.
>             (GLIBCXX_ENABLE_LIBSTDCXX_TIME): New statement.

But without actual definitions; spotted during libgm2 'configure':

    [...]
    checking target system type... powerpc64le-unknown-linux-gnu
    [...]/source-gcc/libgm2/configure: line 4013: GLIBCXX_CONFIGURE: command
not found
    [...]/source-gcc/libgm2/configure: line 4016: GLIBCXX_CHECK_GETTIMEOFDAY:
command not found
    [...]/source-gcc/libgm2/configure: line 4019:
GLIBCXX_ENABLE_LIBSTDCXX_TIME: command not found
    checking for a BSD-compatible install... /usr/bin/install -c
    [...]

Reply via email to