RTEMS Source Builder | rtems/tools: Bump Newlib hash for bitset update (!268)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Jun 12 09:10:58 UTC 2026




Sebastian Huber commented on a discussion: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/268#note_152335


If I compile the current `main` branch, I get this error with the tools from this RSB:
```
In file included from ../../../cpukit/include/rtems/score/smpimpl.h:43,
                 from ../../../bsps/shared/dev/clock/arm-generic-timer.c:46:
../../../cpukit/include/rtems/score/processormaskimpl.h: In function '_Processor_mask_To_cpu_set_t':
../../../cpukit/include/rtems/score/processormaskimpl.h:409:5: error: pointer targets in passing argument 1 of '_Processor_mask_Copy' differ in signedness [-Werror=pointer-sign]
  409 |     &dst->__bits[ 0 ],
      |     ^~~~~~~~~~~~~~~~~
      |     |
      |     long unsigned int *
../../../cpukit/include/rtems/score/processormaskimpl.h:380:15: note: expected 'long int *' but argument is of type 'long unsigned int *'
  380 |   long       *dst,
      |   ~~~~~~~~~~~~^~~
../../../cpukit/include/rtems/score/processormaskimpl.h:411:5: error: pointer targets in passing argument 3 of '_Processor_mask_Copy' differ in signedness [-Werror=pointer-sign]
  411 |     &src->__bits[ 0 ],
      |     ^~~~~~~~~~~~~~~~~
      |     |
      |     const long unsigned int *
../../../cpukit/include/rtems/score/processormaskimpl.h:382:15: note: expected 'const long int *' but argument is of type 'const long unsigned int *'
  382 |   const long *src,
      |   ~~~~~~~~~~~~^~~
../../../cpukit/include/rtems/score/processormaskimpl.h: In function '_Processor_mask_From_cpu_set_t':
../../../cpukit/include/rtems/score/processormaskimpl.h:439:5: error: pointer targets in passing argument 1 of '_Processor_mask_Copy' differ in signedness [-Werror=pointer-sign]
  439 |     &dst->__bits[ 0 ],
      |     ^~~~~~~~~~~~~~~~~
      |     |
      |     long unsigned int *
../../../cpukit/include/rtems/score/processormaskimpl.h:380:15: note: expected 'long int *' but argument is of type 'long unsigned int *'
  380 |   long       *dst,
      |   ~~~~~~~~~~~~^~~
../../../cpukit/include/rtems/score/processormaskimpl.h:441:5: error: pointer targets in passing argument 3 of '_Processor_mask_Copy' differ in signedness [-Werror=pointer-sign]
  441 |     &src->__bits[ 0 ],
      |     ^~~~~~~~~~~~~~~~~
      |     |
      |     const long unsigned int *
../../../cpukit/include/rtems/score/processormaskimpl.h:382:15: note: expected 'const long int *' but argument is of type 'const long unsigned int *'
  382 |   const long *src,
      |   ~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors
```
This issue is fixed by https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1096, however, if you build the RTEMS of this MR with the old tools, you get again a signedness error.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/268#note_152335
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260612/3442ce44/attachment.htm>


More information about the bugs mailing list