From owner-svn-src-head@freebsd.org Sun Jan 17 23:15:21 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37957A86DC1; Sun, 17 Jan 2016 23:15:21 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BE3C21F8F; Sun, 17 Jan 2016 23:15:20 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id E2B5025D385E; Sun, 17 Jan 2016 23:15:17 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 4C2E0C77007; Sun, 17 Jan 2016 23:15:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 3aKzGnwO7QOr; Sun, 17 Jan 2016 23:15:13 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4410:ddad:8f72:be17:1ea8] (unknown [IPv6:fde9:577b:c1a9:4410:ddad:8f72:be17:1ea8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 15E3BC76FEE; Sun, 17 Jan 2016 23:15:12 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand From: "Bjoern A. Zeeb" In-Reply-To: <201601171521.u0HFLNvD063018@repo.freebsd.org> Date: Sun, 17 Jan 2016 23:14:53 +0000 Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7A25B4D8-FA1C-47D7-889B-A17B4A3A52DC@FreeBSD.org> References: <201601171521.u0HFLNvD063018@repo.freebsd.org> To: Ruslan Bukin , Ed Maste X-Mailer: Apple Mail (2.2104) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 23:15:21 -0000 > On 17 Jan 2016, at 15:21 , Ruslan Bukin 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."