Re: RiscV tinderbox fails

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 30 Jun 2018 02:14:31 +0200
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:14:46 UTC

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