Re: More recognizing NetBSD CPUs (Super-H, MIPS 64bit)

2019-01-03 Thread coypu
On Fri, Jan 04, 2019 at 05:02:46PM +1100, Ben Elliston wrote:
> On Fri, Jan 04, 2019 at 05:08:29AM +, co...@sdf.org wrote:
> 
> > I don't know if the package I am building is misusing configure, but
> > without this change and the latest config.sub/config.guess:
> > 
> > checking build system type... Invalid configuration 
> > `mips64eb-unknown-netbsd8.99': machine `mips64eb-unknown' not recognized
> > configure: error: /bin/sh ./config.sub mips64eb-unknown-netbsd8.99 failed
> 
> Oh, mips64eb. That's a different matter ..
> 
> Thanks,
> Ben

The committed change sounds better, thanks!
(I didn't realize that John Klos already tried to upstream his change
too)

___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


Re: More recognizing NetBSD CPUs (Super-H, MIPS 64bit)

2019-01-03 Thread Ben Elliston
On Fri, Jan 04, 2019 at 05:08:29AM +, co...@sdf.org wrote:

> I don't know if the package I am building is misusing configure, but
> without this change and the latest config.sub/config.guess:
> 
> checking build system type... Invalid configuration 
> `mips64eb-unknown-netbsd8.99': machine `mips64eb-unknown' not recognized
> configure: error: /bin/sh ./config.sub mips64eb-unknown-netbsd8.99 failed

Oh, mips64eb. That's a different matter ..

Thanks,
Ben


signature.asc
Description: PGP signature
___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


Re: More recognizing NetBSD CPUs (Super-H, MIPS 64bit)

2019-01-03 Thread coypu
Hey Ben,

I don't know if the package I am building is misusing configure, but
without this change and the latest config.sub/config.guess:

checking build system type... Invalid configuration 
`mips64eb-unknown-netbsd8.99': machine `mips64eb-unknown' not recognized
configure: error: /bin/sh ./config.sub mips64eb-unknown-netbsd8.99 failed
*** Error code 1

# uname -a
NetBSD  8.99.14 NetBSD 8.99.14 (ERLITE) #0: Wed Mar 28 19:29:02 IDT 2018  
fly@planets:/home/fly/mips64eb/sys/arch/evbmips/compile/ERLITE evbmips

___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


Re: More recognizing NetBSD CPUs (Super-H, MIPS 64bit)

2019-01-03 Thread Ben Elliston
On Thu, Jan 03, 2019 at 04:41:25PM +, co...@sdf.org wrote:

> recent changes have needed adjustments on our (NetBSD) side.
> I've attached the patches for them.
> 
> Let me know what you think.

I think you've forgotten ChangeLog entries and test cases.

Also, the mips64 change seems unnecessary. It's already accepted by
config.sub.

Ben


signature.asc
Description: PGP signature
___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


More recognizing NetBSD CPUs (Super-H, MIPS 64bit)

2019-01-03 Thread coypu
Hi folks,

recent changes have needed adjustments on our (NetBSD) side.
I've attached the patches for them.

Let me know what you think.
>From 72c770c136c6b3e783c98194cb92f252e034 Mon Sep 17 00:00:00 2001
From: Maya Rashish 
Date: Thu, 3 Jan 2019 18:33:48 +0200
Subject: [PATCH 1/2] Recognise mips64 as mips64

This cpu choice is done by NetBSD/mips64 uname -p.
---
 config.sub | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.sub b/config.sub
index 75bb6a3..5db242e 100755
--- a/config.sub
+++ b/config.sub
@@ -1028,7 +1028,7 @@ case $cpu-$vendor in
cpu=powerpc
os=$os"spe"
;;
-   mips3*-*)
+   mips3*-* | mips64*-*)
cpu=mips64
;;
ms1-*)
-- 
2.19.1

>From f2c3d92642b9cc6c27ebf6ad2d75e11b5b9e01f5 Mon Sep 17 00:00:00 2001
From: Maya Rashish 
Date: Thu, 3 Jan 2019 18:35:48 +0200
Subject: [PATCH 2/2] Identify 32-bit SuperH in the same way that GCC currently
 does.

The notable difference is that "shl", chosen for netbsd/sh by
config.guess, is now recognised.
---
 config.sub | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config.sub b/config.sub
index 5db242e..8ad81ec 100755
--- a/config.sub
+++ b/config.sub
@@ -1230,8 +1230,7 @@ case $cpu-$vendor in
| riscv | riscv32 | riscv64 \
| rl78 | romp | rs6000 | rx \
| score \
-   | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | 
she[lb] | sh[lb]e \
-   | sh[1234]e[lb] |  sh[12345][lb]e | sh[23]ele | sh64 | 
sh64le \
+   | sh | sh[123456789lbe]* | sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | 
sparclet \
| sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
-- 
2.19.1

___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


Re: Use sparcv9-sun-solaris2.* with 64-bit compiler

2019-01-03 Thread Rainer Orth
Hi Ben,

>> One thing I'm uncertain about is the need for testcases
>> corresponding to this change?
>
> I have added some test cases, best as we can do when not running the
> testsuite on the actual system. I fixed things up to run the
> config.guess under test with CC_FOR_BUILD set to
> 'no_compiler_found'. That is an improvement for testing these more
> complex cases.

excellent, thanks for taking care of this.

The current config.{guess,sub} files are now in gcc mainline (and
hopefully also in binutils-gdb soon).

Rainer

-- 
-
Rainer Orth, Center for Biotechnology, Bielefeld University

___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches


configure: error

2019-01-03 Thread Анатолий С .
Good day! I’m asking for technical help. I’m unable to configure Dropbox.

Sincerely, Anatoly.
config.guess timestamp = 2009-04-27

uname -m = aarch64
uname -r = 3.10.65
uname -s = Linux
uname -v = #55 SMP PREEMPT Fri Nov 18 16:17:28 CST 2016

/usr/bin/uname -p = 
/bin/uname -X = 

hostinfo   = 
/bin/universe  = 
/usr/bin/arch -k   = 
/bin/arch  = 
/usr/bin/oslevel   = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.10.65
UNAME_SYSTEM  = Linux
UNAME_VERSION = #55 SMP PREEMPT Fri Nov 18 16:17:28 CST 2016
configure: error: cannot guess build type; you must specify one


___
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches