You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/05 10:57:36 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #6365: Revert "sched/tls: Don't compensate the tls size to the stack size"

masayuki2009 commented on PR #6365:
URL: https://github.com/apache/incubator-nuttx/pull/6365#issuecomment-1146783590

   ```
   
   In file included from pthread/pthread_create.c:39:
   pthread/pthread_create.c: In function 'nx_pthread_create':
   Error: pthread/pthread_create.c:294:29: error: invalid application of 'sizeof' to incomplete type 'struct tls_info_s'
     294 |                             up_tls_size() + attr->stacksize,
         |                             ^~~~~~~~~~~
   make[1]: *** [Makefile:58: pthread_create.o] Error 1
   In file included from task/task_init.c:34:
   task/task_init.c: In function 'nxtask_init':
   Error: task/task_init.c:134:29: error: invalid application of 'sizeof' to incomplete type 'struct tls_info_s'
     134 |                             up_tls_size() + stack_size,
         |                             ^~~~~~~~~~~
   make[1]: *** [Makefile:58: task_init.o] Error 1
   make[1]: Target 'libsched.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:59: sched/libsched.a] Error 2
   make: Target 'all' not remade because of errors.
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org