Commit 24db098
committed
Fix PAX build failure on GCC 8.x (Rocky Linux 8)
1. Remove explicit -Werror=pessimizing-move flag from CMakeLists.txt.
This flag was added in commit e7e07c2 to catch pessimizing-move
warnings on higher GCC versions, but it breaks compilation on GCC 8.x
where this warning option does not exist. The fix is safe because
GCC 9+ enables -Wpessimizing-move by default and the existing -Werror
flag already converts all warnings to errors.
2. Fix fast_io.cc compatibility issues:
- Add missing <unistd.h> include for pread()
- Define uring_likely macro fallback for older liburing versions
See: Issue#1441 <https://github.com/apache/cloudberry/issues/1441\>1 parent 57063e1 commit 24db098
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
0 commit comments