FreeBSD Bugzilla – Attachment 153054 Details for
Bug 196399
databases/mariadb100-server: MariaDB daemon segfaults when built with clang 3.4 on 10.1-i386
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Disable C11 atomics for i386, and use builtins instead
databases__mariadb100-fix-atomics-choice-1.diff (text/plain), 2.38 KB, created by
Dimitry Andric
on 2015-02-16 19:30:24 UTC
(
hide
)
Description:
Disable C11 atomics for i386, and use builtins instead
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-02-16 19:30:24 UTC
Size:
2.38 KB
patch
obsolete
>Index: databases/mariadb100-client/files/patch-include_atomic_gcc_builtins.h >=================================================================== >--- databases/mariadb100-client/files/patch-include_atomic_gcc_builtins.h (revision 0) >+++ databases/mariadb100-client/files/patch-include_atomic_gcc_builtins.h (working copy) >@@ -0,0 +1,11 @@ >+--- include/atomic/gcc_builtins.h.orig 2015-01-25 16:21:36.000000000 +0100 >++++ include/atomic/gcc_builtins.h 2015-02-16 19:29:36.408476000 +0100 >+@@ -31,7 +31,7 @@ >+ #define make_atomic_store_body(S) *a= v >+ #define MY_ATOMIC_MODE "gcc-builtins-up" >+ >+-#elif defined(__ATOMIC_SEQ_CST) >++#elif defined(__ATOMIC_SEQ_CST) && !defined(__i386__) >+ #define MY_ATOMIC_MODE "gcc-builtins-smp" >+ #define make_atomic_load_body(S) \ >+ ret= __atomic_load_n(a, __ATOMIC_SEQ_CST) > >Property changes on: databases/mariadb100-client/files/patch-include_atomic_gcc_builtins.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:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: databases/mariadb100-server/files/patch-include_atomic_gcc_builtins.h >=================================================================== >--- databases/mariadb100-server/files/patch-include_atomic_gcc_builtins.h (revision 0) >+++ databases/mariadb100-server/files/patch-include_atomic_gcc_builtins.h (working copy) >@@ -0,0 +1,11 @@ >+--- include/atomic/gcc_builtins.h.orig 2015-01-25 16:21:36.000000000 +0100 >++++ include/atomic/gcc_builtins.h 2015-02-16 19:29:36.408476000 +0100 >+@@ -31,7 +31,7 @@ >+ #define make_atomic_store_body(S) *a= v >+ #define MY_ATOMIC_MODE "gcc-builtins-up" >+ >+-#elif defined(__ATOMIC_SEQ_CST) >++#elif defined(__ATOMIC_SEQ_CST) && !defined(__i386__) >+ #define MY_ATOMIC_MODE "gcc-builtins-smp" >+ #define make_atomic_load_body(S) \ >+ ret= __atomic_load_n(a, __ATOMIC_SEQ_CST) > >Property changes on: databases/mariadb100-server/files/patch-include_atomic_gcc_builtins.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: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 196399
:
153052
| 153054 |
156786
|
156787