public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Status of newlib toolchain targets
@ 2016-03-18  2:50 Yaakov Selkowitz
  2016-03-18  3:08 ` Chris Johns
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2016-03-18  2:50 UTC (permalink / raw)
  To: newlib

With binutils-2.25.1, gcc-5.3.0, and newlib-2.3.0.20160226:

iq2000-elf (PR64400), m32c-elf (PR64375), and mep-elf (PR64402) still do 
not build; the latter has been declared obsolete.

arm-eabi newlib requires a small include path fix; will post shortly.

cr16-elf and lm32-elf require a patch to include newlib-stdint.h:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-stdint.patch
(Nick: I see cr16 committed but not lm32?)

frv-elf requires r222519:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-frv-r222519.patch

m32r-elf requires r226445:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-m32r-attributes.patch

moxie-elf binutils requires some post-2.25 commits:
https://raw.githubusercontent.com/cygwinports-extras/cross-binutils/master/2.25-moxie-opcodes.patch

v850-elf requires a patch to remove a feature added to binutils 
post-2.25, and a backport of r232451:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-v850-msoft-float.patch
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-v850-PR65501.patch

With the above fixes, the following targets build successfully:

aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf 
epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf 
lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf 
mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf 
powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi 
powerpcle-eabisim rl78-elf rx-elf sh-elf sh64-elf sparc-elf sparc64-elf 
spu-elf tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix

-- 
Yaakov Selkowitz
Associate Software Engineer, ARM
Red Hat, Inc.

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

* Re: Status of newlib toolchain targets
  2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
@ 2016-03-18  3:08 ` Chris Johns
  2016-03-18 13:04   ` Joel Sherrill
  2016-03-18  9:41 ` Nick Clifton
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 7+ messages in thread
From: Chris Johns @ 2016-03-18  3:08 UTC (permalink / raw)
  To: Yaakov Selkowitz, newlib

On 18/03/2016 13:49, Yaakov Selkowitz wrote:
>
> With the above fixes, the following targets build successfully:
>
> aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf
> epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf
> lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf
> mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf
> powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi
> powerpcle-eabisim rl78-elf rx-elf sh-elf sh64-elf sparc-elf sparc64-elf
> spu-elf tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix
>

Fantastic and well done.

When is the next newlib snapshot due? When one appears I can start to 
see how RTEMS goes.

Chris

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

* Re: Status of newlib toolchain targets
  2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
  2016-03-18  3:08 ` Chris Johns
@ 2016-03-18  9:41 ` Nick Clifton
  2016-03-18 19:33 ` Yaakov Selkowitz
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Nick Clifton @ 2016-03-18  9:41 UTC (permalink / raw)
  To: Yaakov Selkowitz, newlib

Hi Yaakov,

> cr16-elf and lm32-elf require a patch to include newlib-stdint.h:
> https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-stdint.patch
> (Nick: I see cr16 committed but not lm32?)

True - but for some reason the patch *is* in the current gcc sources.

I suspect a snafu - I probably checked it in as part of a commit for a
different patch and nobody noticed, not even me.  Doh.  Personally I am
not sure if it is worth the noise to correct the mistake.

Cheers
  Nick
 

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

* Re: Status of newlib toolchain targets
  2016-03-18  3:08 ` Chris Johns
@ 2016-03-18 13:04   ` Joel Sherrill
  0 siblings, 0 replies; 7+ messages in thread
From: Joel Sherrill @ 2016-03-18 13:04 UTC (permalink / raw)
  To: Chris Johns; +Cc: Yaakov Selkowitz, newlib

On 03/17/2016 10:08 PM, Chris Johns wrote:
> On 18/03/2016 13:49, Yaakov Selkowitz wrote:
>> With the above fixes, the following targets build successfully:
>>
>> aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf
>> epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf
>> lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf
>> mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf
>> powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi
>> powerpcle-eabisim rl78-elf rx-elf sh-elf sh64-elf sparc-elf sparc64-elf
>> spu-elf tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix
>>
> Fantastic and well done.
>
I just started a build of tools for all RTEMS targets using the
binutils-gdb, newlib, and gcc master's. When those are finished,
I will try RTEMS itself.
> When is the next newlib snapshot due? When one appears I can start to
> see how RTEMS goes.
>

Assuming RTEMS builds ok using the master. :)

If this test sweep is OK, once we bump our tools to the next snapshots
for gcc and newlib, I will get someone to run the FACE Conformance Test
Suite and see if it is happy with the feature test changes.


> Chris
--joel

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

* Re: Status of newlib toolchain targets
  2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
  2016-03-18  3:08 ` Chris Johns
  2016-03-18  9:41 ` Nick Clifton
@ 2016-03-18 19:33 ` Yaakov Selkowitz
  2016-04-07 16:02 ` Status of newlib toolchain targets, April 2016 Yaakov Selkowitz
  2016-05-17  5:59 ` Status of newlib toolchain targets, May 2016 Yaakov Selkowitz
  4 siblings, 0 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2016-03-18 19:33 UTC (permalink / raw)
  To: newlib

On 2016-03-17 21:49, Yaakov Selkowitz wrote:
> With binutils-2.25.1, gcc-5.3.0, and newlib-2.3.0.20160226:

Just noticed that sparc64-elf sometimes fails with the following:

https://sourceware.org/ml/newlib/2013/msg00740.html

I'm still not sure why sometimes it does compile though.

-- 
Yaakov

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

* Status of newlib toolchain targets, April 2016
  2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
                   ` (2 preceding siblings ...)
  2016-03-18 19:33 ` Yaakov Selkowitz
@ 2016-04-07 16:02 ` Yaakov Selkowitz
  2016-05-17  5:59 ` Status of newlib toolchain targets, May 2016 Yaakov Selkowitz
  4 siblings, 0 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2016-04-07 16:02 UTC (permalink / raw)
  To: newlib

With binutils-2.26, gcc-5.3.0, and newlib-2.4.0:

For C99-in-C++ support, two patches are required:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-funcs.patch
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-glibcxx-use-c99.patch

iq2000-elf (PR64400), m32c-elf (PR64375), and mep-elf (PR64402) still do 
not build; the latter has been made obsolete in GCC 6.

cr16-elf and lm32-elf gcc require a patch to include newlib-stdint.h:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-stdint.patch

frv-elf gcc requires r222519:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-frv-r222519.patch

m32r-elf gcc requires r226445:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-m32r-attributes.patch

sparc64-elf newlib sporadically fails to build:
https://sourceware.org/ml/newlib/2013/msg00740.html

tic6x-elf binutils requires the fix for PR gas/19614:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd5608dcc6a76876db06b1af1852252a4282aa2f

v850-elf gcc requires a backport of r232451:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-v850-PR65501.patch

With the above fixes, the following targets build successfully and with 
_GLIBCXX_ENABLE_C99 (so e.g. std::to_string and std::stod are now 
available with -std=c++11):

aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf 
epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf 
lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf 
mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf 
powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi 
powerpcle-eabisim rl78-elf rx-elf sh-elf sh64-elf sparc-elf sparc64-elf 
spu-elf tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix

-- 
Yaakov Selkowitz
Associate Software Engineer, ARM
Red Hat, Inc.

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

* Status of newlib toolchain targets, May 2016
  2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
                   ` (3 preceding siblings ...)
  2016-04-07 16:02 ` Status of newlib toolchain targets, April 2016 Yaakov Selkowitz
@ 2016-05-17  5:59 ` Yaakov Selkowitz
  4 siblings, 0 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2016-05-17  5:59 UTC (permalink / raw)
  To: newlib

With binutils-2.26, gcc-6.1.0, and newlib-2.4.0:

For C99-in-C++ support, a patch is required:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-funcs.patch

mep-elf (not mentioned in the release notes) and sh64-elf (per release 
notes, but not in gcc/config.gcc) are now obsolete.

iq2000-elf still fails to bootstrap:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64400

m32c-elf -mcpu=m32cm newlib still does not build:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64375

[6 Regression] h8300-elf, msp430-elf, rl78-elf, and xstormy16-elf 
libstdc++ FTBFS with <32-bit-pointer multilibs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71133 (patch?)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71135

sparc64-elf newlib sporadically fails to build:
https://sourceware.org/ml/newlib/2013/msg00740.html

Besides those issues, the following targets build successfully:

aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf 
epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf 
lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf 
mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf 
powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi 
powerpcle-eabisim rl78-elf rx-elf sh-elf sparc-elf sparc64-elf spu-elf 
tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix

-- 
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.

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

end of thread, other threads:[~2016-05-17  5:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-18  2:50 Status of newlib toolchain targets Yaakov Selkowitz
2016-03-18  3:08 ` Chris Johns
2016-03-18 13:04   ` Joel Sherrill
2016-03-18  9:41 ` Nick Clifton
2016-03-18 19:33 ` Yaakov Selkowitz
2016-04-07 16:02 ` Status of newlib toolchain targets, April 2016 Yaakov Selkowitz
2016-05-17  5:59 ` Status of newlib toolchain targets, May 2016 Yaakov Selkowitz

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 read-only IMAP folder(s) and NNTP newsgroup(s).