RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-26 Thread Schock, Johannes - NIVUS GmbH
> From: Gregory Nutt [mailto:spudan...@gmail.com] > I just configured a new computer and I am having problems with MSYS2.  I > can't even create the "symbolic" links needed at start up.  I am not > sure why.  Probably some priveleges issues. I activate Windows 10 Developer Mode, and create an envi

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-26 Thread Gregory Nutt
I'm currently updating MSYS2, and will then repeat the build. Then I'll test on another computer. And when it's happening there as well, I'll try to narrow down the reason. I just configured a new computer and I am having problems with MSYS2.  I can't even create the "symbolic" links needed

RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-26 Thread Schock, Johannes - NIVUS GmbH
> -Original Message- > From: Gregory Nutt [mailto:spudan...@gmail.com] > Sent: Tuesday, May 26, 2020 4:20 PM > To: dev@nuttx.apache.org > Subject: Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED > not set > > > Today I had time to return to

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-26 Thread Gregory Nutt
Today I had time to return to nuttx and rebased to master. But after doing a distclean and configuration, the build process on MSYS2 is extremely slow. It takes hours for a build with "make -j8 V=1". I already had my company admin disable antivirus. Had there been a change in the process? I us

RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-26 Thread Schock, Johannes - NIVUS GmbH
pudan...@gmail.com] > Sent: Saturday, May 23, 2020 5:02 PM > To: dev@nuttx.apache.org > Subject: Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED > not set > > > > PR #1105 should eliminate the primary cause of the error: fs_fdopen() > > will not l

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-23 Thread Gregory Nutt
PR #1105 should eliminate the primary cause of the error: fs_fdopen() will not longer set the errno  variable.  The secondary error, the uninitialized stack description, is still a problem. Since the errno value was only set before fs_fdopen() failed, this means that you system will still no

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-23 Thread Gregory Nutt
PR #1105 should eliminate the primary cause of the error: fs_fdopen() will not longer set the errno  variable.  The secondary error, the uninitialized stack description, is still a problem. On 5/22/2020 10:19 PM, Gregory Nutt wrote: The new implementation of set_errno require all thread(incl

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread Gregory Nutt
The new implementation of set_errno require all thread(include IDLE) initialize the stack related fields in tcb_s correctly. But many chipset forget to setup them for IDLE thread. TODO contain an item described this: ... snip ... Hello, I think there's a problem with set_errno() in nx_sta

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread Xiang Xiao
de and approve. Here is the email: https://lists.apache.org/thread.html/r76ac7aa434cf982acd4c7227ede7221ad7a09b9235a99c188f716199%40%3Cdev.nuttx.apache.org%3E > > David > > > > -Original Message- > From: Xiang Xiao [mailto:xiaoxiang781...@gmail.com] > Sent: Friday, May 22, 2020 4:51 AM > To: dev@nuttx.apache.o

RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread Schock, Johannes - NIVUS GmbH
> From: Xiang Xiao [mailto:xiaoxiang781...@gmail.com] > Sent: Friday, May 22, 2020 1:51 PM > To: dev@nuttx.apache.org > Subject: Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED > not set > > The new implementation of set_errno require all thread(include IDLE

RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread David Sidrane
- From: Xiang Xiao [mailto:xiaoxiang781...@gmail.com] Sent: Friday, May 22, 2020 4:51 AM To: dev@nuttx.apache.org Subject: Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set The new implementation of set_errno require all thread(include IDLE) initialize the stack related fields

Re: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread Xiang Xiao
The new implementation of set_errno require all thread(include IDLE) initialize the stack related fields in tcb_s correctly. But many chipset forget to setup them for IDLE thread. TODO contain an item described this: Task:IDLE THREAD TCB SETUP Description: There are issues with setting

RE: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not set

2020-05-22 Thread Schock, Johannes - NIVUS GmbH
Another try with ".txt" extension. > -Original Message- > From: Schock, Johannes - NIVUS GmbH > [mailto:johannes.sch...@nivus.com] > Sent: Friday, May 22, 2020 1:40 PM > To: 'dev@nuttx.apache.org' > Subject: Arm Kinetis: set_errno in nx_start with CONFIG_TLS_ALIGNED not > set > > Hello, >