Re: RiscV tinderbox fails

From: blubee blubeeme <gurenchan_at_gmail.com>
Date: Sat, 30 Jun 2018 08:29:50 +0800
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_at_freebsd.org> wrote:

> On 29 Jun 2018, at 13:33, Hartmut.Brandt_at_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
>
>
Received on Fri Jun 29 2018 - 22:29:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:16 UTC