pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53516: mono build error



The following reply was made to PR pkg/53516; it has been noted by GNATS.

From: Charlotte Koch <dressupgeekout%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/53516: mono build error
Date: Sun, 9 Dec 2018 19:50:39 -0800

 I've been able to consistently reproduce on my system here:
 
      NetBSD sakuracity 8.99.27 NetBSD 8.99.27 (GENERIC) #9: Sun Dec  9 
 12:07:19 PST 2018 
 root@sakuracity:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
 
 I've been doing a bunch of digging.
 
 mcs.exe doesn't exist because the "mini" mono compiler 
 (${WRKSRC}/mono/mini/mono) segfaults any time it needs to do anything 
 interesting.
 
 Basically, any time we fork out to 'mcs' (those build lines prefixed 
 with "MCS  ", dozens and dozens of them), we're actually using the 
 "mini" mono program, which segfaults. But GNU make doesn't recognize a 
 program that has segfaulted to be one that failed. So it LOOKS like 
 we're happily "MCS"-ing when in fact we're not "MCS"-ing at all.
 
 Check out the backtrace.
 
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00000000004f3297 in mono_arch_create_generic_trampoline 
 (tramp_type=tramp_type@entry=MONO_TRAMPOLINE_JIT, 
 info=info@entry=0x7f7fff2bbb08, aot=aot@entry=0) at tramp-amd64.c:447
      #1  0x00000000004a1ba8 in create_trampoline_code 
 (tramp_type=tramp_type@entry=MONO_TRAMPOLINE_JIT) at mini-trampolines.c:1299
      #2  0x00000000004a3511 in mono_trampolines_init () at 
 mini-trampolines.c:1313
      #3  0x000000000041cded in mini_init (filename=0x7f7fff2bc6a4 
 "build/deps/basic-profile-check.exe", 
 runtime_version=runtime_version@entry=0x0) at mini.c:7354
      #4  0x00000000004783d7 in mono_main (argc=4, argv=0x7f7fff2bbd18) 
 at driver.c:1921
      #5  0x0000000000414073 in ___start ()
      #6  0x00007f7f6040d460 in ?? () from /usr/libexec/ld.elf_so
      #7  0x0000000000000004 in ?? ()
      #8  0x00007f7fff2bc628 in ?? ()
      #9  0x00007f7fff2bc65d in ?? ()
      #10 0x00007f7fff2bc666 in ?? ()
      #11 0x00007f7fff2bc6a4 in ?? ()
      #12 0x0000000000000000 in ?? ()
 
 
 Charlotte
 


Home | Main Index | Thread Index | Old Index