Kaleb S. KEITHLEY
2018-May-09 11:22 UTC
[Gluster-users] Compiling 3.13.2 under FreeBSD 11.1?
On 05/09/2018 05:44 AM, Roman Serbski wrote:> On Tue, May 8, 2018 at 11:34 AM, Roman Serbski <mefystofel at gmail.com> wrote: >> # gdb gluster >> GNU gdb 6.1.1 [FreeBSD] >> Copyright 2004 Free Software Foundation, Inc. >> GDB is free software, covered by the GNU General Public License, and you are >> welcome to change it and/or distribute copies of it under certain conditions. >> Type "show copying" to see the conditions. >> There is absolutely no warranty for GDB. Type "show warranty" for details. >> This GDB was configured as "amd64-marcel-freebsd"... >> (gdb) run >> Starting program: /usr/home/SRC/glusterfs-3.13.2/cli/src/.libs/gluster >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x00000008008ef32f in gf_thread_create (thread=0x800be9500, attr=0x0, >> start_routine=0x80091e960 <pool_sweeper>, arg=0x0, name=0x8009c683b >> "memsweep") at common-utils.c:3754 >> 3754 gf_msg (THIS->name, GF_LOG_WARNING, 0, >> > > Hello Kaleb, > > Just a quick update: I've tried to compile and run the latest 4.0.2, > and I experience the same issue. To successfully compile I had to > apply your patch,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> however I do get the same segmentation fault with > 4.0.2 as well.Based on that gdb bt you can try applying this patch too https://review.gluster.org/19994> > Many thanks. > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-- Kaleb
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/19974Will do -- thanks!> Based on that gdb bt you can try applying this patch too > https://review.gluster.org/19994Tried 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
Kaleb S. KEITHLEY
2018-May-09 13:09 UTC
[Gluster-users] Compiling 3.13.2 under FreeBSD 11.1?
On 05/09/2018 09:02 AM, Roman Serbski wrote:> 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:get the latest patch. ;-)> > 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 > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-- Kaleb