This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RISC-V glibc port, v4


On Mon, 22 Jan 2018 13:51:04 PST (-0800), joseph@codesourcery.com wrote:
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.)

Yep, I managed to get that one on my own :).  Thanks!


   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).

Ah, OK -- I'd missed that, I'll try without it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]