Created
June 26, 2013 17:35
-
-
Save catlion/5869513 to your computer and use it in GitHub Desktop.
F# build failed on mono
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make -C src/fsharp all | |
make[1]: Entering directory `/home/artem/dev/mono3/fsharp/src/fsharp' | |
make do-proto | |
make[2]: Entering directory `/home/artem/dev/mono3/fsharp/src/fsharp' | |
make -C FSharp.Build-proto do-proto | |
make[3]: Entering directory `/home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto' | |
mkdir -p .libs/proto | |
mkdir -p .libs/proto//2.0 | |
mkdir -p .libs/proto//4.0 | |
mono --gc=sgen /home/artem/dev/mono3/fsharp/lib/bootstrap/4.0/../2.0/fssrgen.exe ../FSharp.Build/FSBuild.txt .libs/proto/FSBuild.fs .libs/proto/FSBuild.resx | |
resgen .libs/proto/FSBuild.resx .libs/proto/FSBuild.resources | |
Read in 1 resources from '/home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/.libs/proto/FSBuild.resx' | |
Writing resource file... Done. | |
mono --gc=sgen /home/artem/dev/mono3/fsharp/lib/bootstrap/4.0/fsc.exe -o:.libs/proto/4.0/FSharp.Build-proto.dll -r:/home/artem/dev/mono3/fsharp/lib/bootstrap/4.0/FSharp.Core.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/Microsoft.Build.Engine.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/Microsoft.Build.Framework.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/Microsoft.Build.Tasks.v4.0.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/Microsoft.Build.Utilities.v4.0.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/mscorlib.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/System.Core.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/System.dll -r:/usr/lib/pkgconfig/../../lib/mono/4.0/System.Numerics.dll --define:BUILDING_WITH_LKG --define:TRACE --define:CROSS_PLATFORM_COMPILER --define:FX_NO_BIGINT_CULTURE_PARSE --define:FX_ATLEAST_40 --define:FX_ATLEAST_35 --define:FX_ATLEAST_LINQ --doc:.libs/proto/4.0/FSharp.Build-proto.xml --version:4.3.0.0 --debug:pdbonly --optimize+ --mlcompatibility --noframework --fullpaths --times --nowarn:9 --target:library --resource:.libs/proto/FSBuild.resources .libs/proto/FSBuild.fs /home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/../../utils/CompilerLocationUtils.fs /home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/CreateFSharpManifestResourceName.fsi /home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/CreateFSharpManifestResourceName.fs /home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/Fsc.fsi /home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto/../FSharp.Build/Fsc.fs | |
F# Compiler for F# 3.0 (private, test-signed) | |
Freely distributed under the Apache 2.0 Open Source License | |
warning FS0075: The command-line option '--version' has been deprecated | |
warning FS0075: The command-line option 'times' is for internal use only | |
TIME: 0.5 Delta: 0.0 Mem: 26 G0: 0 G1: 0 G2: 0 [Import mscorlib] | |
TIME: 0.5 Delta: 0.0 Mem: 26 G0: 0 G1: 0 G2: 0 [Import mscorlib and FSharp.Core.dll] | |
Stacktrace: | |
at <unknown> <0xffffffff> | |
at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_obj (intptr,intptr) <0xffffffff> | |
at (wrapper alloc) object.Alloc (intptr) <0xffffffff> | |
at Microsoft.FSharp.Control.LazyExtensions.Create<T> (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, T>) <0x0009b> | |
at Microsoft.FSharp.Compiler.AbstractIL.IL.mkILComputedCustomAttrs (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.AbstractIL.IL/ILAttribute>>) <0x00017> | |
at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.seekReadCustomAttrs (Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/ILReaderContext,Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/TaggedIndex`1<Microsoft.FSharp.Compiler.AbstractIL.Internal.BinaryConstants/HasCustomAttributeTag>) <0x0003b> | |
at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.seekReadTypeDef (Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/ILReaderContext,bool,int) <0x000e3> | |
at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/seekReadTopTypeDefs@1896.GenerateNext (System.Collections.Generic.IEnumerable`1<System.Tuple`4<Microsoft.FSharp.Collections.FSharpList`1<string>, string, Microsoft.FSharp.Compiler.AbstractIL.IL/ILAttributes, System.Lazy`1<Microsoft.FSharp.Compiler.AbstractIL.IL/ILTypeDef>>>&) <0x00107> | |
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.MoveNextImpl () <0x00069> | |
at Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1.System-Collections-IEnumerator-MoveNext () <0x00017> | |
at Microsoft.FSharp.Collections.SeqModule.ToList<T> (System.Collections.Generic.IEnumerable`1<T>) <0x00132> | |
at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader.seekReadTopTypeDefs (Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/ILReaderContext,Microsoft.FSharp.Core.Unit) <0x00053> | |
at Microsoft.FSharp.Compiler.AbstractIL.ILBinaryReader/seekReadModule@1678.Invoke (Microsoft.FSharp.Core.Unit) <0x00017> | |
at Microsoft.FSharp.Control.LazyExtensions/Create@5699.Invoke () <0x00019> | |
at System.Lazy`1.InitValue () <0x003b8> | |
at System.Lazy`1.get_Value () <0x00033> | |
at Microsoft.FSharp.Compiler.AbstractIL.IL/lazyMap@56.Invoke (Microsoft.FSharp.Core.Unit) <0x00027> | |
at Microsoft.FSharp.Control.LazyExtensions/Create@5699.Invoke () <0x00019> | |
at System.Lazy`1.InitValue () <0x003b8> | |
at System.Lazy`1.get_Value () <0x00033> | |
at Microsoft.FSharp.Compiler.AbstractIL.IL/ILTypeDefs.get_AsListOfLazyTypeDefs () <0x0001b> | |
at Microsoft.FSharp.Compiler.Import.ImportILTypeDefs (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Compiler.Import/ImportMap>,Microsoft.FSharp.Compiler.Range/range,Microsoft.FSharp.Compiler.AbstractIL.IL/ILScopeRef,Microsoft.FSharp.Compiler.Tast/CompilationPath,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.AbstractIL.IL/ILTypeDef>,Microsoft.FSharp.Compiler.AbstractIL.IL/ILTypeDefs) <0x00077> | |
at Microsoft.FSharp.Compiler.Import.ImportILAssemblyMainTypeDefs (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Compiler.Import/ImportMap>,Microsoft.FSharp.Compiler.Range/range,Microsoft.FSharp.Compiler.AbstractIL.IL/ILScopeRef,Microsoft.FSharp.Compiler.AbstractIL.IL/ILModuleDef) <0x0005b> | |
at Microsoft.FSharp.Compiler.Import.ImportILAssemblyTypeDefs (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Compiler.Import/ImportMap>,Microsoft.FSharp.Compiler.Range/range,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.AbstractIL.IL/ILScopeRef, Microsoft.FSharp.Compiler.AbstractIL.IL/ILModuleDef>,Microsoft.FSharp.Compiler.AbstractIL.IL/ILAssemblyRef,Microsoft.FSharp.Compiler.AbstractIL.IL/ILModuleDef) <0x000bb> | |
at Microsoft.FSharp.Compiler.Import.ImportILAssembly (Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit, Microsoft.FSharp.Compiler.Import/ImportMap>,Microsoft.FSharp.Compiler.Range/range,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.AbstractIL.IL/ILScopeRef, Microsoft.FSharp.Compiler.AbstractIL.IL/ILModuleDef>,Microsoft.FSharp.Compiler.AbstractIL.IL/ILScopeRef,string,Microsoft.FSharp.Core.FSharpOption`1<string>,Microsoft.FSharp.Compiler.AbstractIL.IL/ILModuleDef,Microsoft.FSharp.Control.IEvent`2<Microsoft.FSharp.Control.FSharpHandler`1<string>, string>) <0x0011b> | |
at Microsoft.FSharp.Compiler.Build/TcImports.PrepareToImportReferencedIlDll<c> (Microsoft.FSharp.Core.FSharpRef`1<c>,Microsoft.FSharp.Compiler.Range/range,string,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.Unit>>,Microsoft.FSharp.Compiler.Build/ImportedBinary) <0x0023b> | |
at Microsoft.FSharp.Compiler.Build/TcImports.RegisterAndPrepareToImportReferencedDll<a> (Microsoft.FSharp.Core.FSharpRef`1<a>,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.Unit>>,Microsoft.FSharp.Compiler.Build/AssemblyResolution) <0x005af> | |
at Microsoft.FSharp.Compiler.Build/RegisterAndImportReferencedAssemblies@4005.Invoke (Microsoft.FSharp.Compiler.Build/AssemblyResolution) <0x0004f> | |
at Microsoft.FSharp.Primitives.Basics.List.map<T, TResult> (Microsoft.FSharp.Core.FSharpFunc`2<T, TResult>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x00054> | |
at Microsoft.FSharp.Collections.ListModule.Map<T, TResult> (Microsoft.FSharp.Core.FSharpFunc`2<T, TResult>,Microsoft.FSharp.Collections.FSharpList`1<T>) <0x0002f> | |
at Microsoft.FSharp.Compiler.Build/TcImports.RegisterAndImportReferencedAssemblies (Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.Unit>>,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Build/AssemblyResolution>) <0x000bf> | |
at Microsoft.FSharp.Compiler.Build/TcImports.BuildFrameworkTcImports (Microsoft.FSharp.Compiler.Build/TcConfigProvider,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Build/AssemblyResolution>,Microsoft.FSharp.Collections.FSharpList`1<Microsoft.FSharp.Compiler.Build/AssemblyResolution>) <0x0010b> | |
at Microsoft.FSharp.Compiler.Driver.getTcImportsFromCommandLine$cont@322 (Microsoft.FSharp.Compiler.ErrorLogger/Exiter,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.Unit>>,Microsoft.FSharp.Compiler.Lexhelp/LexResourceManager,Microsoft.FSharp.Collections.FSharpList`1<string>,string,Microsoft.FSharp.Compiler.Build/TcConfig,Microsoft.FSharp.Compiler.ErrorLogger/ErrorLogger,Microsoft.FSharp.Core.Unit) <0x0023b> | |
at Microsoft.FSharp.Compiler.Driver.getTcImportsFromCommandLine (Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<string, Microsoft.FSharp.Core.Unit>>,string[],string,string,Microsoft.FSharp.Core.FSharpOption`1<int>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Build/TcConfigBuilder, Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Build/TcConfigBuilder, Microsoft.FSharp.Core.Unit>,bool,Microsoft.FSharp.Compiler.ErrorLogger/Exiter,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Build/TcConfigBuilder, Microsoft.FSharp.Compiler.ErrorLogger/ErrorLogger>) <0x00e0f> | |
at Microsoft.FSharp.Compiler.Driver.main1 (string[],bool,Microsoft.FSharp.Compiler.ErrorLogger/Exiter,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Build/TcConfigBuilder, Microsoft.FSharp.Compiler.ErrorLogger/ErrorLogger>) <0x00263> | |
at Microsoft.FSharp.Compiler.Driver.mainCompile (string[],bool,Microsoft.FSharp.Compiler.ErrorLogger/Exiter,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Compiler.Build/TcConfigBuilder, Microsoft.FSharp.Compiler.ErrorLogger/ErrorLogger>) <0x0002b> | |
at Microsoft.FSharp.Compiler.CommandLineMain/Driver.main (string[]) <0x002e3> | |
at Microsoft.FSharp.Compiler.CommandLineMain.main (string[]) <0x000cf> | |
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff> | |
Native stacktrace: | |
mono-sgen() [0x4a9781] | |
mono-sgen() [0x50020f] | |
mono-sgen() [0x41f207] | |
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0) [0x2aaaab3f0bd0] | |
mono-sgen() [0x5c7195] | |
mono-sgen() [0x5c9e52] | |
mono-sgen() [0x5ce6bb] | |
mono-sgen() [0x5cf178] | |
mono-sgen() [0x5e548a] | |
mono-sgen() [0x5e5785] | |
[0x41ec2b8d] | |
Debug info from gdb: | |
Mono support loaded. | |
[New LWP 22220] | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". | |
0x00002aaaab3f0777 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 | |
Id Target Id Frame | |
2 Thread 0x2aaaae4e0700 (LWP 22220) "mono-sgen" 0x00002aaaab6353c3 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6 | |
* 1 Thread 0x2aaaaaaea500 (LWP 22219) "mono-sgen" 0x00002aaaab3f0777 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 | |
Thread 2 (Thread 0x2aaaae4e0700 (LWP 22220)): | |
#0 0x00002aaaab6353c3 in sigsuspend () from /lib/x86_64-linux-gnu/libc.so.6 | |
#1 0x00000000005c490c in suspend_thread (info=0x2aaab00008c0, context=context@entry=0x2aaaae4df780) at sgen-os-posix.c:113 | |
#2 0x00000000005c4a75 in suspend_handler (sig=<optimized out>, siginfo=<optimized out>, context=0x2aaaae4df780) at sgen-os-posix.c:134 | |
#3 <signal handler called> | |
#4 0x00002aaaab3eef7e in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0 | |
#5 0x0000000000620ac8 in mono_sem_wait (sem=sem@entry=0x966340 <finalizer_sem>, alertable=alertable@entry=1) at mono-semaphore.c:116 | |
#6 0x000000000059d355 in finalizer_thread (unused=unused@entry=0x0) at gc.c:1073 | |
#7 0x0000000000580ef2 in start_wrapper_internal (data=0x21849b0) at threads.c:608 | |
#8 start_wrapper (data=0x21849b0) at threads.c:653 | |
#9 0x0000000000615481 in thread_start_routine (args=args@entry=0x2109cc0) at wthreads.c:294 | |
#10 0x00000000006252e0 in inner_start_thread (arg=0x2180a50) at mono-threads-posix.c:49 | |
#11 0x00002aaaab3e8f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 | |
#12 0x00002aaaab6f7e1d in clone () from /lib/x86_64-linux-gnu/libc.so.6 | |
Thread 1 (Thread 0x2aaaaaaea500 (LWP 22219)): | |
#0 0x00002aaaab3f0777 in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0 | |
#1 0x00000000004a9898 in mono_handle_native_sigsegv (signal=signal@entry=11, ctx=ctx@entry=0x2aaaaaae7ac0) at mini-exceptions.c:2344 | |
#2 0x000000000050020f in mono_arch_handle_altstack_exception (sigctx=sigctx@entry=0x2aaaaaae7ac0, fault_addr=<optimized out>, stack_ovf=stack_ovf@entry=0) at exceptions-amd64.c:884 | |
#3 0x000000000041f207 in mono_sigsegv_signal_handler (_dummy=11, info=0x2aaaaaae7bf0, context=0x2aaaaaae7ac0) at mini.c:6555 | |
#4 <signal handler called> | |
#5 0x00000000005c7195 in sgen_safe_object_get_size (obj=0x2aaaacc357f0) at ../../mono/metadata/sgen-gc.h:761 | |
#6 pin_objects_from_addresses (section=section@entry=0x2aaaaaadc010, start=<optimized out>, end=0x2aaaaaad2360, start_nursery=<optimized out>, end_nursery=<optimized out>, ctx=...) at sgen-gc.c:1268 | |
#7 0x00000000005c9e52 in sgen_pin_objects_in_section (section=0x2aaaaaadc010, ctx=...) at sgen-gc.c:1333 | |
#8 0x00000000005ce6bb in collect_nursery (finish_up_concurrent_mark=0, unpin_queue=0x0) at sgen-gc.c:2567 | |
#9 collect_nursery (unpin_queue=0x0, finish_up_concurrent_mark=0) at sgen-gc.c:2475 | |
#10 0x00000000005cf178 in sgen_perform_collection (requested_size=4096, generation_to_collect=0, reason=<optimized out>, wait_to_finish=<optimized out>) at sgen-gc.c:3429 | |
#11 0x00000000005e548a in mono_gc_alloc_obj_nolock (vtable=vtable@entry=0x21e24f0 | |
0x2198da8 | |
vtable("System.Lazy`1<{genericinst, "Microsoft.FSharp.Collections.FSharpList`1", [{class, "ILAttribute"}], []>}>"), size=size@entry=56) at sgen-alloc.c:288 | |
#12 0x00000000005e5785 in mono_gc_alloc_obj (size=56, vtable=0x21e24f0 | |
0x2198da8 | |
vtable("System.Lazy`1<{genericinst, "Microsoft.FSharp.Collections.FSharpList`1", [{class, "ILAttribute"}], []>}>")) at sgen-alloc.c:446 | |
#13 mono_gc_alloc_obj (vtable=0x21e24f0 | |
0x2198da8 | |
vtable("System.Lazy`1<{genericinst, "Microsoft.FSharp.Collections.FSharpList`1", [{class, "ILAttribute"}], []>}>"), size=56) at sgen-alloc.c:432 | |
#14 0x0000000041ec2b8d in ?? () | |
#15 0x0000000002178430 in ?? () | |
#16 0x00000000005aa767 in mono_delegate_ctor_with_method (this=0x38, target=0x7fffe3f4c790, addr=<optimized out>, method=<optimized out>) at object.c:6161 | |
#17 0x00007fffe3f4c790 in ?? () | |
#18 0x00007fffe3f4c490 in ?? () | |
#19 0x00002aaaad000008 in ?? () | |
#20 0x00002aaaacffffd0 in ?? () | |
#21 0x00002aaaaaaea4d8 in ?? () | |
#22 0x0000000002624050 in ?? () | |
#23 0x0000000041f10e44 in ?? () | |
#24 0x00002aaaace94c80 in ?? () | |
#25 0x00002aaaacffff10 in ?? () | |
#26 0x00002aaaace61978 in ?? () | |
#27 0x0000000000000000 in ?? () | |
================================================================= | |
Got a SIGSEGV while executing native code. This usually indicates | |
a fatal error in the mono runtime or one of the native libraries | |
used by your application. | |
================================================================= | |
make[3]: *** [.libs/proto//4.0/FSharp.Build-proto.dll] Aborted (core dumped) | |
make[3]: Leaving directory `/home/artem/dev/mono3/fsharp/src/fsharp/FSharp.Build-proto' | |
make[2]: *** [do-proto] Error 2 | |
make[2]: Leaving directory `/home/artem/dev/mono3/fsharp/src/fsharp' | |
make[1]: *** [all] Error 2 | |
make[1]: Leaving directory `/home/artem/dev/mono3/fsharp/src/fsharp' | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment