bugDotGNU Portable.NET - Bugs: bug #4168, pnet fails to build when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4168: pnet fails to build when configured with --enable-threads=none

Submitted by:  Richard Baumann <Rich333>
Submitted on:  Wed 02 Jul 2003 03:56:52 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 02 Jul 2003 12:01:34 PM UTC, comment #2:

Note: you must do "make distclean" before re-configuring,
not "make clean". Otherwise bits and pieces of the old
configure run will still be cached.

Rhys Weatherley <rweather>
Project Administrator
Wed 02 Jul 2003 11:59:30 AM UTC, comment #1:

Works for me - did you start from a clean tree, or was
there a pre-built libgc already present?

Rhys Weatherley <rweather>
Project Administrator
Wed 02 Jul 2003 03:56:52 AM UTC, original submission:

I got the following when I tried to build pnet after a ./configure --enable-threads=none:

../libgc/.libs/libgc.a(alloc.o)(.text+0x58d): In function `GC_collect_a_little':
/home/rich/dotgnu-pnet/pnet/libgc/alloc.c:439: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(alloc.o)(.text+0xa84): In function `GC_try_to_collect':
/home/rich/dotgnu-pnet/pnet/libgc/alloc.c:750: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(alloc.o)(.text+0xe2d): In function `GC_expand_hp':
/home/rich/dotgnu-pnet/pnet/libgc/alloc.c:952: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(finalize.o)(.text+0x185): In function `GC_general_register_disappearing_link':
/home/rich/dotgnu-pnet/pnet/libgc/finalize.c:172: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(finalize.o)(.text+0x28d):/home/rich/dotgnu-pnet/pnet/libgc/finalize.c:219: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(finalize.o)(.text+0x322):/home/rich/dotgnu-pnet/pnet/libgc/finalize.c:246: more undefined references to `pthread_mutex_trylock' follow
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x45f): In function `GC_suspend_handler':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:678: undefined reference to `sem_post'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x845): In function `GC_suspend_all':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:934: undefined reference to `pthread_kill'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x89e): In function `GC_stop_world':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:975: undefined reference to `sem_getvalue'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x8ea):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:986: undefined reference to `sem_getvalue'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x945):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:998: undefined reference to `sem_wait'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x9cc): In function `GC_start_world':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1033: undefined reference to `pthread_kill'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xc15): In function `GC_wait_for_gc_completion':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1202: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xc55): In function `GC_thr_init':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1298: undefined reference to `sem_init'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xeb7): In function `GC_init_parallel':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1426: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xf1e): In function `GC_pthread_sigmask':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1442: undefined reference to `pthread_sigmask'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xf5d): In function `GC_start_blocking':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1453: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0xfb0): In function `GC_end_blocking':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1477: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x1019): In function `GC_thread_exit_proc':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1516: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x10b2): In function `GC_pthread_join':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1537: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x10db):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1542: undefined reference to `pthread_join'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x10fd):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1555: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x1146): In function `GC_pthread_detach':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1569: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x116c):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1572: undefined reference to `pthread_detach'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x118d):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1574: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x11f8): In function `GC_start_routine':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1601: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x124b):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1633: undefined reference to `sem_post'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x125e):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1635: undefined reference to `_pthread_cleanup_push'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x126a):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1637: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x12a0):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1647: undefined reference to `_pthread_cleanup_pop'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x12dd): In function `GC_pthread_create':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1672: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x132d):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1678: undefined reference to `sem_init'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x1344):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1681: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x13a0):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1696: undefined reference to `pthread_create'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x13b1):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1704: undefined reference to `sem_wait'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x13dd):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1707: undefined reference to `sem_destroy'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x13e9):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1708: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x1482): In function `GC_generic_lock':
/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1791: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(linux_threads.o)(.text+0x149f):/home/rich/dotgnu-pnet/pnet/libgc/linux_threads.c:1796: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(malloc.o)(.text+0x2c1): In function `GC_generic_malloc':
/home/rich/dotgnu-pnet/pnet/libgc/malloc.c:189: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(malloc.o)(.text+0x337):/home/rich/dotgnu-pnet/pnet/libgc/malloc.c:201: undefined reference to `pthread_mutex_trylock'
../libgc/.libs/libgc.a(malloc.o)(.text+0x445):/home/rich/dotgnu-pnet/pnet/libgc/malloc.c:257: more undefined references to `pthread_mutex_trylock' follow
collect2: ld returned 1 exit status
make[1]: *** [ilrun] Error 1
make: *** [all-recursive] Error 1

Rich

Richard Baumann <Rich333>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 05 Jul 2003 03:52:54 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1