Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2015 19:48:40 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        freebsd-ports@freebsd.org, Kurt Jaeger <lists@opsec.eu>
Subject:   Re: Anyone got RethinkDB working in FreeBSD?
Message-ID:  <55F4E408.6010204@freebsd.org>
In-Reply-To: <20150912090128.GN36682@home.opsec.eu>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <stdio.h>

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)
~ %




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F4E408.6010204>