Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 13:16:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219168] databases/libmemcached cannot build, undefined reference to symbol
Message-ID:  <bug-219168-13-PXTVlfPwIn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219168-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219168-13@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=3D219168

O. Hartmann <ohartmann@walstatt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ohartmann@walstatt.org

--- Comment #7 from O. Hartmann <ohartmann@walstatt.org> ---
(In reply to m.tsatsenko from comment #6)

I ran into this problem today on recent 12-CURRENT (as jail: Revision: 3183=
36,
same as host) and recent ports tree (revision 440997) within a recent poudr=
iere
environment. Host (and jail) has WITH_LLD_IS_LD=3Dyes set.

I can not fathom from the thread here whether the problem has been fixed AND
committed, nor did I apply the patch provided (since I though it has been
committed within the past week).

[...]
c++ -std=3Dc++0x -DHAVE_CONFIG_H -I.   -isystem /usr/local/include
-fvisibility=3Dhidden  -O2 -pipe -fstack-protector -isystem /usr/local/incl=
ude
-fno-strict-aliasing  -D__STDC_CONSTANT_MACROS -isystem /usr/local/include =
-g
-Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Wvarargs
-Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy
-Wfloat-equal -Wformat=3D2 -Wformat-y2k -Wmissing-field-initializers
-Wnon-virtual-dtor -Woverloaded-virtual -Wpointer-arith -Wredundant-decls
-Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstrict-overflow=3D1 -Wswitch-e=
num
-Wundef -Wc++11-compat -Wunused -Wunused-result -Wunused-variable
-Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security
-fwrapv -fPIE -Wsizeof-pointer-memaccess -Wpacked -MT clients/execute.o -MD=
 -MP
-MF $depbase.Tpo -c -o clients/execute.o clients/execute.cc &&\
mv -f $depbase.Tpo $depbase.Po
/bin/sh ./libtool  --tag=3DCXX   --mode=3Dlink c++ -std=3Dc++0x  -O2 -pipe
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing=20
-D__STDC_CONSTANT_MACROS -isystem /usr/local/include -g -Wno-unknown-pragmas
-Wno-pragmas -Wall -Wextra -Wno-attributes -Wvarargs -Waddress -Warray-boun=
ds
-Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=3D2
-Wformat-y2k -Wmissing-field-initializers -Wnon-virtual-dtor
-Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow
-Wshorten-64-to-32 -Wsign-compare -Wstrict-overflow=3D1 -Wswitch-enum -Wund=
ef
-Wc++11-compat -Wunused -Wunused-result -Wunused-variable -Wunused-parameter
-Wunused-local-typedefs -Wwrite-strings -Wformat-security -fwrapv -fPIE
-Wsizeof-pointer-memaccess -Wpacked  -fstack-protector -o clients/memaslap
clients/memaslap.o clients/ms_conn.o clients/ms_setting.o clients/ms_sigseg=
v.o
clients/ms_stats.o clients/ms_task.o clients/ms_thread.o clients/generator.o
clients/execute.o -levent clients/libutilities.la libmemcached/libmemcached=
.la
-L/usr/local/lib -lexecinfo -L/usr/local/lib
libtool: link: c++ -std=3Dc++0x -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -D__STDC_CONSTANT_MACROS -isystem
/usr/local/include -g -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra
-Wno-attributes -Wvarargs -Waddress -Warray-bounds -Wchar-subscripts -Wcomm=
ent
-Wctor-dtor-privacy -Wfloat-equal -Wformat=3D2 -Wformat-y2k
-Wmissing-field-initializers -Wnon-virtual-dtor -Woverloaded-virtual
-Wpointer-arith -Wredundant-decls -Wshadow -Wshorten-64-to-32 -Wsign-compare
-Wstrict-overflow=3D1 -Wswitch-enum -Wundef -Wc++11-compat -Wunused
-Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs
-Wwrite-strings -Wformat-security -fwrapv -fPIE -Wsizeof-pointer-memaccess
-Wpacked -fstack-protector -o clients/.libs/memaslap clients/memaslap.o
clients/ms_conn.o clients/ms_setting.o clients/ms_sigsegv.o clients/ms_stat=
s.o
clients/ms_task.o clients/ms_thread.o clients/generator.o clients/execute.o=
=20
-levent clients/.libs/libutilities.a -L/usr/local/lib
libmemcached/.libs/libmemcached.so -lexecinfo -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: error: clients/ms_thread.c:291: undefined symbol 'pthread_crea=
te'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219168-13-PXTVlfPwIn>