[
https://issues.apache.org/jira/browse/MYNEWT-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011226#comment-16011226
]
ASF subversion and git services commented on MYNEWT-753:
--------------------------------------------------------
Commit da27d98ee87945d67589f62a870954ededdb500a in incubator-mynewt-newt's
branch refs/heads/master from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-newt.git;h=da27d98
]
This closes #59.
Merge remote-tracking branch 'ccollins476ad/sysinit-inconsistent'
* ccollins476ad/sysinit-inconsistent:
MYNEWT-753 newt - sysinit file inconsistent
> newt - generated sysinit file inconsistent
> ------------------------------------------
>
> Key: MYNEWT-753
> URL: https://issues.apache.org/jira/browse/MYNEWT-753
> Project: Mynewt
> Issue Type: Bug
> Reporter: Christopher Collins
> Assignee: Christopher Collins
> Fix For: v1_1_0_rel
>
>
> In the generated sysinit C file, calls to initialization functions are sorted
> by stage number. Within a stage number, the ordering is random, and varies
> from one build to the next. The randomness comes from Golang's random
> iteration of maps.
> This is bad because it prevents repeatable builds, and causes unnecessary
> rebuilds.
> The fix is to sort alphabetically by package name within a stage number. So,
> * First sort by stage number
> * Then sort by package name.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)