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

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


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


           Summary: mkbundle failes for PPC64
    Classification: Mono
           Product: Mono: Tools
           Version: 2.4.x
          Platform: PowerPC-64
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: munroesj at us.ibm.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.8.1.19)
Gecko/20081213 SUSE/2.0.0.19-0.1 Firefox/2.0.0.19

mkbundle fails with a linker error for PPC64. 

The make check for mkbundle generates one of too failures depending on the
version of GCC used in the build:

Testing mkbundle...
temp.s: Assembler messages:
temp.s:3: Warning: alignment too large: 31 assumed

or 

Testing mkbundle...
/usr/bin/ld: insuffcient memory


Reproducible: Always

Steps to Reproduce:
1. Configure mono for PPC64
2. make
3. make check
Actual Results:  
The make check fails at Testing mkbundle...

Expected Results:  
mkbundle should pass this simple test

The important clue is:

temp.s:3: Warning: alignment too large: 31 assumed

mkbundle generates temp.s which includes in the asm statement:

      .align 32

Which on PPC64 means 4GB alignment (generates 4 billion bytes of nops). I
assume the intent is 32 bytes and perhaps on other architectures that may be
the results, but for PPC64 this is a bad idea.

Net if "as" does not fail the next statement is a link (ln) that will fail by
running out memory or exceeding file limit.

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