https://bugs.openldap.org/show_bug.cgi?id=10166

          Issue ID: 10166
           Summary: 2.6.7: not redy for gcc 14.x
           Product: OpenLDAP
           Version: 2.6.7
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Looks like last version build fails with latest gcc 14.x which is now used in
fedora rawhide.


cd slapi && make -k all
make[3]: Entering directory
'/home/tkloczko/rpmbuild/BUILD/openldap-2.6.7/servers/slapd/slapi'
/bin/sh ../../../libtool  --mode=compile /usr/bin/gcc -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g
-grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections
-ffunction-sections -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall
-Werror=format-security -DLDAP_CONNECTIONLESS -I../../../include -I.. -I.
-I../../../include -I./.. -I.    -DSLAPI_LIBRARY -c plugin.c
libtool: compile:  /usr/bin/gcc -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g
-grecord-gcc-switches -pipe -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections
-ffunction-sections -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall
-Werror=format-security -DLDAP_CONNECTIONLESS -I../../../include -I.. -I.
-I../../../include -I./.. -I. -DSLAPI_LIBRARY -c plugin.c  -fPIC -DPIC -o
.libs/plugin.o
plugin.c: In function 'slapi_int_read_config':
plugin.c:697:69: error: passing argument 3 of 'plugin_pblock_new' from
incompatible pointer type [-Wincompatible-pointer-types]
  697 |                 pPlugin = plugin_pblock_new( iType, numPluginArgc,
c->argv );
      |                                                                   
~^~~~~~
      |                                                                     |
      |                                                                    
char **
plugin.c:71:21: note: expected 'ConfigArgs *' {aka 'struct config_args_s *'}
but argument is of type 'char **'
   71 |         ConfigArgs *c )
      |         ~~~~~~~~~~~~^
make[3]: *** [Makefile:387: plugin.lo] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to