Bug 31568 - cannot bootstrap mono-4.0.2 using make get-monolite-latest on ppc64le
Summary: cannot bootstrap mono-4.0.2 using make get-monolite-latest on ppc64le
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 4.0.0
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-07-02 08:11 UTC by than
Modified: 2015-07-03 07:03 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 31568 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description than 2015-07-02 08:11:50 UTC
When trying to build mono-4.0.2 on ppc64le (RedHat ppc64le, little endian)

Some exception is thrown

To reproduce

1 download mono-4.0.2
2 autogen.sh --prefix=blah
3 make get-monolite-latest

Everything compiles fine on native side, but when starting to build mcs
profiles, running mono fails

*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
* Assertion at mini-codegen.c:269, condition `vreg >= MONO_MAX_IREGS' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at Mono.CSharp.MemberName..cctor () <0x00078>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at Mono.CSharp.Driver.Compile () <0x00298>
  at Mono.CSharp.Driver.Main (string[]) <0x002f4>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100c25e4]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10107e88]
        linux-vdso64.so.1(__kernel_sigtramp_rt64+0) [0x3fff890a0478]
        /lib64/libc.so.6(gsignal+0x40) [0x3fff88cff2d0]
        /lib64/libc.so.6(abort+0x2b4) [0x3fff88d01e84]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x102935d4]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x102938a4]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x102939a4]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100b8c64]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100f531c]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10079010]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10031734]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035034]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035b98]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_compile_method+0x3c) [0x101df5dc]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100c3f90]
        [0x3fff825301c4]
        [0x3fff80a4c0e0]
        [0x3fff80a04910]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035d14]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_runtime_invoke+0x84) [0x101e2f54]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x101e352c]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x1005fdd0]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100313f8]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035034]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035b98]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_compile_method+0x3c) [0x101df5dc]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100c3f90]
        [0x3fff825301c4]
        [0x3fff80a4a9b0]
        [0x3fff80a03b20]
        [0x3fff80a04300]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x10035d14]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_runtime_invoke+0x84) [0x101e2f54]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_runtime_exec_main+0x1a0) [0x101e6690]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_jit_exec+0x78) [0x1008e6a8]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono(mono_main+0x1368) [0x1008ff18]
        /home/than/rpmbuild/BUILD/mono-4.0.2/mono/mini/mono() [0x100260ec]
        /lib64/libc.so.6(+0x233fc) [0x3fff88ce33fc]
        /lib64/libc.so.6(__libc_start_main+0xb8) [0x3fff88ce35f8]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


Note: i use fedora-23 (rawhide), gcc-5.1.1-1.fc23.ppc64le
Comment 1 Bill Seurer 2015-07-02 11:51:35 UTC
I don't see a mono-4.0.2 branch on github.  How did you get the source?
Comment 2 than 2015-07-03 07:03:07 UTC
Hi Bill
i got the source from fedora. You find it from the URL
http://koji.fedoraproject.org/koji/buildinfo?buildID=666520