Re: pg_crc32c_armv8.c:35:9: error: implicit declaration of function '__crc32cb' is invalid in C99
| От | Tom Lane |
|---|---|
| Тема | Re: pg_crc32c_armv8.c:35:9: error: implicit declaration of function '__crc32cb' is invalid in C99 |
| Дата | |
| Msg-id | 3570584.1676908033@sss.pgh.pa.us обсуждение |
| Ответ на | pg_crc32c_armv8.c:35:9: error: implicit declaration of function '__crc32cb' is invalid in C99 (Markur Sens <markursens@gmail.com>) |
| Ответы |
Re: pg_crc32c_armv8.c:35:9: error: implicit declaration of function '__crc32cb' is invalid in C99
|
| Список | pgsql-hackers |
Markur Sens <markursens@gmail.com> writes:
> I suddenly (?, IIRC a few days ago this worked fine) started getting the following error while trying to following
whilebuilding from source on Apple M1
> This is on REL_13_9 but happens to all other releases too.
> In file included from pg_crc32c_armv8.c:17:
> /Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include/arm_acle.h:14:2: error: "ACLE intrinsics support not
enabled."
> #error "ACLE intrinsics support not enabled."
> ^
> pg_crc32c_armv8.c:35:9: error: implicit declaration of function '__crc32cb' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
> crc = __crc32cb(crc, *p);
Hmph. Not seeing that here, on either my M1 laptop or sifaka's M1-mini
host (both running up-to-date Ventura). Nobody else has reported it
either. What configure options are you using? Any non-default
software involved (e.g. from MacPorts or Homebrew)?
regards, tom lane
В списке pgsql-hackers по дате отправления: