[Mono-bugs] [Bug 51590][Maj] New - --version-script not supported on OS X

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Jan 2004 16:19:31 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=51590

--- shadow/51590	2004-01-23 16:19:31.000000000 -0500
+++ shadow/51590.tmp.31145	2004-01-23 16:19:31.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 51590
+Product: Mono/Runtime
+Version: unspecified
+OS: unknown
+OS Details: 10.3.1
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rshade@dvsconsulting.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: --version-script not supported on OS X
+
+The linker flag --version-script is not supported on OS X.  This sets options for libraries that 
+are only applicable to ELF binaries, OSX uses MACH.  This is used in mono/mini and causes 
+the build to fail.
+
+As a workaround, one can just comment out the line:
+
+libmono_la_LDFLAGS=-Wl,-version-script=$(srcdir)/ldscript
+
+in mono/mini/Makefile.am and rerun autogen.sh.  This additional flag needs to be optional 
+depending on the platform.  It should fail on any platform not using ELF binaries.
+
+------- Additional Comments From rshade@dvsconsulting.com  2003-12-03 17:41 -------
+Created an attachment (id=6100)
+Adds checks to whether versioning is supported and disables as necessary.
+
+
+------- Additional Comments From lupus@ximian.com  2004-01-23 16:19 -------
+Thanks for the test. I simply disabled versioning for Darwin.
+We'll likely use the extended check if we find other platforms that
+don't support it.