Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2017 17:40:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 186114] net/mpd5 hangs after a certain number of users connect
Message-ID:  <bug-186114-2472-XUKMCsnTMi@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-186114-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-186114-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186114

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

Libc patch compiled fine after using 'make WITHOUT_TESTS=3Dyes'. 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=20
-MF.depend.thr_init.o -MTthr_init.o -std=3Dgnu99 -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=20
-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 scal=
ar
initializer [-Werror]
struct urwlock  _thr_atfork_lock =3D 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 =3D 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 sca=
lar
initializer [-Werror]
struct urwlock  _thr_list_lock =3D 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 =3D 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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-186114-2472-XUKMCsnTMi>