Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202451 - dev-lang/mono-1.2.6: compilation fails
Summary: dev-lang/mono-1.2.6: compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-16 06:58 UTC by Eugene Shalygin
Modified: 2008-12-26 12:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info,4.41 KB, text/plain)
2007-12-16 09:04 UTC, Eugene Shalygin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2007-12-16 06:58:07 UTC
/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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 08:55:20 UTC
Reopen with emerge --info output, as the bug page told you.
Comment 2 Eugene Shalygin 2007-12-16 09:04:25 UTC
Created attachment 138600 [details]
emerge --info output

sorry, forgot to attach
Comment 3 Eugene Shalygin 2007-12-16 09:05:28 UTC
emerge --info attached
Comment 4 Eugene Shalygin 2007-12-16 19:33:22 UTC
The problen is somewhere in my *FLAGS
Comment 5 Friedrich Oslage (RETIRED) gentoo-dev 2007-12-27 13:43:22 UTC
Can you try to compile it with USE="-nptl" please?
Comment 6 Eugene Shalygin 2007-12-28 20:20:00 UTC
yes, there is no such error in case of "-nptl"

Comment 7 Jurek Bartuszek (RETIRED) gentoo-dev 2008-06-01 11:54:50 UTC
Does this happen when you try to build 1.9 or 1.9.1?
Comment 8 Eugene Shalygin 2008-06-02 15:13:39 UTC
(In reply to comment #7)
No
Comment 9 Jurek Bartuszek (RETIRED) gentoo-dev 2008-06-02 17:54:30 UTC
I understand that this means: mono build fine with and without nptl USE flag enabled, am I correct?
Comment 10 Eugene Shalygin 2008-06-03 20:58:39 UTC
No, I turn on nptl flag for new version and didn't check compilation without nptl
Comment 11 Peter Alfredsen (RETIRED) gentoo-dev 2008-12-26 12:17:32 UTC
Fixed with 2.0.1,then.