From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.devel Subject: Re: compilation error on Apple M1 Date: Mon, 26 Dec 2022 00:58:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009f125b05f0afcc80" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6474"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Dec 26 00:59:22 2022 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 1p9atm-0001YO-D8 for guile-devel@m.gmane-mx.org; Mon, 26 Dec 2022 00:59:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9atI-0001Wg-4u; Sun, 25 Dec 2022 18:58:52 -0500 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 1p9atH-0001WK-24 for guile-devel@gnu.org; Sun, 25 Dec 2022 18:58:51 -0500 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9atF-00074B-41 for guile-devel@gnu.org; Sun, 25 Dec 2022 18:58:50 -0500 Original-Received: by mail-ej1-x631.google.com with SMTP id kw15so23345075ejc.10 for ; Sun, 25 Dec 2022 15:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=WPO6uknc59c7XV6q9mWTVmm4M7OcvWH3DEVOBbQ612s=; b=dTvoCL6RYMRjFnGN2y1XWd0Bo4O63Ezi6GWhEr+kmqQSrIsHkmvV7W3mxAVk60vWOl i/0HMhyF/O5H7Zrz/fx5awyMmoKZ38NKuLY69lwB2NpQmq6pk+B0i1pKRrXbC9c+DBj9 EULq4ySOTe9n0CcOoGXCUn9a7+k2I9OaQG8eqeRpaGHjTGnNLN2kZHKxfk63IU41JIXF XeJI5eLgBy5A4j8HBugWhJ691yP4MfwN7a4D3IK8aWBzW0B55YZzAgGsOLlvNIXm6EoA N7RfESEPtd+8+M4ZemQxz1ikKyuXcDX0m8qIMLmwsRSYTQetoJPTAjvcezsVoY7nP+PJ GaNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=WPO6uknc59c7XV6q9mWTVmm4M7OcvWH3DEVOBbQ612s=; b=JryGttqGUGqMLPCjh1IRRKyzcQmkwZwnFiwD1FcvzM+XuXTSbgEYjJlpsBCfr3v7QT MsOlO2+Kg9KF2MyUfVyDYyXWdoAGp9RCXIM9yElpuxC2ItlCyEvVADnhRvgn8qFV13Zk Ua+mzsNv57Je1FVusdTo7LVZ/KjLTfHL270dfqJVFuf7WOlUqFIMnCzEeuaISmg+DaEJ ezI9RH3jvaNGtqpHOuq+X4a85tjPkOFWfo1Ho3sSWnJ53KBg9AwzPjftm2Ioz46tv7UV tOXWJ9afRwmOPTDeM3zZRuNVqm1JXEE/4ctV/my07HAgTgxVerzDNNVbMU6E2IeKhu4Z wG/g== X-Gm-Message-State: AFqh2krWXkw8wNRFiXPg7gKPzc65LFgYq1O0mQVxGOUQZGL00x/wn3aW C4EsgfQ07CUmhGP+ZminI/hWEnapaZuxhpNCvoplbcP+KVE= X-Google-Smtp-Source: AMrXdXuHiOmdc5X0oUs7S5xj64bd7+C9IFuMr20cz6e1FHzGavxWAc0TH5LN21GbfvYbTDf2YZpM1zQoIn7y7H3yOwY= X-Received: by 2002:a17:906:f857:b0:835:57c9:6424 with SMTP id ks23-20020a170906f85700b0083557c96424mr2062294ejb.529.1672012726472; Sun, 25 Dec 2022 15:58:46 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=damien.mattei@gmail.com; helo=mail-ej1-x631.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 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:21528 Archived-At: --0000000000009f125b05f0afcc80 Content-Type: text/plain; charset="UTF-8" while trying to compile guile 3.0.7 on Apple M1... On Mon, Dec 26, 2022 at 12:32 AM Damien Mattei wrote: > hello, > > on Apple M1 i have this error: > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: > note: expanded from macro '__deprecated_msg' > #define __deprecated_msg(_msg) > __attribute__((__deprecated__(_msg))) > ^ > 1 warning generated. > CC libguile_3.0_la-net_db.lo > CC libguile_3.0_la-socket.lo > CC libguile_3.0_la-regex-posix.lo > CCLD libguile-3.0.la > Undefined symbols for architecture arm64: > "_iconv", referenced from: > _mem_cd_iconveh_internal in libgnu.a(striconveh.o) > (maybe you meant: _str_iconveh, _mem_iconveh , > _scm_port_acquire_iconv_descriptors , _iconveh_open , _iconveh_close , > _mem_cd_iconveh , _str_cd_iconveh , _scm_port_release_iconv_descriptors ) > "_iconv_close", referenced from: > _iconveh_open in libgnu.a(striconveh.o) > _iconveh_close in libgnu.a(striconveh.o) > "_iconv_open", referenced from: > _iconveh_open in libgnu.a(striconveh.o) > ld: symbol(s) not found for architecture arm64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[3]: *** [libguile-3.0.la] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > any idea about this arm64? > > regards, > Damien > --0000000000009f125b05f0afcc80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
whi= le trying to compile guile 3.0.7 on Apple M1...

On Mon, Dec 26, 20= 22 at 12:32 AM Damien Mattei <damien.mattei@gmail.com> wrote:
hello,

on Apple M1 i have this error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.pl= atform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expa= nded from macro '__deprecated_msg'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #= define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
1 warning generated.
=C2=A0 = CC =C2=A0 =C2=A0 =C2=A0 libguile_3.0_la-net_db.lo
=C2=A0 CC =C2=A0 =C2= =A0 =C2=A0 libguile_3.0_la-socket.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 libg= uile_3.0_la-regex-posix.lo
=C2=A0 CCLD =C2=A0 =C2=A0 libguile-3.0.la
Undefined symbols = for architecture arm64:
=C2=A0 "_iconv", referenced from:
= =C2=A0 =C2=A0 =C2=A0 _mem_cd_iconveh_internal in libgnu.a(striconveh.o)
= =C2=A0 =C2=A0 =C2=A0(maybe you meant: _str_iconveh, _mem_iconveh , _scm_por= t_acquire_iconv_descriptors , _iconveh_open , _iconveh_close , _mem_cd_icon= veh , _str_cd_iconveh , _scm_port_release_iconv_descriptors )
=C2=A0 &qu= ot;_iconv_close", referenced from:
=C2=A0 =C2=A0 =C2=A0 _iconveh_op= en in libgnu.a(striconveh.o)
=C2=A0 =C2=A0 =C2=A0 _iconveh_close in libg= nu.a(striconveh.o)
=C2=A0 "_iconv_open", referenced from:
= =C2=A0 =C2=A0 =C2=A0 _iconveh_open in libgnu.a(striconveh.o)
ld: symbol(= s) not found for architecture arm64
clang: error: linker command failed = with exit code 1 (use -v to see invocation)
make[3]: *** [libguile-3.0.la] Error 1
make= [2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: ***= [all] Error 2
=
any idea a= bout this arm64?

regards,=
Damien
--0000000000009f125b05f0afcc80--