[Mono-bugs] [Bug 614512] New: Compiling for device with any linking turned on causes linker to not find linked-in C library
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jun 15 15:58:48 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=614512
http://bugzilla.novell.com/show_bug.cgi?id=614512#c0
Summary: Compiling for device with any linking turned on causes
linker to not find linked-in C library
Classification: Mono
Product: MonoTouch
Version: SVN
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Major
Priority: P5 - None
Component: Tools
AssignedTo: gnorton at novell.com
ReportedBy: ed at anuff.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Using latest 3.0.x release, worked in previous 2.0.x releases.
Linking in a C library. With the linker behavior set to "Don't Link", the
build succeeds. If the linker behavior is set to "Link all assemblies" or
"Link SDK only", then a linked-in C library is apparently being stripped out
and the build fails with the following error message:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6
-gdwarf-2 -miphoneos-version-min=3.0 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/PocketMV.exe.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/monotouch.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/System.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/System.Xml.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/mscorlib.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/System.Core.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/Mono.Security.dll.o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/registrar.m
-I/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/include
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/main.o -o
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/PocketMV
-framework CFNetwork -framework CoreFoundation -framework Foundation -framework
CoreGraphics -framework UIKit -framework StoreKit -framework AudioToolbox
-framework QuartzCore -framework MediaPlayer -dead_strip -lz -u
_catch_exception_raise -u _CreateZStream -u _CloseZStream -u _Flush -u
_ReadZStream -u _WriteZStream -liconv -lmono -lmonotouch
-L/Developer/MonoTouch/SDKs/MonoTouch.iphoneos.sdk/usr/lib
-L/Users/edanuff/Development/MonoDevelop/Projects/PocketMV/PocketMV -lopenjpeg
-all_load -lstdc++
/Developer/usr/bin/dsymutil
/Users/edanuff/Development/MonoDevelop/Projects/PocketMV/PocketMV/bin/iPhone/Debug/PocketMV.app/PocketMV
-o
/Users/edanuff/Development/MonoDevelop/Projects/PocketMV/PocketMV/bin/iPhone/Debug/PocketMV.app.dSYM
warning: (armv6) /var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-//ccxtQDkM.o
unable to open object file
/usr/bin/strip -s
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/symbol-file
/Users/edanuff/Development/MonoDevelop/Projects/PocketMV/PocketMV/bin/iPhone/Debug/PocketMV.app/PocketMV
/usr/bin/strip: symbols names listed in:
/var/folders/bN/bNNyovynEUaeui1jOJWV5U+++TI/-Tmp-/tmp45ffc4b0.tmp/symbol-file
not in:
/Users/edanuff/Development/MonoDevelop/Projects/PocketMV/PocketMV/bin/iPhone/Debug/PocketMV.app/PocketMV
_DotNetAllocDecoded
_DotNetAllocDecoded64
_DotNetAllocEncoded
_DotNetAllocEncoded64
_DotNetDecode
_DotNetDecode64
_DotNetDecodeWithInfo
_DotNetDecodeWithInfo64
_DotNetEncode
_DotNetEncode64
_DotNetFree
_DotNetFree64
_DotNetAllocDecoded, etc. are entrypoints in libopenjpeg.a.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list