Summary: | dev-lang/mono failed to build with sys-devel/gcc-5.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir B. Vinogradov <service> |
Component: | [OLD] GCC Porting | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b.buschinski, biergaizi2009, gent_bz, jackdachef, octoploid, steffen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 | ||
Attachments: |
build.log for =dev-lang/mono-3.2.8
emerge --info |
Created attachment 402184 [details]
emerge --info
It's a Mono bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65953 As far as I've seen, Mono 4.0.1 is not affected by this error. (In reply to Steffen Hau from comment #3) > As far as I've seen, Mono 4.0.1 is not affected by this error. = dev-lang/mono-3.2.8 - is the latest version in portage tree. I know, there is also a bump request out there #522836. I just wanted to see, if the issue is still present in the current upstream stable release. (In reply to Steffen Hau from comment #5) > I know, there is also a bump request out there #522836. I just wanted to > see, if the issue is still present in the current upstream stable release. I confirm successful build of =dev-lang/mono-4.0.1 with gcc-5.1 I obtained ebuild from dotnet overlay. dev-lang/mono-3.12.1 doesn't build either. There is a simple patch from the Mono upstream which fixes the issue: https://github.com/mono/mono/commit/16ee0252305fbd4f40ea39c3c4421dc7f103f8a0 I can build Mono without problem with GCC 5.2. The above patch was included into mono-4.0.0, and it can be used for earlier versions. Well, newer mono version is now stable. This bug can probably be closed. 4.4.1.0 is being stabilized |
Created attachment 402182 [details] build.log for =dev-lang/mono-3.2.8 dev-lang/mono failed to build with gcc-5.1 ...libtool: link: x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8 -I/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/eglib/src -I../../eglib/src -march=native -pipe -O2 -fno-strict-aliasing -fno-strict-aliasing -Wdeclaration-after-statement -Wno-unused-but-set-variable -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Werror-implicit-function-declaration -Wl,-version-script=/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/mini/ldscript.mono -Wl,-O1 -o mono-boehm mono_boehm-main.o -Wl,--export-dynamic -Wl,--as-needed ./.libs/libmini-static.a ../../mono/metadata/.libs/libmonoruntime-static.a ../../mono/io-layer/.libs/libwapi.a ../../mono/utils/.libs/libmonoutils.a -L../../eglib/src ../../libgc/.libs/libmonogc-static.a /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build/eglib/src/.libs/libeglib.a -lm -lrt -ldl -lpthread ./.libs/libmini-static.a(libmini_static_la-mini.o): In function `mono_get_jit_tls_offset': /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/mini/mini.c:2623: undefined reference to `mono_jit_tls' /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/mini/mini.c:2623: undefined reference to `mono_jit_tls' collect2: error: ld returned 1 exit status Makefile:1226: recipe for target 'mono-boehm' failed make[4]: *** [mono-boehm] Error 1 make[4]: *** Waiting for unfinished jobs.... ./.libs/libmini-static.a(libmini_static_la-mini.o): In function `mono_get_jit_tls_offset': /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/mini/mini.c:2623: undefined reference to `mono_jit_tls' /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/mini/mini.c:2623: undefined reference to `mono_jit_tls' ../../mono/metadata/.libs/libmonoruntimesgen-static.a(libmonoruntimesgen_static_la-sgen-alloc.o): In function `create_allocator': /var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8/mono/metadata/sgen-alloc.c:704: undefined reference to `tlab_next_addr' collect2: error: ld returned 1 exit status Makefile:1229: recipe for target 'mono-sgen' failed make[4]: *** [mono-sgen] Error 1 make[4]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build/mono/mini' Makefile:1068: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build/mono/mini' Makefile:374: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build/mono' Makefile:453: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build' Makefile:380: recipe for target 'all' failed make: *** [all] Error 2 emake failed * ERROR: dev-lang/mono-3.2.8::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3971: Called nonfatal 'autotools-utils_src_compile' * environment, line 105: Called autotools-utils_src_compile * environment, line 734: Called die * The specific snippet of code: * emake "$@" || die 'emake failed'; * * If you need support, post the output of `emerge --info '=dev-lang/mono-3.2.8::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-lang/mono-3.2.8::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-lang/mono-3.2.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/mono-3.2.8/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8_build' * S: '/var/tmp/portage/dev-lang/mono-3.2.8/work/mono-3.2.8' **********