ports/databases
Po-Chuan Hsieh ebdfcf26c9
databases/rocksdb: Fix build on i386 with Clang 17+
mkdir -p utilities/transactions/lock/range/range_tree/lib/locktree && clang++ -O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -Wno-inconsistent-missing-override -Wno-unused-parameter -Wno-unused-variable -Wno-unused-private-field -isystem /usr/local/include -std=c++17   -fPIC -DROCKSDB_DLL -DROCKSDB_USE_RTTI   -g -W -Wextra -Wall -Wsign-compare -Wshadow -Wunused-parameter -Werror -I. -I./include -std=c++17 -O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -Wno-inconsistent-missing-override -Wno-unused-parameter -Wno-unused-variable -Wno-unused-private-field -isystem /usr/local/include -std=c++17  -faligned-new -DHAVE_ALIGNED_NEW -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -O2 -pipe  -DOS_FREEBSD -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -D_REENTRANT -DOS_FREEBSD -DSNAPPY -DGFLAGS=1 -DZLIB -DBZIP2 -DLZ4 -DZSTD -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX -DROCKSDB_BACKTRACE -DROCKSDB_SCHED_GETCPU_PRESENT   -isystem third-party/gtest-1.8.1/fused-src -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -DNDEBUG -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-invalid-offsetof -c utilities/transactions/lock/range/range_tree/lib/locktree/manager.cc -o utilities/transactions/lock/range/range_tree/lib/locktree/manager.o
In file included from utilities/transactions/lock/range/range_tree/lib/locktree/manager.cc:58:
In file included from utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_pthread.h:60:
In file included from utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_portability.h:71:
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_atomic.h:80:10: error: __sync builtin operation MUST have natural alignment (consider using __atomic). [-Werror,-Wsync-alignment]
   80 |   return __sync_fetch_and_add(addr, diff);
      |          ^
utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_atomic.h:92:10: error: __sync builtin operation MUST have natural alignment (consider using __atomic). [-Werror,-Wsync-alignment]
   92 |   return __sync_fetch_and_sub(addr, diff);
      |          ^
2 errors generated.
gmake: *** [Makefile:2566: utilities/transactions/lock/range/range_tree/lib/locktree/manager.o] Error 1

Tested on:	13.3-RELEASE-p5 (17.0.6), 15.0-CURRENT (18.1.6)
Reference:	https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p1963f6d23107_s10d5b43424d/logs/rocksdb-9.4.0.log
		https://github.com/llvm/llvm-project/issues/69146
2024-09-05 14:11:22 +08:00
..
2024-01-30 09:05:56 +01:00
2024-02-16 20:31:32 +01:00
2024-08-15 18:55:26 +08:00
2024-08-09 06:24:08 +00:00
2024-01-12 16:11:29 +01:00
2024-08-03 20:59:37 +02:00
2023-04-04 13:10:53 -05:00
2023-04-04 13:10:53 -05:00
2024-02-22 19:19:32 +01:00
2024-08-29 10:35:55 +02:00
2024-08-29 10:35:55 +02:00
2024-08-09 06:24:08 +00:00
2024-08-09 06:24:08 +00:00
2023-11-17 12:46:00 +01:00
2024-08-04 14:00:31 +02:00
2024-08-20 14:23:28 +02:00
2024-08-20 14:23:29 +02:00
2024-08-05 01:13:56 +08:00
2024-06-03 23:22:08 -07:00
2024-01-06 16:55:29 +00:00
2024-01-12 16:11:29 +01:00
2024-08-21 13:39:18 +02:00
2024-07-23 11:12:29 -04:00
2024-08-09 06:24:08 +00:00
2024-04-01 00:16:42 +00:00
2024-08-30 07:38:06 +02:00
2023-09-14 14:09:46 +00:00
2024-07-28 15:15:18 +02:00
2024-04-24 17:30:12 -05:00
2024-08-16 16:18:10 +09:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2023-06-10 16:57:35 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-07-28 15:15:17 +02:00
2024-08-28 08:54:30 +02:00
2024-08-28 08:54:30 +02:00
2024-08-28 08:54:30 +02:00
2024-08-28 08:54:30 +02:00
2024-07-25 05:16:22 +08:00
2024-03-16 04:20:08 +03:00
2024-05-30 10:20:40 -04:00
2024-05-30 10:20:40 -04:00
2024-06-20 18:44:32 -04:00
2024-08-16 11:48:45 +09:00
2024-07-09 12:04:47 +00:00
2024-07-29 14:36:05 +01:00
2024-08-28 08:54:30 +02:00
2024-01-12 16:11:29 +01:00
2024-01-12 16:11:29 +01:00
2024-01-25 21:35:21 +01:00
2024-08-16 12:07:03 +02:00
2024-03-05 08:41:11 +00:00
2024-08-09 06:24:08 +00:00
2024-07-25 12:17:23 +08:00
2024-02-21 23:06:18 +08:00
2024-01-12 16:11:29 +01:00
2024-08-09 06:24:09 +00:00
2024-08-16 11:48:56 +09:00
2024-05-18 10:29:59 -07:00
2023-07-29 22:20:45 +00:00