From owner-freebsd-ports@freebsd.org Sun Sep 13 02:44:52 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C34E9CA6BE for ; Sun, 13 Sep 2015 02:44:52 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 8B85517B6 for ; Sun, 13 Sep 2015 02:44:52 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from Alfreds-MacBook-Pro.local (173-228-14-211.dedicated.static.sonic.net [173.228.14.211]) by elvis.mu.org (Postfix) with ESMTPSA id 64CA4345A8F5; Sat, 12 Sep 2015 19:44:51 -0700 (PDT) Subject: Re: Anyone got RethinkDB working in FreeBSD? To: freebsd-ports@freebsd.org, Kurt Jaeger References: <20150911091155.GU13922@pol-server.leissner.se> <20150911152118.GK36682@home.opsec.eu> <20150911162225.GU13922@pol-server.leissner.se> <20150911171305.GL36682@home.opsec.eu> <20150911192801.GM36682@home.opsec.eu> <20150912090128.GN36682@home.opsec.eu> From: Alfred Perlstein Organization: FreeBSD Message-ID: <55F4E408.6010204@freebsd.org> Date: Sat, 12 Sep 2015 19:48:40 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150912090128.GN36682@home.opsec.eu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2015 02:44:52 -0000 On 9/12/15 2:01 AM, Kurt Jaeger wrote: > Hi! > >> Right now, I'm in the part where it tries to link the >> build/external/v8_3.30.33.16/build/out >> stuff and fails because the clang loader does not handle >> lib....a files 8-( > The latest .shar is available at > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203043 > > together with a build-log at > > https://opsec.eu/backup/rethinkdb-build > > which shows that it fails to link the external v8. If anyone has an > idea on how to fix this ? (Bcc: to sunpoet who maintains lang/v8*). > Why do you want it to link against the external v8 port? Seems like just introducing a dependency headache. .a files work on -stable. Did they get broken in -current? ~ % cc -v FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix Selected GCC installation: .(02:43:28)(builder@build2) ~ % cat t.c int derp(int x) { return x*2; } .(02:43:37)(builder@build2) ~ % cat m.c #include int derp(int); int main(void) { printf("%d\n", derp(2)); } .(02:43:40)(builder@build2) ~ % cc -c t.c .(02:43:48)(builder@build2) ~ % ar -r t.a t.o .(02:43:53)(builder@build2) ~ % cc m.c t.a .(02:43:58)(builder@build2) ~ % ./a.out 4 .(02:44:00)(builder@build2) ~ % uname -a FreeBSD build2 10.1-BETA2 FreeBSD 10.1-BETA2 #0 df2cf31(HEAD): Tue Jul 7 00:38:22 UTC 2015 root@build2:/usr/obj/usr/src/sys/GENERIC amd64 .(02:44:25)(builder@build2) ~ %