NetBSD-Bugs archive

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

port-evbarm/49365: net/rtorrent fails to compile on evbarm earm 7.0_BETA



>Number:         49365
>Category:       port-evbarm
>Synopsis:       net/rtorrent fails to compile on evbarm earm 7.0_BETA
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 05 19:00:00 +0000 2014
>Originator:     Petri Laakso
>Release:        NetBSD 7.0_BETA
>Organization:
	n/a
>Environment:
System: NetBSD pi 7.0_BETA NetBSD 7.0_BETA (RPI) #1: Fri Oct 31 21:00:25 EET 2014  petri@babylon:/work/nb/obj/data/dev/code/NetBSD-7.0_BETA/src/sys/arch/evbarm/compile/RPI evbarm

Architecture: x86_64
Machine: earm
>Description:
Build netbsd-7 earm release and install resulting rpi.img to SD card and boot
raspberry pi and try to build pkgsrc/net/rtorrent.
>How-To-Repeat:
Build netbsd-7 earm release and install resulting rpi.img to SD card and boot
raspberry pi and try to build pkgsrc/net/rtorrent.

./build.sh -m evbarm -u -U release

net/rtorrent configure phase returns error:

/usr/pkg/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8'
/usr/pkg/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8'

This can be repeated:

pi$ cat test.cpp
#include <xmlrpc-c/server.h>

int
main ()
 {
 xmlrpc_registry_new(NULL);
 ;
 return 0;
}
pi$ c++ -o conftest -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/ncurses -g -DDEBUG  -pthread   -I/usr/pkg/include  -I/usr/pkg/include  -I/usr/pkg/include  -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 -I/usr/pkg/include/ncurses -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib test.cpp  -lncurses  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lcurl  -L/usr/pkg/lib -ltorrent  -L/usr/pkg/lib  -Wl,-rpath,/usr/pkg/lib  -lxmlrpc_server -lxmlrpc -lxmlrpc_util -lxmlrpc_xmlparse -lxmlrpc_xmltok
/usr/pkg/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8'
/usr/pkg/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8'

>Fix:
n/a



Home | Main Index | Thread Index | Old Index