Hi, For those who desperately need rtorrent on sparc64, the diff below produces a working binary (now that gcc-4.6 has been fixed for sparc64).
I know it's a big ugly hammer, but I think it's the only feasible solution: upstream closed my ticket saying our SIGBUS crash is caused by a compiler bug (https://github.com/rakshasa/rtorrent/issues/28). Opinions and/or OKs? Cheers, David Index: Makefile =================================================================== RCS file: /cvs/ports/net/rtorrent/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- Makefile 1 Feb 2012 11:24:46 -0000 1.32 +++ Makefile 8 Apr 2012 13:48:33 -0000 @@ -1,10 +1,9 @@ # $OpenBSD: Makefile,v 1.32 2012/02/01 11:24:46 dcoppa Exp $ -BROKEN-sparc64 = SIGBUS during startup when built with gcc 4.2.1 - COMMENT= ncurses BitTorrent client based on libTorrent DISTNAME= rtorrent-0.8.9 +REVISION= 0 CATEGORIES= net HOMEPAGE= http://libtorrent.rakshasa.no/ @@ -17,13 +16,17 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= c crypto idn m ncursesw pthread \ - sigc-2.0 ssl stdc++ z torrent>=18 \ - curl>=14 +WANTLIB= c crypto curl>=14 idn m ncursesw \ + pthread sigc-2.0 ssl stdc++ \ + torrent>=18 z MASTER_SITES= ${HOMEPAGE}downloads/ -MODULES= devel/gettext +MODULES= gcc4 devel/gettext + +MODGCC4_ARCHS= sparc64 +MODGCC4_LANGS= c++ +MODGCC4_VERSION= 4.6 BUILD_DEPENDS= devel/cppunit LIB_DEPENDS= net/libtorrent>=0.12.9 \
