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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to