RTEMS | Draft: wscript: duplicated option section_flags (!1166)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Mar 26 07:58:11 UTC 2026
Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1166#note_147156
This doesn't fix the root cause. The root cause is that `optsectionflags` is linked multiple times:
```
grep -r -C 3 optsectionflags spec
spec/build/bsps/opttestoptflags.yml-format: '{}'
spec/build/bsps/opttestoptflags.yml-links:
spec/build/bsps/opttestoptflags.yml-- role: build-dependency
spec/build/bsps/opttestoptflags.yml: uid: optsectionflags
spec/build/bsps/opttestoptflags.yml-name: TEST_OPTIMIZATION_FLAGS
spec/build/bsps/opttestoptflags.yml-type: build
--
spec/build/bsps/optcpukitoptflags.yml-format: '{}'
spec/build/bsps/optcpukitoptflags.yml-links:
spec/build/bsps/optcpukitoptflags.yml-- role: build-dependency
spec/build/bsps/optcpukitoptflags.yml: uid: optsectionflags
spec/build/bsps/optcpukitoptflags.yml-name: CPUKIT_OPTIMIZATION_FLAGS
spec/build/bsps/optcpukitoptflags.yml-type: build
--
spec/build/bsps/optsectionflags.yml- if different section handling behaviour is required.
spec/build/bsps/optsectionflags.yml-enabled-by: true
spec/build/bsps/optsectionflags.yml-links: []
spec/build/bsps/optsectionflags.yml:uid: optsectionflags
spec/build/bsps/optsectionflags.yml-name: SECTION_FLAGS
spec/build/bsps/optsectionflags.yml-type: build
--
spec/build/bsps/optbspoptflags.yml-format: '{}'
spec/build/bsps/optbspoptflags.yml-links:
spec/build/bsps/optbspoptflags.yml-- role: build-dependency
spec/build/bsps/optbspoptflags.yml: uid: optsectionflags
spec/build/bsps/optbspoptflags.yml-name: BSP_OPTIMIZATION_FLAGS
spec/build/bsps/optbspoptflags.yml-type: build
```
These options should have no links to `optsectionflags`.
See !1167.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1166#note_147156
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/20260326/47b44e2d/attachment-0001.htm>
More information about the bugs
mailing list