Re: [examples-v2 commit] Add various programs to report default attributes for various POSIX objects

2018-10-09 Thread Joel Sherrill
On Tue, Oct 9, 2018, 4:19 PM Chris Johns wrote: > On 8/10/18 8:56 am, Joel Sherrill wrote: > > diff --git a/posix_api/Makefile b/posix_api/Makefile > > index b070ea9..8af26dc 100644 > > --- a/posix_api/Makefile > > +++ b/posix_api/Makefile > > @@ -4,5 +4,14 @@ include $(RTEMS_SHARE)/make/director

Re: [examples-v2 commit] Add various programs to report default attributes for various POSIX objects

2018-10-09 Thread Chris Johns
On 8/10/18 8:56 am, Joel Sherrill wrote: > diff --git a/posix_api/Makefile b/posix_api/Makefile > index b070ea9..8af26dc 100644 > --- a/posix_api/Makefile > +++ b/posix_api/Makefile > @@ -4,5 +4,14 @@ include $(RTEMS_SHARE)/make/directory.cfg I had forgotten the Makefile.in build support was prese

Re: [rtems commit] leon: do not use -mfix-{device} with Clang

2018-10-09 Thread Daniel Hellstrom
On 2018-10-09 14:59, Sebastian Huber wrote: On 09/10/2018 14:55, Chris Johns wrote: On 9/10/18 4:20 am, Sebastian Huber wrote: I don't have a problem with this patch, but what is the long term strategy for Gaisler-specific machine options in GCC and clang? I am pretty sure this divergence w

Re: [PATCH 01/31] shell: Use #include "..." for local header files

2018-10-09 Thread Chris Johns
On 9/10/18 6:23 am, Sebastian Huber wrote: > Thanks for the review, can I check in the complete patch set? Yes Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: New Coverity Scans (leon3 and qoriq_e6500_64)

2018-10-09 Thread Joel Sherrill
On Tue, Oct 9, 2018 at 7:07 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 09/10/2018 14:05, Joel Sherrill wrote: > > > > > > On Tue, Oct 9, 2018, 7:03 AM Sebastian Huber > > > > wrote: > > > > Hello Joel, > > > > all the SP

Re: [PATCH 01/31] shell: Use #include "..." for local header files

2018-10-09 Thread Sebastian Huber
On 09/10/2018 14:50, Chris Johns wrote: On 8/10/18 10:35 pm, Sebastian Huber wrote: On 09/10/2018 03:41, Chris Johns wrote: On 8/10/18 3:43 am, Sebastian Huber wrote: Update #3375. Why? To keep the count of  command line arguments small. These three header files are used only in the shell di

Re: [rtems commit] leon: do not use -mfix-{device} with Clang

2018-10-09 Thread Sebastian Huber
On 09/10/2018 14:55, Chris Johns wrote: On 9/10/18 4:20 am, Sebastian Huber wrote: I don't have a problem with this patch, but what is the long term strategy for Gaisler-specific machine options in GCC and clang? I am pretty sure this divergence will trouble users at some point. Can we assume

Re: [rtems commit] leon: do not use -mfix-{device} with Clang

2018-10-09 Thread Chris Johns
On 9/10/18 4:20 am, Sebastian Huber wrote: > > I don't have a problem with this patch, but what is the long term strategy for > Gaisler-specific machine options in GCC and clang? I am pretty sure this > divergence will trouble users at some point. > Can we assume there will be all, some or any c

Re: [PATCH 01/31] shell: Use #include "..." for local header files

2018-10-09 Thread Chris Johns
On 8/10/18 10:35 pm, Sebastian Huber wrote: > On 09/10/2018 03:41, Chris Johns wrote: >> On 8/10/18 3:43 am, Sebastian Huber wrote: >>> Update #3375. >> Why? > > To keep the count of  command line arguments small. These three header files > are > used only in the shell directory. They are not ins

Re: New Coverity Scans (leon3 and qoriq_e6500_64)

2018-10-09 Thread Sebastian Huber
On 09/10/2018 14:05, Joel Sherrill wrote: On Tue, Oct 9, 2018, 7:03 AM Sebastian Huber > wrote: Hello Joel, all the SPARC BSP issues disappeared. I see now only the PowerPC BSP issues. Grr.. I guess I should keep building just sparc u

Re: New Coverity Scans (leon3 and qoriq_e6500_64)

2018-10-09 Thread Joel Sherrill
On Tue, Oct 9, 2018, 7:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Joel, > > all the SPARC BSP issues disappeared. I see now only the PowerPC BSP > issues. > Grr.. I guess I should keep building just sparc until the sparc issues are resolved. Or do you want to take

Re: New Coverity Scans (leon3 and qoriq_e6500_64)

2018-10-09 Thread Sebastian Huber
Hello Joel, all the SPARC BSP issues disappeared. I see now only the PowerPC BSP issues. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP :

Re: [rtems commit] leon: do not use -mfix-{device} with Clang

2018-10-09 Thread Sebastian Huber
On 09/10/2018 12:37, Daniel Hellstrom wrote: Module:rtems Branch:master Commit:dc32b6aa0807fb70f9b26bc0bc6e164ddb49bd3a Changeset:http://git.rtems.org/rtems/commit/?id=dc32b6aa0807fb70f9b26bc0bc6e164ddb49bd3a Author:Daniel Hellstrom Date: Fri Aug 31 08:21:05 2018 +0200 leon

Re: [RFC] clang, posix: bypass static assert that does not compile with Clang

2018-10-09 Thread Sebastian Huber
On 08/10/2018 16:07, Daniel Hellstrom wrote: This static assertion ensures that POSIX_SEMAPHORE_VALIDATE_OBJECT() rejects semaphore pointers with a SEM_FAILED value. We could change this macro to test also for SEM_FAILED, but it would result in code like this if (sem == 0 (aka NULL) || sem

Re: [PATCH 2/6] or1k/shared/cache/cache.c: Remove unused methods

2018-10-09 Thread Martin Erik Werner
On Mon, 2018-10-08 at 17:33 -0500, Joel Sherrill wrote: > > > On Mon, Oct 8, 2018 at 9:37 AM Martin Erik Werner > wrote: > > On Mon, 2018-10-08 at 15:28 +0200, Sebastian Huber wrote: > > > Are the intentionally unused or is there some bug and the generic cache > > > manager doesn't use them ac