1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/glusterfs/Makefile
Piotr Kubaj b562c7fe0c 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
2020-08-19 14:26:05 +00:00

71 lines
2.1 KiB
Makefile

# $FreeBSD$
PORTNAME= glusterfs
PORTVERSION= 8.0
CATEGORIES= net
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
MAINTAINER= daniel@morante.net
COMMENT= GlusterFS distributed file system
LICENSE= GPLv2 LGPL3
LICENSE_COMB= dual
LIB_DEPENDS= libargp.so:devel/argp-standalone \
libcurl.so:ftp/curl \
liburcu-bp.so:sysutils/liburcu \
libuuid.so:misc/e2fsprogs-libuuid
RUN_DEPENDS= bash:shells/bash
BROKEN_SSL= libressl
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 \
extras/ganesha/ocf/ganesha_mon extras/ganesha/ocf/ganesha_nfsd \
extras/ganesha/scripts/create-export-ganesha.sh \
extras/ganesha/scripts/dbus-send.sh \
extras/ganesha/scripts/ganesha-ha.sh \
extras/ganesha/scripts/generate-epoch.py \
extras/peer_add_secret_pub.in \
extras/post-upgrade-script-for-quota.sh \
extras/pre-upgrade-script-for-quota.sh \
extras/snap_scheduler/gcron.py \
extras/snap_scheduler/snap_scheduler.py \
extras/stop-all-gluster-processes.sh \
extras/thin-arbiter/setup-thin-arbiter.sh \
tools/gfind_missing_files/gfid_to_path.py \
tools/glusterfind/glusterfind.in \
tools/glusterfind/S57glusterfind-delete-post.py \
tools/glusterfind/src/brickfind.py \
tools/glusterfind/src/changelog.py \
tools/glusterfind/src/nodeagent.py
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_RC_SUBR= glusterd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-epoll \
--disable-georeplication \
--localstatedir=/var \
--with-mountutildir=${PREFIX}/sbin \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
ac_cv_func_fallocate=no \
ac_cv_func_fdatasync=no \
ac_cv_func_llistxattr=no \
ac_cv_func_malloc_stats=no \
ac_cv_func_setfsuid=no \
ac_cv_lib_aio_io_setup=no
CPPFLAGS+= -I"${LOCALBASE}/include"
LDFLAGS+= -L"${LOCALBASE}/lib" -largp
INSTALL_TARGET= install-strip
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}"
KMODDIR?= /boot/modules
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>