This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 96a1770ad [thirdparty] upgrade bison up to 3.8.2
96a1770ad is described below

commit 96a1770ad9f9be90fa9ce81eeb69561a18ca2da4
Author: Alexey Serbin <ale...@apache.org>
AuthorDate: Fri Mar 22 16:40:40 2024 -0700

    [thirdparty] upgrade bison up to 3.8.2
    
    This patch updates the bison library in Kudu's 3rd-party from 3.5.4 to
    3.8.2 version.
    
    The rationale behind the upgrade was getting the following build error
    on macOS when building with clang 15.0.0 which comes with Xcode 15.3:
    
      kudu/thirdparty/src/bison-3.5.4/lib/obstack.c:351:31: error: incompatible 
function pointer types initializing 'void (*)(void) __attribute__((noreturn))' 
with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
      __attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                                    ^
      1 error generated.
      make[2]: *** [lib/libbison_a-obstack.o] Error 1
    
    Change-Id: I93382dd06fcc86d34b5f63b02fb6e52859dcc558
    Reviewed-on: http://gerrit.cloudera.org:8080/21192
    Tested-by: Alexey Serbin <ale...@apache.org>
    Reviewed-by: Abhishek Chennaka <achenn...@cloudera.com>
---
 thirdparty/vars.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thirdparty/vars.sh b/thirdparty/vars.sh
index cfe13e3ac..82a553ae4 100644
--- a/thirdparty/vars.sh
+++ b/thirdparty/vars.sh
@@ -195,7 +195,7 @@ THRIFT_VERSION=0.11.0
 THRIFT_NAME=thrift-$THRIFT_VERSION
 THRIFT_SOURCE=$TP_SOURCE_DIR/$THRIFT_NAME
 
-BISON_VERSION=3.5.4
+BISON_VERSION=3.8.2
 BISON_NAME=bison-$BISON_VERSION
 BISON_SOURCE=$TP_SOURCE_DIR/$BISON_NAME
 

Reply via email to