Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 14:26:06 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545330 - head/net/glusterfs
Message-ID:  <202008191426.07JEQ6cO097188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Aug 19 14:26:05 2020
New Revision: 545330
URL: https://svnweb.freebsd.org/changeset/ports/545330

Log:
  net/glusterfs: fix build on GCC architectures
  
  Use newer GCC to workaround base GCC bug:
  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -include ../../../../config.h -include ../../../../site.h -I../../../../libglusterfs/src -I../../../../libglusterfs/src -I../../../../libglusterfs/src -I../../../../rpc/xdr/src -I../../../../rpc/xdr/src -I/usr/local/include -I/usr/local/include -Wall -I/usr/local/include/uuid -I/usr/local/include -Wformat -Werror=format-security -Werror=implicit-function-declaration -DO_DSYNC=0 -Dxdr_quad_t=xdr_longlong_t -Dxdr_u_quad_t=xdr_u_longlong_t -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -isystem /usr/local/include -MT write-behind.lo -MD -MP -MF .deps/write-behind.Tpo -c write-behind.c  -fPIC -DPIC -o .libs/write-behind.o
  write-behind.c: In function 'wb_readdirp_cbk':
  write-behind.c:2585: error: unrecognizable insn:
  (insn 92 91 93 13 (parallel [
              (set (reg:SI 189)
                  (ior:SI (and:SI (plus:SI (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                                      (const_int 168 [0xa8])) [-1 S1 A64])
                              (reg:SI 185))
                          (reg:SI 187))
                      (and:SI (not:SI (reg:SI 187))
                          (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                                  (const_int 168 [0xa8])) [-1 S1 A64]))))
              (set (reg:SI 188)
                  (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                          (const_int 168 [0xa8])) [-1 S1 A64]))
              (set (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                          (const_int 168 [0xa8])) [-1 S1 A64])
                  (unspec:SI [
                          (ior:SI (and:SI (plus:SI (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                                              (const_int 168 [0xa8])) [-1 S1 A64])
                                      (reg:SI 185))
                                  (reg:SI 187))
                              (and:SI (not:SI (reg:SI 187))
                                  (mem/v:QI (plus:DI (reg/v/f:DI 140 [ wb_inode ])
                                          (const_int 168 [0xa8])) [-1 S1 A64])))
                      ] 40))
              (clobber (scratch:CC))
              (clobber (scratch:SI))
          ]) -1 (nil)
      (nil))
  write-behind.c:2585: internal compiler error: in extract_insn, at recog.c:2077

Modified:
  head/net/glusterfs/Makefile

Modified: head/net/glusterfs/Makefile
==============================================================================
--- head/net/glusterfs/Makefile	Wed Aug 19 14:17:05 2020	(r545329)
+++ head/net/glusterfs/Makefile	Wed Aug 19 14:26:05 2020	(r545330)
@@ -20,8 +20,8 @@ RUN_DEPENDS=	bash:shells/bash
 
 BROKEN_SSL=	libressl
 
-USES=		autoreconf bison gettext gnome libtool pkgconfig python \
-		readline shebangfix sqlite ssl
+USES=		autoreconf bison compiler:c11 gettext gnome libtool pkgconfig \
+		python readline shebangfix sqlite ssl
 
 SHEBANG_FILES=	events/src/glustereventsd.py events/src/peer_eventsapi.py \
 		events/tools/eventsdash.py extras/ganesha/ocf/ganesha_grace \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008191426.07JEQ6cO097188>