Re: Sparc status ?

2014-04-20 Thread Jurij Smakov
On Fri, Apr 18, 2014 at 6:11 PM, Sébastien Bernard sbern...@nerim.netwrote:


  Doh, beat me to it by a minute. Yeah, you see what I mean. :)

 It would be platform suicide to drop 32-bit code generation. Like many
 RISC architectures, switching to 64-bit is only done for apps that need it,
 because it is not free and will not, in general, make apps faster. Anyone
 who has worked on PPC, MIPS, SPARC, etc will be able to confirm this in a
 heartbeat, and no doubt gcc-sparc maintainers are aware of this as well.

 Patrick

  So this does not really help to understand why the switch to gcc-4.8
 didn't happened on the sparc architecture.


Because GCC maintainers have been saying for years, that they are unwilling
to support the weird use case of Debian sparc port, which has 64-bit kernel
but 32-bit userspace. I can find discussions about it going back as far as
2009:

https://lists.debian.org/debian-sparc/2009/08/msg00010.html

Another possibly relevant bit is that Aurelien Jarno started working on an
unofficial sparc64 port a while ago, but the current status of it is
unknown to me. See, for example

https://wiki.debian.org/Sparc64




 Cheers.

 Sébastien



 --
 To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: https://lists.debian.org/53515cb3.7030...@nerim.net




-- 
Jurij Smakov | ju...@wooyd.org | Key ID: 43C30A7D


Re: Sparc status ?

2014-04-20 Thread Patrick Baggett


 Because GCC maintainers have been saying for years, that they are
 unwilling to support the weird use case of Debian sparc port, which has
 64-bit kernel but 32-bit userspace. I can find discussions about it going
 back as far as 2009:

 https://lists.debian.org/debian-sparc/2009/08/msg00010.html


This is a weak case. I have 64-bit MIPS hardware running debian and it
doesn't seem to matter to anyone that the userspace is 32-bit, though the
kernel is 64-bit and I can also run 64-bit MIPS binaries on it.

GCC is also used on Solaris/SPARC which has a 64-bit kernel and 32-bit
userland.

I just don't buy the debian sparc is a [uniquely] weird use case. It's
not even unique to Debian, and it's not even unique to SPARC.

Patrick


Re: Sparc status ?

2014-04-20 Thread Patrick Baggett


 Because GCC maintainers have been saying for years, that they are
 unwilling to support the weird use case of Debian sparc port, which has
 64-bit kernel but 32-bit userspace. I can find discussions about it going
 back as far as 2009:


Also, a lot of the messages about removing v8 support or upstream
dropping sparc32 is confusing. SPARCv8, sometimes called sparc32 (more
specifically, 32-bit SPARCv8 ISA that predates the 64-bit ISA, SPARCv9) is
used by just *one* CPU that is modern -- Leon. The remaining CPUs are all
64-bit since 1997. However, a 32-bit *ABI* (note ABI, NOT ISA) used on a v9
platform seems like a sane idea, and that is the current case of Debian and
Solaris. This is because it's absolutely a terrible idea to remove a 32-bit
ABI for v9 CPUs. This ABI is called v8+, which incidentally is a terrible
name.

I don't care if Debian or other upstream packages drops sparc32 aka v8
support, because the current kernel will only boot on SPARCv9 CPUs, so it
doesn't make any sense to add a constraint that binaries must run on v8
CPUs. And I mostly don't care if GCC removes the ability to generate
sparc32 aka SPARCv8 code. What I *do* care about it the removal of the
ability to build 32-bit binaries on SPARCv9, because 64-bit only binaries
is a ridiculous idea.

So Jurij, I don't see any reason to believe that upstream support is
disappearing. None of the messages are from GCC maintainers directly, and
nothing on GCC's website about 4.7 / 4.8 states this to be the case.

Patrick


Re: Porting OpenJDK 8

2014-04-20 Thread Yunqiang Su
Great, let me try it on mips64el.
I met some trouble for openjdk-6 and openjdk-7.
Wish openjdk-8 works :-)

On Fri, Apr 18, 2014 at 8:02 PM, Emmanuel Bourg ebo...@apache.org wrote:
 Hi,

 OpenJDK 8 is being packaged [1] and I'm looking for porters willing to
 try and compile it on other architectures. So far it builds fine on
 amd64 and some work has started for kFreeBSD. No other architecture has
 been tested yet, so any help is welcome.

 Thank you,

 Emmanuel Bourg

 [1] http://anonscm.debian.org/gitweb/?p=pkg-java/openjdk-8.git


 --
 To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/53511469.2090...@apache.org




-- 
Yunqiang Su


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cakcpw6u_kz_emc7bfuhvgczbbf2bzufatpjfd0r9wdtzoxf...@mail.gmail.com