/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=native -pipe -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -export-dynamic -Wl,-version-script=./ldscript.mono -Wl,-O1 -Wl,--sort-common -o mono main.o libmono-static.la -pthread -lgthread-2.0 -lrt -lglib-2.0 -lm -ldl -lpthread -lm i686-pc-linux-gnu-gcc -I../.. -I../../libgc/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=native -pipe -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -Wl,-version-script=./ldscript.mono -Wl,-O1 -Wl,--sort-common -o mono main.o -pthread -Wl,--export-dynamic ./.libs/libmono-static.a /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -ldl -lpthread -lm ./.libs/libmono-static.a(boehm-gc.o): In function `mono_gc_get_managed_allocator_by_type': /var/tmp/portage/dev-lang/mono-1.2.6/work/mono-1.2.6/mono/metadata/boehm-gc.c:569: undefined reference to `GC_thread_tls' ./.libs/libmono-static.a(boehm-gc.o): In function `mono_gc_get_managed_allocator': /var/tmp/portage/dev-lang/mono-1.2.6/work/mono-1.2.6/mono/metadata/boehm-gc.c:500: undefined reference to `GC_thread_tls' collect2: ld returned 1 exit status make[4]: *** [mono] Ошибка 1 make[4]: Leaving directory `/var/tmp/portage/dev-lang/mono-1.2.6/work/mono-1.2.6/mono/mini' Reproducible: Always Steps to Reproduce: 1. emerge =mono-1.2.6 Actual Results: linker error Expected Results: compiles succesfully vanilla mono builds without this error
Reopen with emerge --info output, as the bug page told you.
Created attachment 138600 [details] emerge --info output sorry, forgot to attach
emerge --info attached
The problen is somewhere in my *FLAGS
Can you try to compile it with USE="-nptl" please?
yes, there is no such error in case of "-nptl"
Does this happen when you try to build 1.9 or 1.9.1?
(In reply to comment #7) No
I understand that this means: mono build fine with and without nptl USE flag enabled, am I correct?
No, I turn on nptl flag for new version and didn't check compilation without nptl
Fixed with 2.0.1,then.