[Gluster-users] Compiling 3.13.2 under FreeBSD 11.1?

Roman Serbski mefystofel at gmail.com
Wed May 9 13:02:07 UTC 2018


On Wed, May 9, 2018 at 1:22 PM, Kaleb S. KEITHLEY <kkeithle at redhat.com> wrote:
>
> That's certainly true. The issue hasn't been fixed in any version of
> gluster yet.
>
> You can help moving it along by voting +1 on
> https://review.gluster.org/19974

Will do -- thanks!

> Based on that gdb bt you can try applying this patch too
> https://review.gluster.org/19994

Tried it (both against 3.13.2 and 4.0.2), and now 'make' fails with:

make  all-am
  CC       libglusterfs_la-dict.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
  CC       libglusterfs_la-xlator.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
  CC       libglusterfs_la-logging.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
  CC       libglusterfs_la-hashfn.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
  CC       libglusterfs_la-common-utils.lo
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '-rdynamic'
[-Wunused-command-line-argument]
common-utils.c:3220:58: error: too few arguments provided to
function-like macro invocation
                                BIT_SET (ports, tmp_port1);
                                                         ^
/usr/include/sys/bitset.h:50:9: note: macro 'BIT_SET' defined here
#define BIT_SET(_s, n, p)                                               \
        ^
common-utils.c:3220:33: warning: expression result unused [-Wunused-value]
                                BIT_SET (ports, tmp_port1);
                                ^~~~~~~
common-utils.c:3258:50: error: too few arguments provided to
function-like macro invocation
                        BIT_SET (ports, tmp_port1);
                                                 ^
/usr/include/sys/bitset.h:50:9: note: macro 'BIT_SET' defined here
#define BIT_SET(_s, n, p)                                               \
        ^
common-utils.c:3258:25: warning: expression result unused [-Wunused-value]
                        BIT_SET (ports, tmp_port1);
                        ^~~~~~~
2 warnings and 2 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/home/SRC/glusterfs-3.13.2/libglusterfs/src
*** Error code 1

Stop.
make[3]: stopped in /usr/home/SRC/glusterfs-3.13.2/libglusterfs/src
*** Error code 1

Stop.
make[2]: stopped in /usr/home/SRC/glusterfs-3.13.2/libglusterfs
*** Error code 1

Stop.
make[1]: stopped in /usr/home/SRC/glusterfs-3.13.2
*** Error code 1

Stop.
make: stopped in /usr/home/SRC/glusterfs-3.13.2


More information about the Gluster-users mailing list