You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5468 Reporter: dario Assigned to: meyer Status: closed (set by meyer on 2012-09-16T20:44:58Z) Resolution: fixed Priority: normal Severity: minor Target version: 4.00.1+dev Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues Monitored by:@xclerc
Bug description
Consider packages foo, bar1, and bar2, where both bar1 and bar2 depend on foo. Moreover, bar2 should appear before bar1 when linking.
The problem is if Ocamlbuild is given the _tags file below, it will correctly put foo before bar1 and bar2, but it's also likely to change the order between bar1 and bar2, causing linking problems.
true: package(bar2), package(bar1), package(foo)
This sort of problem could be easily avoided if Ocamlbuild were to preserve the package order when there is no known dependency between packages.
The text was updated successfully, but these errors were encountered:
Just checked a small dummy example with 4.01.0+dev8_2012-09-10. The order is now preserved indeed -- thanks! I still haven't been able to test it with the real world project which prompted my initial bug report though, because it depends on some external libraries which are not yet compatible with 4.00. Nevertheless, I assume it's safe to close this issue. If eventually I run into any problems I'll reopen it...
Original bug ID: 5468
Reporter: dario
Assigned to: meyer
Status: closed (set by meyer on 2012-09-16T20:44:58Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: 4.00.1+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @xclerc
Bug description
Consider packages foo, bar1, and bar2, where both bar1 and bar2 depend on foo. Moreover, bar2 should appear before bar1 when linking.
The problem is if Ocamlbuild is given the _tags file below, it will correctly put foo before bar1 and bar2, but it's also likely to change the order between bar1 and bar2, causing linking problems.
true: package(bar2), package(bar1), package(foo)
This sort of problem could be easily avoided if Ocamlbuild were to preserve the package order when there is no known dependency between packages.
The text was updated successfully, but these errors were encountered: