Date: Sun, 17 Jan 2016 23:14:53 +0000 From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: Ruslan Bukin <br@FreeBSD.org>, Ed Maste <emaste@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand Message-ID: <7A25B4D8-FA1C-47D7-889B-A17B4A3A52DC@FreeBSD.org> In-Reply-To: <201601171521.u0HFLNvD063018@repo.freebsd.org> References: <201601171521.u0HFLNvD063018@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 17 Jan 2016, at 15:21 , Ruslan Bukin <br@FreeBSD.org> wrote: >=20 > Author: br > Date: Sun Jan 17 15:21:23 2016 > New Revision: 294227 > URL: https://svnweb.freebsd.org/changeset/base/294227 >=20 > Log: > Bring in initial libc and libstand support for RISC-V. >=20 > Reviewed by: andrew, emaste, kib > Sponsored by: DARPA, AFRL > Sponsored by: HEIF5 > Differential Revision: https://reviews.freebsd.org/D4943 >=20 > Modified: > head/lib/libc/Makefile I think this broke MIPS; I see lots of the following with a couple of = libraries: =3D=3D=3D> lib/msun (all) =3D=3D=3D> lib/msun/tests (all) /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/bin/ld: = BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail = /scratch/tmp/bz/head.svn/gnu/usr.bin/binutils/libbfd/../../../../contrib/b= inutils/bfd/elf-strtab.c:196 t_acos.o: In function `atfu_acos_is_plus_zero_body': /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:94: = undefined reference to `__extendsfdf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:94: = undefined reference to `__extendsfdf2' t_acos.o: In function `atfu_acos_inrange_body': /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:86: = undefined reference to `__subdf3' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:86: = undefined reference to `__subdf3' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__truncdfsf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__truncdfsf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__extendsfdf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__extendsfdf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__subdf3' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:87: = undefined reference to `__subdf3' t_acos.o: In function `atfu_acos_is_nan_body': /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:58: = undefined reference to `__truncdfsf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:58: = undefined reference to `__truncdfsf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:58: = undefined reference to `__extendsfdf2' /scratch/tmp/bz/head.svn/contrib/netbsd-tests/lib/libm/t_acos.c:58: = undefined reference to `__extendsfdf2' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__muldf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__floatsidf' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__divsf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__subsf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__floatsisf' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__addsf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__fixdfsi' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__adddf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__divdf3' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__fixsfsi' = /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/lib/libm.so= : undefined reference to `__mulsf3' /storage/head/obj//mips.mips64/scratch/tmp/bz/head.svn/tmp/usr/bin/ld: = BFD 2.17.50 [FreeBSD] 2007-07-03 assertion fail = /scratch/tmp/bz/head.svn/gnu/usr.bin/binutils/libbfd/../../../../contrib/b= inutils/bfd/elf-strtab.c:243 --- acos_test.full --- *** [acos_test.full] Error code 1 bmake: stopped in /scratch/tmp/bz/head.svn/lib/msun/tests --- acos_test --- *** [acos_test] Error code 1 bmake: stopped in /scratch/tmp/bz/head.svn/lib/msun/tests > Modified: head/lib/libc/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/lib/libc/Makefile Sun Jan 17 14:35:37 2016 = (r294226) > +++ head/lib/libc/Makefile Sun Jan 17 15:21:23 2016 = (r294227) > @@ -83,6 +83,7 @@ NOASM=3D > .if ${LIBC_ARCH} !=3D "aarch64" && \ > ${LIBC_ARCH} !=3D "amd64" && \ > ${LIBC_ARCH} !=3D "powerpc64" && \ > + ${LIBC_ARCH} !=3D "riscv" && \ > ${LIBC_ARCH} !=3D "sparc64" && \ > ${MACHINE_ARCH:Mmipsn32*} =3D=3D "" && \ > ${MACHINE_ARCH:Mmips64*} =3D=3D "" > @@ -101,7 +102,7 @@ NOASM=3D > .include "${LIBC_SRCTOP}/uuid/Makefile.inc" > .include "${LIBC_SRCTOP}/xdr/Makefile.inc" > .if (${LIBC_ARCH} =3D=3D "arm" && ${MACHINE_ARCH} !=3D "armv6hf") ||\ > - ${LIBC_ARCH} =3D=3D "mips" > + ${LIBC_ARCH} =3D=3D "mips" && ${LIBC_ARCH} =3D=3D "riscv" > .include "${LIBC_SRCTOP}/softfloat/Makefile.inc" > .endif > .if ${MK_NIS} !=3D =E2=80=9Cno" Is this supposed to be a && ? =E2=80=94=20 Bjoern A. Zeeb Charles Haddon Spurgeon: "Friendship is one of the sweetest joys of life. Many might have failed beneath the bitterness of their trial had they not found a friend."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A25B4D8-FA1C-47D7-889B-A17B4A3A52DC>