public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug modula2/113749] [14 Regression] m2 enabled build times out on i686-gnu (GNU Hurd)
Date: Sun, 25 Feb 2024 11:09:18 +0000	[thread overview]
Message-ID: <bug-113749-4-9vjnOjjR9Z@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113749-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <gaius@gcc.gnu.org>:

https://gcc.gnu.org/g:d1b241b9506cdc0ebd3f43d12cf77d7c33271342

commit r14-9167-gd1b241b9506cdc0ebd3f43d12cf77d7c33271342
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Sun Feb 25 11:08:37 2024 +0000

    PR modula2/113749 m2 enabled build times out on i686-gnu-hurd

    The bug fix changes the FIO module to use the target O_RDONLY,
    O_WRONLY, SEEK_SET and SEEK_END (now available from the module wrapc).
    Also rebuilt are the bootstrap tools mc and pge as they have their
    own wrapc and C translations of FIO.

    gcc/m2/ChangeLog:

            PR modula2/113749
            * Make-lang.in (BUILD-PGE-O): Add m2/pge-boot/Gwrapc.o.
            * gm2-libs-ch/wrapc.c (wrapc_SeekSet): New function.
            (wrapc_SeekEnd): Ditto.
            (wrapc_ReadOnly): Ditto.
            (wrapc_WriteOnly): Ditto.
            * gm2-libs/FIO.mod (SEEK_SET): Remove.
            (SEEK_END): Remove.
            (UNIXREADONLY): Remove.
            (UNIXWRITEONLY): Remove.
            (ConnectToUnix): Replace UNIXWRITEONLY with a call to WriteOnly.
            Replace UNIXREADONLY with a call to ReadOnly.
            (SetPositionFromBeginning): Replace SEEK_SET with a call to
            SeekSet.
            (SetPositionFromEnd): Replace SEEK_END with a call to
            SeekEnd.
            * gm2-libs/wrapc.def (SeekSet): New procedure function.
            (SeekEnd): New procedure function.
            (ReadOnly): New procedure function.
            (WriteOnly): New procedure function.
            * mc-boot-ch/Glibc.c (BUILD_MC_LIBC_TRACE): Undef.
            (check_init): New function.
            (tracedb): Ditto.
            (tracedb_open): Ditto.
            (tracedb_result): Ditto.
            (libc_read): Ditto.
            (libc_write): Ditto.
            (libc_close): Ditto.
            (libc_creat): Ditto.
            (libc_open): Ditto.
            (libc_lseek): Ditto.
            * mc-boot-ch/Gwrapc.c (wrapc_SeekSet): New function.
            (wrapc_SeekEnd): Ditto.
            (wrapc_ReadOnly): Ditto.
            (wrapc_WriteOnly): Ditto.
            * mc-boot/GDynamicStrings.cc: Rebuilt.
            * mc-boot/GFIO.cc: Ditto.
            * mc-boot/GIndexing.cc: Ditto.
            * mc-boot/GM2Dependent.cc: Ditto.
            * mc-boot/GM2EXCEPTION.cc: Ditto.
            * mc-boot/GPushBackInput.cc: Ditto.
            * mc-boot/GRTExceptions.cc: Ditto.
            * mc-boot/GRTint.cc: Ditto.
            * mc-boot/GSArgs.cc: Ditto.
            * mc-boot/GStdIO.cc: Ditto.
            * mc-boot/GStringConvert.cc: Ditto.
            * mc-boot/GSysStorage.cc: Ditto.
            * mc-boot/Gdecl.cc: Ditto.
            * mc-boot/Gkeyc.cc: Ditto.
            * mc-boot/Glibc.h: Ditto.
            * mc-boot/GmcComment.cc: Ditto.
            * mc-boot/GmcComp.cc: Ditto.
            * mc-boot/GmcDebug.cc: Ditto.
            * mc-boot/GmcMetaError.cc: Ditto.
            * mc-boot/GmcStack.cc: Ditto.
            * mc-boot/GmcStream.cc: Ditto.
            * mc-boot/GnameKey.cc: Ditto.
            * mc-boot/GsymbolKey.cc: Ditto.
            * mc-boot/Gvarargs.cc: Ditto.
            * mc-boot/Gwrapc.h: Ditto.
            * mc/decl.mod (getSymName): Add pointerref clause.
            * mc/mcStream.mod (copy): Check for an error after every read.
            * mc/varargs.mod (copy): Rewrite pointer arithmetic using INC to
            avoid type incompatibility.
            * pge-boot/GDynamicStrings.cc: Rebuilt.
            * pge-boot/GDynamicStrings.h: Ditto.
            * pge-boot/GFIO.cc: Ditto.
            * pge-boot/GFIO.h: Ditto.
            * pge-boot/GIO.cc: Ditto.
            * pge-boot/GIndexing.cc: Ditto.
            * pge-boot/GM2Dependent.cc: Ditto.
            * pge-boot/GM2EXCEPTION.cc: Ditto.
            * pge-boot/GNameKey.cc: Ditto.
            * pge-boot/GPushBackInput.cc: Ditto.
            * pge-boot/GRTExceptions.cc: Ditto.
            * pge-boot/GStdIO.cc: Ditto.
            * pge-boot/GSymbolKey.cc: Ditto.
            * pge-boot/GSysStorage.cc: Ditto.
            * pge-boot/Glibc.h: Ditto.
            * pge-boot/Gwrapc.cc: Ditto.
            * pge-boot/Gwrapc.h: Ditto.

    libgm2/ChangeLog:

            PR modula2/113749
            * libm2pim/wrapc.cc: Include fcntl.h.
            (SeekSet): New function.
            (SeekEnd): Ditto.
            (ReadOnly): Ditto.
            (WriteOnly): Ditto.

    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

  parent reply	other threads:[~2024-02-25 11:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-03 18:43 [Bug modula2/113749] New: " doko at gcc dot gnu.org
2024-02-05  9:02 ` [Bug modula2/113749] " rguenth at gcc dot gnu.org
2024-02-06 11:10 ` gaius at gcc dot gnu.org
2024-02-22 21:19 ` gaius at gcc dot gnu.org
2024-02-22 23:15 ` samuel.thibault@ens-lyon.org
2024-02-24  1:55 ` gaius at gcc dot gnu.org
2024-02-24  3:14 ` gaius at gcc dot gnu.org
2024-02-25 11:09 ` cvs-commit at gcc dot gnu.org [this message]
2024-02-25 11:13 ` gaius at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113749-4-9vjnOjjR9Z@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).