[Bug 186114] net/mpd5 hangs after a certain number of users connect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 16 17:40:13 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186114

--- Comment #65 from Cassiano Peixoto <peixoto.cassiano at gmail.com> ---
(In reply to Konstantin Belousov from comment #64)
Konstantin,

Libc patch compiled fine after using 'make WITHOUT_TESTS=yes'. But libthr patch
doesn't, see:

cc  -O2 -pipe   -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include
-I/usr/src/lib/libthr/thread  -I/usr/src/lib/libthr/../../include
-I/usr/src/lib/libthr/arch/amd64/include -I/usr/src/lib/libthr/sys
-I/usr/src/lib/libthr/../../libexec/rtld-elf
-I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64
-I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions
-D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -mno-mmx -mno-sse -mno-avx -MD 
-MF.depend.thr_init.o -MTthr_init.o -std=gnu99 -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Qunused-arguments  -c /usr/src/lib/libthr/thread/thr_init.c -o thr_init.o
/usr/src/lib/libthr/thread/thr_init.c:71:35: error: excess elements in scalar
initializer [-Werror]
struct urwlock  _thr_atfork_lock = DEFAULT_URWLOCK;
                                   ^~~~~~~~~~~~~~~
/usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro
'DEFAULT_URWLOCK'
#define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}}
                                      ^
/usr/src/lib/libthr/thread/thr_init.c:71:35: error: suggest braces around
initialization of subobject [-Werror,-Wmissing-braces]
struct urwlock  _thr_atfork_lock = DEFAULT_URWLOCK;
                                   ^~~~~~~~~~~~~~~
/usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro
'DEFAULT_URWLOCK'
#define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}}
                                 ^~~~~~~~~
/usr/src/lib/libthr/thread/thr_init.c:127:33: error: excess elements in scalar
initializer [-Werror]
struct urwlock  _thr_list_lock = DEFAULT_URWLOCK;
                                 ^~~~~~~~~~~~~~~
/usr/src/lib/libthr/thread/thr_umtx.h:40:39: note: expanded from macro
'DEFAULT_URWLOCK'
#define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}}
                                      ^
/usr/src/lib/libthr/thread/thr_init.c:127:33: error: suggest braces around
initialization of subobject [-Werror,-Wmissing-braces]
struct urwlock  _thr_list_lock = DEFAULT_URWLOCK;
                                 ^~~~~~~~~~~~~~~
/usr/src/lib/libthr/thread/thr_umtx.h:40:34: note: expanded from macro
'DEFAULT_URWLOCK'
#define DEFAULT_URWLOCK {0,0,0,0,0,{0,0,0}}
                                 ^~~~~~~~~
4 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libthr

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


More information about the freebsd-net mailing list