Bug 1022 - linking with lib_lwf_jp2 and SGen doesn't work in simulator
Summary: linking with lib_lwf_jp2 and SGen doesn't work in simulator
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 4.x
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2011-09-23 19:18 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2012-04-04 10:18 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 Developer Community or GitHub 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 Rolf Bjarne Kvinge [MSFT] 2011-09-23 19:18:38 UTC
Summary says it all. 

See assistly 2578 for a complete test case.
Comment 1 Rodrigo Kumpera 2011-11-07 19:13:35 UTC
Hi Rolf,

I can reproduce the customer issue without sgen enabled.
I followed http://docs.xamarin.com/ios/advanced_topics/linking_native_libraries and no luck.

The .a file is i386 only.

Jeff, since you're the LinkWith guy, please take a look.
Comment 2 Jeffrey Stedfast 2011-11-08 11:34:37 UTC
Looks like his -gcc_flags options are correct and the gcc command-line in my build log for his project are also correct (after fixing his hard-coded path), at least as far as I can tell.

Could there be a symbol collision between SGen and lib_lwf_jp2?

As he said, if I disable SGen, it works fine.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-04-04 10:18:03 UTC
I cannot reproduce this anymore with 5.3.3