Bug 5915 - mkbundle doesn't work on x64 OSX
Summary: mkbundle doesn't work on x64 OSX
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-28 22:09 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2012-06-30 18:16 UTC (History)
4 users (show)

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

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 on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Rolf Bjarne Kvinge [MSFT] 2012-06-28 22:09:20 UTC
It seems to produce invalid assembly:

temp.s:2:unknown section type: symbol_stubs
temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).
(and a lot of these)
Comment 2 Zoltan Varga 2012-06-29 06:53:22 UTC
That error is easy to fix, just remove this line from mkbundle.cs:


				"\t.section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32\n" + 

After that, it still fails because it tries to link the 32 bit mono libraries into a 64 bit executable. Do you want to produce 64 bit executables ? This will be problematic as mono was traditionally 32 bit on osx.
Comment 3 Zoltan Varga 2012-06-30 18:16:58 UTC
Should be fixed.