commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] MIG branch, master, updated. v1.8-32-g403007d


From: Samuel Thibault
Subject: [SCM] MIG branch, master, updated. v1.8-32-g403007d
Date: Sun, 12 Feb 2023 13:44:39 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".

The branch, master has been updated
       via  403007dc55222d4ca1120dd7730baa7579d12d88 (commit)
      from  d76280e4fc71265b88bce2bdaf25b3be846fc6b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 403007dc55222d4ca1120dd7730baa7579d12d88
Author: Sergey Bugaev <bugaevc@gmail.com>
Date:   Sun Feb 12 14:10:38 2023 +0300

    Drop -undef -ansi from cpp flags
    
    Since GNU Mach commit d30481122a5d24ad6b921062f93b9172ef922fc3,
    i386/machine_types.defs defines types based on defined(__x86_64__).
    Supressing the built-in macro definitions will now result in the wrong
    type being silently selected.
    
    -undef was initially introduced in commit
    78b6a7665db7b2eae367e17102821cbdca231d19 without much of an explanation.
    -ansi was introduced in commit 6940fb91859e46b2e96a331a029f2dc2a0ee51c9
    "to avoid -Di386=1 and the like".
    
    Since glibc has been using MIG with CPP set to a custom GCC invocation
    which did *not* use either flag, it appears that everything works well
    enough even without them. On the other hand, not having __x86_64__
    defined most definetely causes issues for anything that does not set a
    custom CPP when invoking MIG (i.e., most users). Other built-in
    definitions could be used in the future in a similar way (e.g. on other
    architectures); it's really more of a coincidence that they have not
    been used until now, and things kept working with -undef.
    Message-Id: <20230212111044.610942-8-bugaevc@gmail.com>

-----------------------------------------------------------------------

Summary of changes:
 mig.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
MIG



reply via email to

[Prev in Thread] Current Thread [Next in Thread]