Bug 57600 - mkbundle --deps not linking dependencies
Summary: mkbundle --deps not linking dependencies
Status: NEW
Alias: None
Product: Tools
Classification: Mono
Component: mkbundle ()
Version: 5.0 (2017-02)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-06-19 18:13 UTC by njr4480
Modified: 2017-08-31 14:45 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
simple hello world program (117 bytes, text/plain)
2017-06-19 18:13 UTC, njr4480
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 57600 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description njr4480 2017-06-19 18:13:32 UTC
Created attachment 22979 [details]
simple hello world program

Passing in --deps to mkbundle no longer links all the dependencies.  It is working properly in 4.8.1 but not in 5.0.0.100

I have attached a hello world program.
Build with mcs to create test.exe
Run 'AS="as -arch i386" mkbundle --deps --i18n none test.exe -c -o temp.c'

Look at temp.c.  It no longer links mscorlib.dll.

Right now I am working around this by listing each dependency individually.  I see this as a major issue going forward.  Accidentally leaving out an assembly here can hide as a bug that doesn't show up until execution hits that assembly.

Thanks in advance,
  Nick