linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Removing architectures without upstream gcc support
@ 2018-02-22 15:45 Arnd Bergmann
  2018-02-22 16:02 ` Christoph Hellwig
                   ` (7 more replies)
  0 siblings, 8 replies; 42+ messages in thread
From: Arnd Bergmann @ 2018-02-22 15:45 UTC (permalink / raw)
  To: linux-arch, Linux Kernel Mailing List
  Cc: Richard Kuo, linux-hexagon, Chen Liqin, Lennox Wu, Guan Xuetao,
	Guenter Roeck, Al Viro, James Hogan, linux-metag, Jonas Bonn,
	Stefan Kristiansson, Stafford Horne, openrisc, David Howells

While building the cross-toolchains, I noticed that overall, we can build almost
all linux target architectures with upstream binutils and gcc these days,
however there are still some exceptions, and I'd like to find out if anyone
has objections to removing the ones that do not have upstream support.
This are the four architectures I found:

* score (s+core, sunplus core) was a proprietary RISC architecture
  made by sunplus. It is unclear if they still ship any products based on
  this architecture, all they list is either ARM Cortex-A9 or an unspecified
  RISC core that could be any of arm, mips, nds32, arc, xtensa or
  something completely different. The two maintainers have both left the
  company many years ago and have not contributed any patches in
  at least five years. There was an upstream gcc port, which was marked
  'obsolete' in 2013 and got removed in gcc-5.0.
  I conclude that this is dead in Linux and can be removed

* unicore32 was a research project at Peking University with a SoC
  based on the Intel PXA design. No gcc source code has ever been
  published, the only toolchain available is a set of binaries that include
  a gcc-4.4 compiler. The project page at
  http://mprc.pku.edu.cn/~guanxuetao/linux/ has a TODO list that has
  not been modified since 2011. The maintainer still Acks patches
  and has last sent a pull request in 2014 and last sent a patch of
  his own in 2012 when the project appears to have stalled.
  I would suggest removing this one.

* Hexagon is Qualcomm's DSP architecture. It is being actively used
  in all Snapdragon ARM SoCs, but the kernel code appears to be
  the result of a failed research project to make a standalone Hexagon
  SoC without an ARM core. There is some information about the
  project at https://wiki.codeaurora.org/xwiki/bin/Hexagon/ and
  https://unix.stackexchange.com/questions/246243/what-is-was-the-qualcomm-hexagon-comet-board
  There is a port to gcc-4.5 on the project page, which is evidently
  abandoned, but there is an active upstream LLVM port that is
  apparently used to build non-Linux programs.
  I would consider this one a candidate for removal as well, given that
  there were never any machines outside of Qualcomm that used this,
  and they are no longer interested themselves.

* Meta was ImgTec's own architecture and they upstreamed the kernel
  port just before they acquired MIPS. Apparently Meta was abandoned
  shortly afterwards and disappeared from imgtec's website in 2014.
  The maintainer is still fixing bugs in the port, but I could not find
  any toolchain more recent than
  https://github.com/img-meta/metag-buildroot/tree/metag-core/toolchain/gcc/4.2.4
  Not sure about this one, I'd be interested in more background
  from James Hogan, who probably has an opinion and might have
  newer toolchain sources.

* OpenRISC is a RISC architecture with a free license and an
  active community. It seems to have lost a bit of steam after RISC-V
  is rapidly taking over that niche, but there are chips out there and
  the design isn't going away. Listing it here for completeness only
  because there is no upstream gcc port yet, but this will hopefully
  change in the future based on
  https://lists.librecores.org/pipermail/openrisc/2018-January/000958.html
  and I had no problems locating the gcc-7.x tree for building my
  toolchains. The port is actively being maintained.

There are also a couple of architectures that are more or less
unmaintained but do have working gcc support: FR-V and M32R
have been orphaned for a while and are not getting updated
MN10300 is still maintained officially by David Howells but doesn't
seem any more active than the other two, the last real updates were
in 2013.

       Arnd

^ permalink raw reply	[flat|nested] 42+ messages in thread
* Re: Removing architectures without upstream gcc support
@ 2018-03-09 14:18 Guan Xuetao
  2018-03-09 14:33 ` Arnd Bergmann
  0 siblings, 1 reply; 42+ messages in thread
From: Guan Xuetao @ 2018-03-09 14:18 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-arch, Linux Kernel Mailing List, Richard Kuo,
	linux-hexagon, Chen Liqin, Lennox Wu, Guan Xuetao, Guenter Roeck,
	Al Viro, James Hogan, linux-metag, Jonas Bonn,
	Stefan Kristiansson, Stafford Horne, David Howells, openrisc

Since mprc.pku.edu.cn is blocked, I use this email account to send the email again.

> * unicore32 was a research project at Peking University with a SoC
>   based on the Intel PXA design. No gcc source code has ever been
>   published, the only toolchain available is a set of binaries that
> include
>   a gcc-4.4 compiler. The project page at
>   http://mprc.pku.edu.cn/~guanxuetao/linux/ has a TODO list that has
>   not been modified since 2011. The maintainer still Acks patches
>   and has last sent a pull request in 2014 and last sent a patch of
>   his own in 2012 when the project appears to have stalled.
>   I would suggest removing this one.
>
Hi, Arnd.
I am really sorry to reply so late, since I seldom use this email account
in recent years. I will add my new email account to related bits.

Let me clarify the status of UniCore. It's a real cpu-core product,
integrated into PKUnity SoC, and sold in a large amount of embedded boxes,
such as cloud terminals and set top boxes. Surely, we still use the port
internally and keep doing developments in other projects. So, I really
appreciate having unicore32 port in the tree.

As to gnu toolchain of UniCore, I have already discussed it in my group,
and I'll do my best to propel it forward.

Thanks,
Guan Xuetao

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2018-03-09 14:37 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 15:45 Removing architectures without upstream gcc support Arnd Bergmann
2018-02-22 16:02 ` Christoph Hellwig
2018-02-22 16:19   ` Arnd Bergmann
2018-02-22 17:14   ` Max Filippov
2018-02-22 18:04     ` Christoph Hellwig
2018-02-23 11:37       ` Arnd Bergmann
2018-02-28  8:59         ` Florian Weimer
2018-02-22 16:07 ` Lennox Wu
2018-02-22 16:28 ` James Hogan
2018-02-22 16:34   ` Arnd Bergmann
2018-02-22 19:17 ` Richard Kuo
2018-02-22 22:43   ` Arnd Bergmann
2018-02-23 17:15     ` Richard Kuo
2018-02-28  2:06     ` Richard Kuo
2018-02-28  8:37       ` Arnd Bergmann
2018-03-03  1:43         ` Richard Kuo
2018-02-22 23:48 ` Guenter Roeck
2018-02-23 10:32   ` Arnd Bergmann
2018-02-23 12:09     ` Andy Shevchenko
2018-02-23 12:20       ` Arnd Bergmann
2018-02-23 14:32     ` Guenter Roeck
2018-02-23 15:43     ` Alan Cox
2018-02-23 17:10       ` Guenter Roeck
2018-02-23 18:19         ` Al Viro
2018-02-23 19:32           ` James Bottomley
2018-02-23 21:34             ` Adam Borowski
2018-02-24  4:04               ` Guenter Roeck
2018-02-24 21:55             ` Guenter Roeck
2018-02-25 19:39           ` [OpenRISC] " Richard Henderson
2018-02-23 23:49         ` Greg Ungerer
2018-02-25 20:28         ` Alan Cox
2018-02-25 22:50           ` Pavel Machek
2018-02-24  0:15 ` Florian Fainelli
2018-02-26  8:26   ` Arnd Bergmann
2018-02-26 22:11     ` Eric W. Biederman
2018-02-25 15:43 ` [OpenRISC] " Philipp Wagner
2018-02-26  8:00   ` Arnd Bergmann
2018-02-26 12:10     ` Philipp Wagner
2018-02-26 15:24       ` whitequark
2018-03-09 14:00 ` Xuetao Guan
2018-03-09 14:18 Guan Xuetao
2018-03-09 14:33 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).