FreeBSD Bugzilla – Attachment 219152 Details for
Bug 250664
databases/galera26: ARM64/Aarch64 support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
galera26.patch (text/plain), 2.22 KB, created by
Mikael Urankar
on 2020-10-27 20:16:21 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Mikael Urankar
Created:
2020-10-27 20:16:21 UTC
Size:
2.22 KB
patch
obsolete
>Index: databases/galera26/Makefile >=================================================================== >--- databases/galera26/Makefile (revision 553476) >+++ databases/galera26/Makefile (working copy) >@@ -13,9 +13,6 @@ > > LICENSE= GPLv2 > >-BROKEN_aarch64= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' >-BROKEN_armv6= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' >-BROKEN_armv7= fails to compile: gu_int128.h: use of undeclared identifier '__bswap64_var' > NOT_FOR_ARCHS= i386 > # On i386 older versions of clang produce: > # cannot compile this atomic library call yet ... __atomic_add_fetch >Index: databases/galera26/files/patch-galerautils_src_gu__byteswap.h >=================================================================== >--- databases/galera26/files/patch-galerautils_src_gu__byteswap.h (nonexistent) >+++ databases/galera26/files/patch-galerautils_src_gu__byteswap.h (working copy) >@@ -0,0 +1,22 @@ >+--- galerautils/src/gu_byteswap.h.orig 2020-10-12 06:33:51 UTC >++++ galerautils/src/gu_byteswap.h >+@@ -54,10 +54,15 @@ static GU_FORCE_INLINE uint64_t GU_ROTL64 (uint64_t x, >+ # define gu_bswap32 _OSSwapInt32 >+ # define gu_bswap64 _OSSwapInt64 >+ #elif defined(__FreeBSD__) >+-/* do not use bswapXX, because gcc44 gives old-style cast warnings */ >+-# define gu_bswap16 __bswap16_var >+-# define gu_bswap32 __bswap32_var >+-# define gu_bswap64 __bswap64_var >++# if defined(__aarch64__) || defined(__arm__) >++# define gu_bswap16 bswap16 >++# define gu_bswap32 bswap32 >++# define gu_bswap64 bswap64 >++# else >++# define gu_bswap16 __bswap16_var >++# define gu_bswap32 __bswap32_var >++# define gu_bswap64 __bswap64_var >++# endif // __FreeBSD__ >+ #elif defined(__sun__) >+ # define gu_bswap16 BSWAP_16 >+ # define gu_bswap32 BSWAP_32 > >Property changes on: databases/galera26/files/patch-galerautils_src_gu__byteswap.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250664
:
219152
|
219153