Opened 8 years ago
Closed 7 years ago
#52050 closed defect (fixed)
libsodium @1.0.11: error: passing '__m128i' to parameter of incompatible type 'const __m128i *'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | lion | Cc: | |
Port: | libsodium |
Description
libsodium @1.0.11 fails to build:
crypto_generichash/blake2/ref/blake2b-compress-avx2.c:38:5: error: passing '__m128i' to parameter of incompatible type 'const __m128i *' BLAKE2B_COMPRESS_V1(a, b, block, S->t[0], S->t[1], S->f[0], S->f[1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://build.macports.org/builders/ports-10.7_x86_64_legacy-builder/builds/2091
Maybe Lion's version of clang is too old and needs to be blacklisted.
Change History (4)
comment:1 Changed 7 years ago by kencu (Ken)
comment:3 Changed 7 years ago by kencu (Ken)
I have submitted <https://github.com/macports/macports-ports/pull/638> to fix this.
comment:4 Changed 7 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This seems to block the build of widelands and widelands-devel on 10.7 as well. I can build libsodium with macports-clang-3.7+ without any trouble. I don't have anything lower installed.
I guess libsodium built with whatever macos 10.8 provides... according to <https://trac.macports.org/wiki/XcodeVersionInfo> that was last noted to be to following, which is what I assume the buildbots have installed:
so blacklisting clang < 503 should do it, I think. For sure blacklisting clang < 700 would work, but that might trigger a lot of clang installs that are unnecessary.