Xamarin.iOS: ld: b/bl/blx thumb2 branch out of range

229 views
Skip to first unread message

Siaqodb Support

unread,
Jun 7, 2016, 9:24:09 AM6/7/16
to Siaqodb - NoSQL embedded database for .NET
We got notified by email about a problem using Siaqodb for Xamarin.iOS and build for device, the error is:

ld: b/bl/blx thumb2 branch out of range (29288836 max is +/-16MB): from _mdb_stat (0x0001097C) to _mdb_stat0 (0x01BFF39C) in '_mdb_stat'....

To fix the issue:

1.Compile the project in Release mode
2.Be sure you use lmdb.a located in Siaqodb setup: bin\native\ios\fat\

(Problem is described here: http://stackoverflow.com/questions/23612499/ld-b-bl-blx-thumb2-branch-out-of-range-from and it seems a bug in XCode)
Reply all
Reply to author
Forward
0 new messages