unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Colin Woodbury <colin@fosskers.ca>
To: Damien Mattei <damien.mattei@gmail.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: compilation error on Apple M1
Date: Sun, 25 Dec 2022 21:45:34 -0800	[thread overview]
Message-ID: <A629A778-A5E6-475A-A63F-E6436B674190@fosskers.ca> (raw)
In-Reply-To: <CADEOade==fMXN6f4F+i+n6b0MV3VeHEf5PQ0tv=VS2w-ohfjzQ@mail.gmail.com>

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

A fix for M1 chips was recently added to the master branch. Can you try compiling that instead of 3.0.7?

iPhoneから送信

> 2022/12/25 15:59、Damien Mattei <damien.mattei@gmail.com>のメール:
> 
> 
> while trying to compile guile 3.0.7 on Apple M1...
> 
>> On Mon, Dec 26, 2022 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.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

[-- Attachment #2: Type: text/html, Size: 3393 bytes --]

  reply	other threads:[~2022-12-26  5:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-25 23:32 compilation error on Apple M1 Damien Mattei
2022-12-25 23:58 ` Damien Mattei
2022-12-26  5:45   ` Colin Woodbury [this message]
2022-12-26  7:40 ` Aleix Conchillo Flaqué
2022-12-26 11:13   ` Damien Mattei
  -- strict thread matches above, loose matches on Subject: below --
2022-12-26 13:19 dsmich
     [not found] <2a517d79541e8c54b889639b3290b0eefd7dc22b@webmail>
2022-12-26 23:35 ` Damien Mattei

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A629A778-A5E6-475A-A63F-E6436B674190@fosskers.ca \
    --to=colin@fosskers.ca \
    --cc=damien.mattei@gmail.com \
    --cc=guile-devel@gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).