Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 08:29:50 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        Hartmut.Brandt@dlr.de, current@freebsd.org
Subject:   Re: RiscV tinderbox fails
Message-ID:  <CALM2mEkgWNWo9EEMbGhwZ%2B-ShJ6Y9=Hbq1JSYbrUExizWJy3zA@mail.gmail.com>
In-Reply-To: <39E9E542-8690-40AA-92D3-DA5523DE6FDD@FreeBSD.org>
References:  <611243783F62AF48AFB07BC25FA4B10629917799@DLDEFFMIMP01EXC.intra.dlr.de> <39E9E542-8690-40AA-92D3-DA5523DE6FDD@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
It seems to be that the FreeBSD implementation of the RISC-V has stalled
and development is only proceeding on Linux with GCC.

In my opinion FreeBSD forget GCC and work on implementing RISC-V backend
for the llvm project.



On Sat, Jun 30, 2018, 08:18 Dimitry Andric <dim@freebsd.org> wrote:

> On 29 Jun 2018, at 13:33, Hartmut.Brandt@dlr.de wrote:
> >
> > is it supposed not to fail? I get:
> >
> > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In
> function
> > `__gedf2':
> > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:101: multiple
> definition
> > of `__gedf2'
> >
> /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(gedf2.o):/usr/src/lib/libc/s
> > oftfloat/gedf2.c:18: first defined here
> > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In
> function
> > `__eqdf2':
> > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple
> definition
> > of `__eqdf2'
> >
> /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(eqdf2.o):/usr/src/lib/libc/s
> > oftfloat/eqdf2.c:18: first defined here
> > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In
> function
> > `__ltdf2':
> > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple
> definition
> > of `__ltdf2'
> >
> /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(ltdf2.o):/usr/src/lib/libc/s
> > oftfloat/ltdf2.c:18: first defined here
> > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In
> function
> > `__nedf2':
> > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:127: multiple
> definition
> > of `__nedf2'
> >
> /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(nedf2.o):/usr/src/lib/libc/s
> > oftfloat/nedf2.c:18: first defined here
> > /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libgcc.a(comparedf2.o): In
> function
> > `__gtdf2':
> > /usr/src/contrib/compiler-rt/lib/builtins/comparedf2.c:142: multiple
> definition
> > of `__gtdf2'
> >
> /usr/obj/usr/src/riscv.riscv64sf/tmp/usr/lib/libc.a(gtdf2.o):/usr/src/lib/libc/s
> > oftfloat/gtdf2.c:18: first defined here
> > collect2: error: ld returned 1 exit status
> > *** [nologin.full] Error code 1
>
> As far as I know, it has been broken for quite some time.  I guess for
> riscv those functions need to be defined either in libc, or in
> compiler-rt, but not both...
>
> -Dimitry
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEkgWNWo9EEMbGhwZ%2B-ShJ6Y9=Hbq1JSYbrUExizWJy3zA>