[Mono-bugs] [Bug 471385] mkbundle failes for PPC64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 1 21:34:34 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=471385

User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=471385#c2


Steven Munroe <munroesj at us.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |munroesj at us.ibm.com




--- Comment #2 from Steven Munroe <munroesj at us.ibm.com>  2009-02-01 19:34:31 MST ---
There another problem hiding under this one that effects biarch platforms when
building mono for the non-default mode.

For example on OpenSUSE-10.3 PPC32 is the default, building mono for PPC64 will
fail with:

Testing mkbundle...
/usr/bin/ld: skipping incompatible
/home/sjmunroe/src/mono-ppc/mono64-2.4-patched/mono/mini/.libs/libmono.a when
searching for -lmono

Similarly for SLES11 where PPC64 is the default the PPC32 build will fail.

The problem is that while (for OpenSUSE-10.3) you can set up the configure
with:

CC="gcc -m64" ./autogen.sh --prefix=/opt/mono64 --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux

and build a 64-bit mono. This information is not passed into mkbundle.exe for
the make check. So the assembly of test.s and the link of the bundle executable
will use the default mode (PPC32) for the toolchain and that will not match the
libmono.a (PPC64).

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list