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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 1 21:16: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#c1





--- Comment #1 from Steven Munroe <munroesj at us.ibm.com>  2009-02-01 19:16:32 MST ---
I recommend replacing the .align with .p2align.

align can differ from platform to platform but .p2align which has consistent
semantics.

The following patch does this:

diff -urN mono-2.4-tar/mcs/tools/mkbundle/mkbundle.cs
mono-2.4-patched/mcs/tools/mkbundle/mkbundle.cs
--- mono-2.4-tar/mcs/tools/mkbundle/mkbundle.cs    2009-01-20
11:32:26.000000000 -0500
+++ mono-2.4-patched/mcs/tools/mkbundle/mkbundle.cs    2009-01-30
16:15:27.000000000 -0500
@@ -158,7 +158,7 @@
             sw.WriteLine (
                 ".globl {0}\n" +
                 "\t.section .rodata\n" +
-                "\t.align 32\n" +
+                "\t.p2align 5\n" +
                 "\t.type {0}, @object\n" +
                 "\t.size {0}, {1}\n" +
                 "{0}:\n",

-- 
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