| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The workaround is to use __atomic_test_and_set instead of
__atomic_thread_fence in case of option -fsanitize=thread is passed
to gcc (or clang). The old behavior could be turned on by defining
AO_USE_ATOMIC_THREAD_FENCE macro.
* src/atomic_ops/sysdeps/gcc/generic.h [!AO_UNIPROCESSOR
&& AO_THREAD_SANITIZER && !AO_USE_ATOMIC_THREAD_FENCE] (AO_nop_read,
AO_nop_write, AO_nop_full): Do not define (using
__atomic_thread_fence); add comment.
|
|
|
|
|
|
|
|
|
|
| |
* CMakeLists.txt (PACKAGE_VERSION): Bump version to 7.9.0.
* .appveyor.yml (version): Likewise.
* .travis.yml (env.addons.coverity_scan.project.version): Likewise.
* README.md: Likewise.
* configure.ac (AC_INIT): Likewise.
* src/atomic_ops/ao_version.h (AO_VERSION_MINOR): Likewise.
* README.md: Add back the build status indicators for "master" branch.
|
|
|
|
|
|
|
|
| |
New tools version to prepare the distributive tarball:
- autoconf 2.71 (was 2.69)
- automake 1.16.5
- m4 1.4.19 (was 1.4.18)
- libtool 2.4.7 (was 2.4.6, needed to build automake)
|
|
|
|
|
|
| |
This reverts commit b4624c1b196616bb059451448b2593686dabc0b9.
The reason is that travis deployment script is not yet ported to Jammy.
|
|
|
|
|
|
|
| |
This reverts commit 8c5c50e05cf9b3c892911cd9a60095906fe21d98.
The reason is that it does not resolve the gem versioning issue
between Ruby and mime-types.
|
|
|
|
|
|
|
| |
This reverts commit 7f731c96672c6be37b9da54c26a7fafa64407a89.
The reason is that it does not resolve the gem versioning issue
between Ruby and mime-types.
|
|
|
|
|
| |
This is another attempt to resolve a gem versioning issue between
Ruby 3.0 and mime-types 3.2.2, now by using older Ruby (2.7.7).
|
|
|
|
|
| |
This is to resolve a gem versioning issue between Ruby 3.0 and
mime-types 3.2.2 by updating the latter to 3.3.1 or above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bump libatomic_ops version to 7.8.0.
* CMakeLists.txt (PACKAGE_VERSION): Bump version to 7.8.0.
* ChangeLog (7.7.0): Likewise.
* README.md: Likewise.
* configure.ac (AC_INIT): Likewise.
* src/atomic_ops/ao_version.h (AO_VERSION_MINOR): Likewise.
* .travis.yml (env.addons.coverity_scan.project.version): Likewise.
* .appveyor.yml (version): Change to 7.8.x.
* CMakeLists.txt (LIBATOMIC_OPS_VER_INFO, LIBATOMIC_OPS_GPL_VER_INFO):
Change to 3:0:2.
* src/Makefile.am (LIBATOMIC_OPS_VER_INFO, LIBATOMIC_OPS_GPL_VER_INFO):
Likewise.
* ChangeLog (7.8.0): Set release date.
* README.md: Remove build status indicators for "master" branch.
|
| |
|
| |
|
| |
|
|
|
|
| |
The default gcc is gcc-11 in Jammy release.
|
|
|
|
| |
(fix of commit 3e00e6b4)
|
| |
|
| |
|
|
|
|
| |
Autoconf 2.71 is the default package version in dist jammy.
|
|
|
|
| |
* configure.ac (AC_PROG_INSTALL): Specify.
|
|
|
|
|
|
| |
This reverts commit f94d1939f7806ce337bec37fed0e3db14caa050f.
The reason: LGTM badges are no longer supported.
|
|
|
|
|
|
| |
* CMakeLists.txt [enable_docs] (CMAKE_INSTALL_DOCDIR): Add "ChangeLog"
entry.
* Makefile.am [ENABLE_DOCS] (dist_doc_DATA): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use check_linker_flag() and LINKER prefix in CMakeLists.txt.
This fixes the linker error that "--no-undefined" option is unknown,
at least with apple-clang 13.0.
* CMakeLists.txt [CMP0057] (CMP0057): Set to NEW.
* CMakeLists.txt [$CMAKE_VERSION<3.18.0]: Include CheckLinkerFlag.
* CMakeLists.txt [BUILD_SHARED_LIBS] (WL_NO_UNDEFINED_OPT): New
variable.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.18.0]
(WL_NO_UNDEFINED_OPT): Use "LINKER:" prefix.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.18.0]
(HAVE_FLAG_WL_NO_UNDEFINED): Use check_linker_flag(C) instead of
check_c_compiler_flag.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION<3.13.0]
(atomic_ops): Use $WL_NO_UNDEFINED_OPT.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION<3.13.0
&& enable_gpl] (atomic_ops_gpl): Likewise.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.13.0]
(atomic_ops): Use target_link_options instead of
target_link_libraries; remove TODO item.
* CMakeLists.txt [BUILD_SHARED_LIBS && $CMAKE_VERSION>=3.13.0
&& enable_gpl] (atomic_ops_gpl): Likewise.
|
|
|
|
|
|
| |
* CMakeLists.txt (LIBATOMIC_OPS_GPL_VER_INFO): Increment current and
age (change version info of libcord.so to 2:3:1).
* src/Makefile.am (LIBATOMIC_OPS_GPL_VER_INFO): Likewise.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(refactoring)
* CMakeLists.txt (src): Remove include_directories specification.
* CMakeLists.txt (atomic_ops): Specify path to "src" as public.
* CMakeLists.txt [enable_gpl] (atomic_ops_gpl): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
(refactoring)
* CMakeLists.txt [build_tests] (test_atomic_generalized): Change
target_compile_definitions() to target_compile_definitions() and
remove "-D" prefix for each defined macro.
* CMakeLists.txt [build_tests && CMAKE_USE_PTHREADS_INIT]
(test_atomic_pthreads): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(refactoring)
According to the CMake manual, add_definitions() has been superseded
by alternatives like add_compile_definitions().
* CMakeLists.txt (add_definitions): Replace to add_compile_options;
remove quotes.
* CMakeLists.txt [enable_assertions] (add_compile_options): Remove
quotes.
|
|
|
|
|
|
|
|
| |
(refactoring)
* CMakeLists.txt [enable_gpl] (atomic_ops_gpl): Use
target_compile_definitions() to define HAVE_MMAP instead of
add_definitions().
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/atomic_ops_malloc.c [HAVE_MMAP] (AO_malloc_large): Change type of
result local variable from char* to void*.
* src/atomic_ops_malloc.c [HAVE_MMAP] (AO_free_large): Change type of
argument from char* to void*.
* src/atomic_ops_malloc.c (add_chunk_as): Cast to AO_t* from void*
directly (adjust ofs accordingly); add assertion that sz is multiple
of AO_t size.
* src/atomic_ops_malloc.c (AO_free): Remove cast to char* in
AO_free_large() call.
|
|
|
|
|
|
|
|
| |
(fix of commit f5b6d54d1)
This is because cmake on Ubuntu Xenial and Ubuntu Bionic (the cmake
version existing by default on these Ubuntu releases) does not support
the option to turn on verbose mode.
|
|
|
|
|
| |
This turns on CMake developer warnings (in addition to the deprecation
ones) and make them errors.
|
| |
|
|
|
|
| |
(fix of commit 516bd619c)
|
|
|
|
|
|
|
|
|
|
|
| |
This enforces -O2 -g options passed to the compiler (in case of the
gcc or clang compiler), matching that of the configure-based build.
* CMakeLists.txt [!CMAKE_BUILD_TYPE && !CMAKE_CONFIGURATION_TYPES]
(CMAKE_BUILD_TYPE): Set to RelWithDebInfo; set property (listing all
possible values).
* CMakeLists.txt [enable_assertions]: Add -UNDEBUG compile option; add
comment.
|
| |
|
| |
|
| |
|
|
|
|
| |
This assumes CMake 3.12 or later. Number of parallel jobs: 4.
|
|
|
|
| |
This assumes CMake 3.12 or later. Number of parallel jobs: 4.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue #52 (libatomic_ops).
The issue (SIGSEGV in test_malloc) is observed with clang-13, at least.
The workaround is to simplify asm code of AO_compare_and_swap_full
(moving the comparison of CAS result and old value to C code).
* src/atomic_ops/sysdeps/gcc/sparc.h [(!(AO_GNUC_PREREQ(12,0)
|| AO_CLANG_PREREQ(13,0)) || AO_DISABLE_GCC_ATOMICS) && !AO_NO_SPARC_V9
&& !AO_GENERALIZE_ASM_BOOL_CAS] (AO_compare_and_swap_full): Remove ret
local variable; remove cmp, be, mov, clr instructions from asm block
(to match that of AO_fetch_compare_and_swap_full); remove cc from asm
block clobbers; change specifier for old input operand of asm block
(from "0" to "r"); return new_val==old instead of ret.
|
| |
|
| |
|