pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52817: devel/lldb build on i386 fails with undefined reference



>Number:         52817
>Category:       pkg
>Synopsis:       lldb build on i386 fails with undefined reference
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 13 19:40:00 +0000 2017
>Originator:     Onno van der Linden
>Release:        NetBSD 8.99.8
>Organization:
>Environment:
System: NetBSD sheep 8.99.8 NetBSD 8.99.8 (SHEEPKMS) #1: Mon Dec 4 16:43:49 CET 2017 onno@sheep:/usr/src/sys/arch/i386/compile/SHEEPKMS i386
Architecture: i386
Machine: i386
>Description:
Building devel/lldb from pkgsrc results in multiple undefined reference errors while linking  CXX shared library ../../lib/liblldb.so
For example:
Timer.cpp:(.text._ZN12lldb_private5Timer8CategoryC2EPKc+0x39): undefined reference to `__atomic_store_8'
and there's several more with both __atomic_store_8 and __atomic_load_8
>How-To-Repeat:
build devel/lldb on 32-bit intel
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
quick & dirty fix is to put an extra -latomic_ops somewhere.



Home | Main Index | Thread Index | Old Index