public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Le Cuirot <chewi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no
Date: Sat, 18 Dec 2021 15:35:29 +0000	[thread overview]
Message-ID: <4291a56ee0d08b3bc1d122487adfebdfdb146b80.camel@gentoo.org> (raw)
In-Reply-To: <20211217144135.20907-1-floppym@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

On Fri, 2021-12-17 at 09:41 -0500, Mike Gilbert wrote:
> This is intended to prevent packages from automatically switching to
> 64-bit time_t on 32-bit ABIs. Making this switch in an uncontrolled
> manner will lead to inconsistent library ABIs that fail at runtime.
> 
> At a later time, we will introduce new profiles to enable 64-bit time_t
> distro-wide.
> 
> https://wiki.gentoo.org/wiki/Project:Toolchain/time64_migration
> 
> Bug: https://bugs.gentoo.org/828001
> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
> ---
>  profiles/default/linux/make.defaults | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults
> index 6ae7cf297cf..53ace7e229c 100644
> --- a/profiles/default/linux/make.defaults
> +++ b/profiles/default/linux/make.defaults
> @@ -53,3 +53,7 @@ VIDEO_CARDS="dummy fbdev v4l"
>  # Note that adding LDFLAGS="-Wl,-O1 ${LDFLAGS}" breaks dev-util/boost-build
>  # because of whitespace.
>  LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> +
> +# Mike Gilbert <floppym@gentoo.org> (2021-12-17)
> +# Prevent automagic use of 64-bit time_t.
> +gl_cv_type_time_t_bits_macro="no"

What will we do about other build systems? I worry they won't have a
consistent approach for all projects.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 858 bytes --]

  parent reply	other threads:[~2021-12-18 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-17 14:41 [gentoo-dev] [PATCH] profiles/default/linux: set gl_cv_type_time_t_bits_macro=no Mike Gilbert
2021-12-17 19:29 ` Alec Warner
2021-12-18 15:35 ` James Le Cuirot [this message]
2021-12-18 15:54   ` Mike Gilbert

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=4291a56ee0d08b3bc1d122487adfebdfdb146b80.camel@gentoo.org \
    --to=chewi@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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