[Buildroot] csky 8xx toolchain issue

Yann E. MORIN yann.morin.1998 at free.fr
Sat Oct 2 20:34:47 UTC 2021


Romain, All,

On 2021-10-02 22:21 +0200, Romain Naour spake thusly:
> Le 02/10/2021 à 20:25, Thomas Petazzoni a écrit :
> > On Sat, 2 Oct 2021 17:58:24 +0200
> > Romain Naour <romain.naour at gmail.com> wrote:
> >> The csky toolchain is still broken with recent host compiler and our CI will
> >> switch to Debian bullseye soon.
[--SNIP--]
> > Considering these issues and the fact that there has been no updates in
> > terms of C-SKY support for a long time, I think we should consider
> > dropping support for the C-SKY CPU architecture.
> csky860 will be supported by gcc 12:
> https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=db92bd223e3957ee58b5a0c0fffd8b7766f1def3

In the meantime, what about just:

    diff --git a/arch/Config.in b/arch/Config.in
    index 1853e26bb4..ab40294ddc 100644
    --- a/arch/Config.in
    +++ b/arch/Config.in
    @@ -77,6 +77,7 @@ config BR2_aarch64_be
     
     config BR2_csky
     	bool "csky"
    +	select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT
     	select BR2_ARCH_HAS_MMU_MANDATORY
     	# Most variants are supported by gcc-9+, except one that is
     	# handled as a special exception in package/gcc/Config.in.host

When we introduce gcc 12, we can move that down to the individual
variants if need be...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list