Bug 2019 - Mono 2.10.6 - '--with-sgens=yes' breaks builds if static libraries aren't enabled
Summary: Mono 2.10.6 - '--with-sgens=yes' breaks builds if static libraries aren't ena...
Alias: None
Product: Runtime
Classification: Mono
Component: packaging ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-11-14 04:27 UTC by Nelson Marques
Modified: 2011-11-16 09:57 UTC (History)
3 users (show)

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:

Description Nelson Marques 2011-11-14 04:27:58 UTC
If we try to build mono 2.10.6 with '--with-sgens=yes' and '--disable-static' the build breaks (Enterprise Linux 6).

Can we have a fix?

Comment 1 Zoltan Varga 2011-11-15 16:56:24 UTC
As the message from configure says, --disable-static is not supported:

   AC_MSG_WARN(Turning off static Mono is a risk, you might run into unexpected bugs)

Static build in this case means the 'mono' executable contains all the runtime code, and is not dynamically linked against 'libmono-2.0.so'.
Comment 2 Nelson Marques 2011-11-15 20:14:03 UTC
Ok, nice to know. I guess I can go around this. From my side, feel free to close.

Comment 3 Zoltan Varga 2011-11-16 09:57:30 UTC