Re: libbsd configure removes -D flags from CFLAGS of pkg-config

2020-09-13 Thread Chris Johns
On 14/9/20 3:06 pm, Sebastian Huber wrote: > On 14/09/2020 01:46, Chris Johns wrote: >> On 13/9/20 3:46 am, Sebastian Huber wrote: >>> Hello, >>> >>> I can't build the libbsd for powerpc/beatnik: >>> >>> - >>> Compiler version (powerpc-rtems6-gcc) >>> 10.

[PATCH] bsps/riscv: Use far jump to boot_card()

2020-09-13 Thread Sebastian Huber
Use a far jump to avoid errors like this: relocation truncated to fit: R_RISCV_JAL against symbol `boot_card' --- bsps/riscv/shared/start/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/riscv/shared/start/start.S b/bsps/riscv/shared/start/start.S index a8ff1b079f.

Re: libbsd configure removes -D flags from CFLAGS of pkg-config

2020-09-13 Thread Sebastian Huber
On 14/09/2020 01:46, Chris Johns wrote: On 13/9/20 3:46 am, Sebastian Huber wrote: Hello, I can't build the libbsd for powerpc/beatnik: - Compiler version (powerpc-rtems6-gcc) 10.2.1 20200904 (RTEMS 6, RSB 47f32b8b1a597b5ed3475722bdc155249ef51115, Ne

Re: rtems_task_create_from_config() Name?

2020-09-13 Thread Sebastian Huber
On 14/09/2020 00:30, Chris Johns wrote: On 14/9/20 12:11 am, Sebastian Huber wrote: Hello Joel, On 12/09/2020 05:38, Joel Sherrill wrote: Hi Starting another thread just to discuss this method's name. I wonder if the config part is more important than the static allocation of resources part.

Re: libbsd configure removes -D flags from CFLAGS of pkg-config

2020-09-13 Thread Chris Johns
On 13/9/20 3:46 am, Sebastian Huber wrote: > Hello, > > I can't build the libbsd for powerpc/beatnik: > > - > Compiler version (powerpc-rtems6-gcc) > 10.2.1 20200904 (RTEMS 6, RSB 47f32b8b1a597b5ed3475722bdc155249ef51115, Newlib > a0d7982) > Opening and

Re: [rtems-test] sparc/erc32: RTEMS_DEBUG, RTEMS_POSIX_API: Passed:578 Failed:1 Timeout:0 Test-Too-long:0 Invalid:0 Wrong:0

2020-09-13 Thread Chris Johns
On 13/9/20 6:17 pm, Sebastian Huber wrote: > On 12/09/2020 01:59, j...@rtems.org wrote: > >> Summary >> === >> >> Passed:    578 >> Failed:  1 >> User Input:  6 >> Expected Fail:   1 >> Indeterminate:   0 >> Benchmark:   3 >> Timeout: 0 >> Test too long:   0 >> Inva

Re: [PATCH] CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE

2020-09-13 Thread Chris Johns
On 13/9/20 6:31 pm, Sebastian Huber wrote: > On 12/09/2020 01:31, Chris Johns wrote: >> On 12/9/20 12:10 am, Joel Sherrill wrote: >> [...] >>> Did we decide if there had to be an explicit configure >>> option to even use this API? Chris and I discussed this >>> as an idea to force a user to make a

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Chris Johns
On 14/9/20 7:17 am, Joel Sherrill wrote: > > > On Sun, Sep 13, 2020 at 3:41 AM Sebastian Huber > > > wrote: > > On 12/09/2020 02:53, Chris Johns wrote: > > > On 12/9/20 1:34 am, Sebastian Huber wrote: > >> + * @par Notes > >> + * By

Re: rtems_task_create_from_config() Name?

2020-09-13 Thread Chris Johns
On 14/9/20 12:11 am, Sebastian Huber wrote: > Hello Joel, > > On 12/09/2020 05:38, Joel Sherrill wrote: >> Hi >> >> Starting another thread just to discuss this method's name. I wonder if the >> config part is more important than the static allocation of resources part. >> Which should be emphasiz

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Joel Sherrill
On Sun, Sep 13, 2020 at 3:41 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 12/09/2020 02:53, Chris Johns wrote: > > > On 12/9/20 1:34 am, Sebastian Huber wrote: > >> + * @par Notes > >> + * By default, the calculation for the required memory in the RTEMS > Workspace > >> + *

Re: [PATCH] Confstr Patches

2020-09-13 Thread Joel Sherrill
Review feedback should stay on the list. :) On Sat, Sep 12, 2020 at 4:29 PM Eshan Dhawan wrote: > > > > On Sat, Sep 12, 2020 at 2:45 AM Joel Sherrill wrote: > >> This looks close to me but I see some minor issues. I have tried to >> annotate them. >> >> The spacing ones could be spaces vs tabs.

Re: rtems_task_create_from_config() Name?

2020-09-13 Thread Sebastian Huber
Hello Joel, On 12/09/2020 05:38, Joel Sherrill wrote: Hi Starting another thread just to discuss this method's name. I wonder if the config part is more important than the static allocation of resources part. Which should be emphasized in the name? From config puts focus on the attributes p

Re: [PATCH v4 2/5] rtems: Add rtems_task_create_from_config()

2020-09-13 Thread Sebastian Huber
On 12/09/2020 02:53, Chris Johns wrote: On 12/9/20 1:34 am, Sebastian Huber wrote: + * @par Notes + * By default, the calculation for the required memory in the RTEMS Workspace + * for tasks assumes that all Classic API Tasks are created by + * rtems_task_create(). This configuration option ca

Re: [PATCH] CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE

2020-09-13 Thread Sebastian Huber
On 12/09/2020 01:31, Chris Johns wrote: On 12/9/20 12:10 am, Joel Sherrill wrote: [...] Did we decide if there had to be an explicit configure option to even use this API? Chris and I discussed this as an idea to force a user to make a very conscious decision to allow it. Sebastian did not lik

Re: [PATCH v4 1/5] CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE

2020-09-13 Thread Sebastian Huber
On 12/09/2020 02:33, Chris Johns wrote: On 12/9/20 1:34 am, Sebastian Huber wrote: +const size_t _Thread_Maximum_TLS_size = + CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZE; Should rtems-exeinfo report this? Yes, this would be helpful. Then you can see if you get a fatal error during the system

Re: [rtems-test] sparc/erc32: RTEMS_DEBUG, RTEMS_POSIX_API: Passed:578 Failed:1 Timeout:0 Test-Too-long:0 Invalid:0 Wrong:0

2020-09-13 Thread Sebastian Huber
On 12/09/2020 01:59, j...@rtems.org wrote: Summary === Passed:578 Failed: 1 User Input: 6 Expected Fail: 1 Indeterminate: 0 Benchmark: 3 Timeout: 0 Test too long: 0 Invalid: 0 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0