This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RISC-V glibc port, v4
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Palmer Dabbelt <palmer at dabbelt dot com>
- Cc: <libc-alpha at sourceware dot org>, <patches at groups dot riscv dot org>
- Date: Mon, 22 Jan 2018 21:51:04 +0000
- Subject: Re: RISC-V glibc port, v4
- Authentication-results: sourceware.org; auth=none
- References: <mhng-f8af66bb-6574-4464-9dfb-2bffbc961996@palmer-si-x1c4>
On Mon, 22 Jan 2018, Palmer Dabbelt wrote:
> diff --git a/sysdeps/riscv/nofpu/Implies b/sysdeps/riscv/nofpu/Implies
> new file mode 100644
> index 000000000000..abcbadb25f22
> --- /dev/null
> +++ b/sysdeps/riscv/nofpu/Implies
> @@ -0,0 +1 @@
> +ieee754/soft-fp
That looks right.
(Presuming the sysdeps/riscv/soft-fp files have been moved back into
sysdeps/riscv/ since there shouldn't be a sysdeps/riscv/soft-fp
directory.)
> diff --git a/sysdeps/riscv/preconfigure b/sysdeps/riscv/preconfigure
> index a486a271031e..a69b11e59738 100644
> --- a/sysdeps/riscv/preconfigure
> +++ b/sysdeps/riscv/preconfigure
> @@ -20,7 +20,7 @@ riscv*)
> with_fp_cond=1
> ;;
> "")
> - float_machine=
> + float_machine=nofpu
But you shouldn't have or need float_machine=nofpu here. Once you've got
with_fp_cond set, use of fpu or nofpu sysdeps directories is entirely
automatic via code in the toplevel configure.ac (in master, not in
previous releases).
--
Joseph S. Myers
joseph@codesourcery.com