From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Woodbury Newsgroups: gmane.lisp.guile.devel Subject: Re: compilation error on Apple M1 Date: Sun, 25 Dec 2022 21:45:34 -0800 Message-ID: References: Mime-Version: 1.0 (1.0) Content-Type: multipart/alternative; boundary=Apple-Mail-B18EA746-0804-4B37-AF81-77B15C504903 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36494"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel To: Damien Mattei Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Dec 26 06:46:25 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 1p9gJb-0009I6-MI for guile-devel@m.gmane-mx.org; Mon, 26 Dec 2022 06:46:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9gJ1-00016U-SW; Mon, 26 Dec 2022 00:45:47 -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 1p9gIx-00016I-R2 for guile-devel@gnu.org; Mon, 26 Dec 2022 00:45:44 -0500 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9gIu-0003wk-G9 for guile-devel@gnu.org; Mon, 26 Dec 2022 00:45:43 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 021F832009B1; Mon, 26 Dec 2022 00:45:36 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 26 Dec 2022 00:45:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fosskers.ca; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1672033536; x= 1672119936; bh=hcVUTwkV5rkaVftxYGAc4oByr9zdZRj3tdh5/oC4mss=; b=m a6TuHkruRVgYs0DT+JfnvuMS1eoEIOUGUWWuO7+bGE11Whj0M43yefPZiMzKw6It g6HtXw9U7dGKquDQMc72+ohQCYrJrh/AyMq5M/QTubzloHeIdRPE1PBV7xuZft1c jn7aY3pS8jFOwDACoTfVdDt42Ottl+xTODyYFj6fOp3qAkGayqnGAtQZ7jpE6la0 6oACmTlKQOiq8XN8MW/eCNGbICFDfRG8/lpYtDYU/F6+XTP9q5XI8b8PoYdBFvxA bKmwCGku0b2b/XhgV1fejSn6yM6SOtBbxQw4BpjeCc1zit+eNCafabjOQuAArTq5 b6SxF6DlPBrBqO6C4ywyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1672033536; x= 1672119936; bh=hcVUTwkV5rkaVftxYGAc4oByr9zdZRj3tdh5/oC4mss=; b=J 1BMvibDFEpqcqg4v3dVK+u6WpkYAf3LIpmyO5Zhypmf9HLAUxnEk1/XH08zeSDLq o5GqZfFYUsJw+CKJ3BcLPG6r60CrD8tPwQSTYJ6mPF+MZjl/xZq5PROfcohdWcoZ GSXMR4sk3HXFFnmXE/Ns4VUfOoiJpZYeMeBi/OABaepU7mH9ehKuC5HZefCpRLKb hp4ULVFQuBDtxXa/0FalDE+W5W20WVmJpGVCj51lVZSSA6cEU9DzBydf6yhrg2q5 JAAZW0QO1PnFI0QR5CHrKlW/pl6HHUj5tNGWb9GxonbaHtu9G+NcCxor2eQGl0ci fTtBNlXTvFk8Ph1OeTJ8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrheejgdekiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtgffhggfufffkfhevjgfvofesrgejmherhhdtjeenucfhrhhomhepveholhhi nhcuhghoohgusghurhihuceotgholhhinhesfhhoshhskhgvrhhsrdgtrgeqnecuggftrf grthhtvghrnhephfeftdelveekffdvleehieeuvdejudeljeeugeduheejieeuheekieev ffdvveeinecuffhomhgrihhnpeigtghouggvrdgrphhppddtrdhlrgenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhlihhnsehfohhsshhk vghrshdrtggr X-ME-Proxy: Feedback-ID: iaef144a3:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 26 Dec 2022 00:45:36 -0500 (EST) In-Reply-To: X-Mailer: iPhone Mail (19H117) Received-SPF: none client-ip=64.147.123.24; envelope-from=colin@fosskers.ca; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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:21529 Archived-At: --Apple-Mail-B18EA746-0804-4B37-AF81-77B15C504903 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable A fix for M1 chips was recently added to the master branch. Can you try comp= iling that instead of 3.0.7? iPhone=E3=81=8B=E3=82=89=E9=80=81=E4=BF=A1 > 2022/12/25 15:59=E3=80=81Damien Mattei =E3=81=AE=E3= =83=A1=E3=83=BC=E3=83=AB: >=20 > =EF=BB=BF > while trying to compile guile 3.0.7 on Apple M1... >=20 >> On Mon, Dec 26, 2022 at 12:32 AM Damien Mattei w= rote: >> hello, >>=20 >> on Apple M1 i have this error: >>=20 >> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Deve= loper/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from ma= cro '__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_ico= nv_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 invoc= ation) >> make[3]: *** [libguile-3.0.la] Error 1 >> make[2]: *** [all] Error 2 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >>=20 >> any idea about this arm64? >>=20 >> regards, >> Damien --Apple-Mail-B18EA746-0804-4B37-AF81-77B15C504903 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable A fix for M1 chips was recently added to th= e master branch. Can you try compiling that instead of 3.0.7?

iPhone=E3=81=8B=E3=82=89=E9=80=81=E4=BF=A1
<= br>
2022/12/25 15:59=E3=80=81Damien Mattei <dami= en.mattei@gmail.com>=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB:

=EF=BB=BF
while trying to c= ompile guile 3.0.7 on Apple M1...

On Mon, Dec 26, 2022 at 12:32 AM D= amien Mattei <damien.mattei@gm= ail.com> wrote:
hello,

on Apple M1 i have t= his error:
<= br>
/Application= s/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacO= SX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecat= ed_msg'
        #define __deprecated_msg(_msg) __attr= ibute__((__deprecated__(_msg)))
           =                      = ;                     ^1 warning generated.
  CC       libguile_3.0_la-net_= db.lo
  CC       libguile_3.0_la-socket.lo
  C= C       libguile_3.0_la-regex-posix.lo
  CCLD   &= nbsp; libguile-3.0.la
Undefined symbols for architecture arm64:
  "_iconv", referenc= ed from:
      _mem_cd_iconveh_internal in libgnu.a(strico= nveh.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 )
&nb= sp; "_iconv_close", referenced from:
      _iconveh_open i= n libgnu.a(striconveh.o)
      _iconveh_close in libgnu.a(= striconveh.o)
  "_iconv_open", referenced from:
    &nb= sp; _iconveh_open in libgnu.a(striconveh.o)
ld: symbol(s) not found for a= rchitecture arm64
clang: error: linker command failed with exit code 1 (u= se -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
= --Apple-Mail-B18EA746-0804-4B37-AF81-77B15C504903--