From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sergey Fedorov Newsgroups: gmane.lisp.guile.devel Subject: Re: Guile 3.0.10 fails to build for powerpc-darwin (3.0.9 built earlier) Date: Sun, 1 Sep 2024 16:43:49 +0800 Message-ID: References: <2C5781AA-8161-46E9-A525-A220B4398026@gmail.com> <75D8FC68-B975-4808-9552-9F8CE163D169@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006c69b706210ad3a3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29766"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org, Rob Browning To: Gordon Steemson Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Sep 01 10:44:43 2024 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1skgCR-0007db-1e for guile-devel@m.gmane-mx.org; Sun, 01 Sep 2024 10:44:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1skgBr-0003UQ-AS; Sun, 01 Sep 2024 04:44:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1skgBp-0003U8-Dp for guile-devel@gnu.org; Sun, 01 Sep 2024 04:44:05 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1skgBn-0002Fy-Lm for guile-devel@gnu.org; Sun, 01 Sep 2024 04:44:05 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2f401c20b56so35925511fa.0 for ; Sun, 01 Sep 2024 01:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725180241; x=1725785041; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aDV+3ba+geX4qbVTlIMBpjdJbus21lqfFh20jinsmM4=; b=QwCjC2NVpiPiLuu7I/G0tZVehUfXSXAZAMFpTSkUEaj/+xl7BDeLULqBDTD1HZXnX/ zsnxwsVIBn2fgQdniHt1mn2jilQ6N2kiuD7bbkqdmaiMW+MbLzRqE2lim9TSmHNSzOam xt0X5iX/BRS7AWVqyNMMKHTp9FaBP24ZzKNF0ohtN+pqoSjQKrOhSeVFOUklT/Ek7hnF ksAeHvzZb1OhgHyx9ZqjIFcjXfY7A/i7kXXZesYemKWKZXkf4ChBA1RXfz7Ius3FcX/4 d0FkvMe0PJeKRHXDKX/HWwpQkaUpQ4jpyKnxkji2ENwt1SroPB7xvblpAqFGHgctczC+ icsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725180241; x=1725785041; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aDV+3ba+geX4qbVTlIMBpjdJbus21lqfFh20jinsmM4=; b=JIaS6pkHOpeBUWW2uaR2yLte0HnbtRY3Q/71tB9kS9TP5MvLjzfHv3RPRjyAcroRtP //Mw7mV/T3SYLHIlzd+KqRVfwH6TgCjs0Jjl2FU216+0xNt+r68Qyv3Utc2YNuLuy9qD 6hs9U+hrxITXHu2h1ghnFTL1oNLCaqba5Yrg7xju+TMwwchvsPcD4k94h+pzqvsBXtJG GJBHKs4Yavr8HEUJkKbx54CqFLpzABD/toloe/0r4bU7RiT3mbNIinFDgn5dt2KWVPMw D30EUR1i15lZTNJEgL0bcFrpuzEUxx7qiSzUI50FpExbPLw0y9jgZsjE3IB2gzJg9S/y ukRw== X-Gm-Message-State: AOJu0YyO+g1uY22W+NvLR8TTmV/wcWZ5KrUkypzSxW3YjqXvoeALR4gf rO6WTshxlBQxhbQvQJFlWb6AYnOg0Cnt0KCZOMzSEFLVMgjH/wDNJruVumwmKwwF2lSSz9jSLQD io1aamUXdmOKxxmmz4LKPSjMmklB95XvQ X-Google-Smtp-Source: AGHT+IHDEJeYyXngbDP3zoZCTsjInK925nQGh3go5Zrex7t7INw3g3WRmKkDdTXp5CNhydufe8cmskLOjKHuFpPGqfE= X-Received: by 2002:a05:6512:108d:b0:52f:27e:a82e with SMTP id 2adb3069b0e04-5354633a520mr2742260e87.21.1725180240748; Sun, 01 Sep 2024 01:44:00 -0700 (PDT) In-Reply-To: <75D8FC68-B975-4808-9552-9F8CE163D169@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=vital.had@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22674 Archived-At: --0000000000006c69b706210ad3a3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Sep 1, 2024 at 3:09=E2=80=AFPM Gordon Steemson = wrote: > So, it won't build on 32-bit Mac OS... but not for any sane reason; > rather, it won't build because it's failing to pick up the appropriate > gnulib shims to make the 'environ' function visible. I mean, HOW? It > works just fine on 64-bit! Is this something that the ./configure script > does differently between the two? > Just in case, is it correctly defined? It should be this for Apple: ``` #include #define environ (*_NSGetEnviron()) ``` I.e. different from Linux one. > > > On Aug 31, 2024, at 10:45=E2=80=AFPM, Gordon Steemson > wrote: > > > > =EF=BB=BFHello all, > > > >> Date: Fri, 30 Aug 2024 21:27:16 -0500 > >> From: Rob Browning > >> > >> 3.0.10 does appear to be broken on 32-bit architectures: > >> https://buildd.debian.org/guile-3.0 > >> > >> So if that's what you have, you may need to stick with 3.0.9 for now. = I > >> plan to downgrade debian/unstable to 3.0.9 this weekend. > > > > I did get it to build for 32-bit as part of a multi-architecture ("fat > binary") build, using the old Apple GCC. I don't seem to have needed to = do > anything special to make it work, though I obviously do need to test > whether it will build 32-bit only. I will report back if any relevant > observations come up =E2=80=93 as noted, it=E2=80=99s a 13-hour build, so= this won=E2=80=99t be > immediate. > > > > Gordon S. > --0000000000006c69b706210ad3a3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Sep 1, 2024 at 3:09=E2=80=AFP= M Gordon Steemson <gsteemso@gmail.= com> wrote:
So, it won't build on 32-b= it Mac OS... but not for any sane reason; rather, it won't build becaus= e it's failing to pick up the appropriate gnulib shims to make the '= ;environ' function visible.=C2=A0 I mean, HOW?=C2=A0 It works just fine= on 64-bit!=C2=A0 Is this something that the ./configure script does differ= ently between the two?

Just in case, is= it correctly defined?
It should be this for Apple:
```
#include <crt_externs.h>
#define environ= (*_NSGetEnviron())
```
I.e. different from Linux o= ne.

=C2=A0

> On Aug 31, 2024, at 10:45=E2=80=AFPM, Gordon Steemson <gsteemso@gmail.com> wrot= e:
>
> =EF=BB=BFHello all,
>
>> Date: Fri, 30 Aug 2024 21:27:16 -0500
>> From: Rob Browning <rlb@defaultvalue.org>
>>
>> 3.0.10 does appear to be broken on 32-bit architectures:
>> https://buildd.debian.org/guile-3.0
>>
>> So if that's what you have, you may need to stick with 3.0.9 f= or now.=C2=A0 I
>> plan to downgrade debian/unstable to 3.0.9 this weekend.
>
> I did get it to build for 32-bit as part of a multi-architecture (&quo= t;fat binary") build, using the old Apple GCC.=C2=A0 I don't seem = to have needed to do anything special to make it work, though I obviously d= o need to test whether it will build 32-bit only.=C2=A0 I will report back = if any relevant observations come up =E2=80=93 as noted, it=E2=80=99s a 13-= hour build, so this won=E2=80=99t be immediate.
>
> Gordon S.
--0000000000006c69b706210ad3a3--