Forum for Linux distributions to discuss problems and share PSAs
 help / color / mirror / Atom feed
From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
To: "Andreas K. Huettel" <dilfridge@gentoo.org>
Cc: libc-alpha@sourceware.org, binutils@sourceware.org,
	gcc@gcc.gnu.org, config-patches@gnu.org,
	distributions@lists.linux.dev, devel@lists.fedoraproject.org,
	glaubitz@debian.org, maskray@google.com,
	dickey@invisible-island.net, toolchain@gentoo.org
Subject: Re: Proposed CHOST change for the 64bit time_t transition
Date: Wed, 4 Sep 2024 19:32:38 -0500	[thread overview]
Message-ID: <Ztj8JtJ638FHPW_3@dj3ntoo> (raw)
In-Reply-To: <4996568.GXAFRqVoOG@noumea>

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

On Wed, Sep 04, 2024 at 17:48:04 +0200, Andreas K. Huettel wrote:
> Dear all, 
> 
> in Gentoo Linux we want to change our CHOST triplets for 32-bit glibc systems that use 64-bit time_t, since
> this is technically an ABI change which breaks binary compatibility [1].
> 
> We are thinking of adding a "t64" suffix to the ABI field, resulting in for example i686-pc-linux-gnut64,
> armv7a-unknown-linux-gnueabihft64, ... [2]
> 
> * So far my research indicates that in the GNU toolchain (gcc, glibc, binutils) anything behind -gnu is 
>   ignored (as ABI version, which this effectively is too). Is this correct or do you foresee problems here?
>   I've had a small chroot rebuild itself (the Gentoo @system set) with i686-pc-linux-gnut64 and only had to
>   add a minor patch to ncurses [3]; everything else worked fine.
> 

...

> [3] https://bpa.st/HV6BS

FYI, this paste expires in 1 week. Here's the contents:

diff '--color=auto' -ruN ncurses-6.4.orig/aclocal.m4 ncurses-6.4/aclocal.m4
--- ncurses-6.4.orig/aclocal.m4	2024-08-29 20:47:34.978057133 +0000
+++ ncurses-6.4/aclocal.m4	2024-08-29 20:48:57.809473044 +0000
@@ -10139,7 +10139,7 @@
 	cf_xopen_source="-D_SGI_SOURCE"
 	cf_XOPEN_SOURCE=
 	;;
-(linux*gnu|linux*gnuabi64|linux*gnuabin32|linux*gnueabi|linux*gnueabihf|linux*gnux32|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
+(linux*gnu*|uclinux*|gnu*|mint*|k*bsd*-gnu|cygwin|msys|mingw*|linux*uclibc)
 	CF_GNU_SOURCE($cf_XOPEN_SOURCE)
 	;;
 (minix*)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-09-05  0:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-04 15:48 Proposed CHOST change for the 64bit time_t transition Andreas K. Huettel
2024-09-05  0:32 ` Oskari Pirhonen [this message]
2024-09-05  2:06 ` Wookey
2024-09-05  3:10   ` Khem Raj
2024-09-05 13:50     ` Andreas K. Huettel
2024-09-05 15:39       ` Paul Eggert
2024-09-05 16:33         ` Todd Vierling
2024-09-05 16:59           ` Andreas K. Huettel
2024-09-05 17:03         ` Andreas K. Huettel
2024-09-05 18:20           ` Paul Eggert
2024-09-05 21:54             ` Andreas K. Huettel
2024-09-06 16:06         ` Arsen Arsenović
2024-09-07  0:24           ` Bruno Haible
2024-09-07 11:52             ` Arsen Arsenović
2024-09-07  0:16         ` Bruno Haible
2024-09-08 14:08           ` Arsen Arsenović
2024-09-08 23:42             ` Jacob Bachmeyer
2024-09-09 23:08               ` Arsen Arsenović
2024-09-10 10:16                 ` Andreas K. Huettel
2024-09-10 14:11                   ` Todd Vierling
2024-09-10 16:23             ` Florian Weimer
2024-09-05 16:39       ` Khem Raj
2024-09-05 13:49   ` Andreas K. Huettel
2024-09-07 12:32   ` Michał Górny

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=Ztj8JtJ638FHPW_3@dj3ntoo \
    --to=xxc3ncoredxx@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=config-patches@gnu.org \
    --cc=devel@lists.fedoraproject.org \
    --cc=dickey@invisible-island.net \
    --cc=dilfridge@gentoo.org \
    --cc=distributions@lists.linux.dev \
    --cc=gcc@gcc.gnu.org \
    --cc=glaubitz@debian.org \
    --cc=libc-alpha@sourceware.org \
    --cc=maskray@google.com \
    --cc=toolchain@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