Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175371
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Scheme Herd <scheme@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tristan Ravitch <travitc@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175371 depends on: Show dependency tree
Bug 175371 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-20 17:39 0000
The linking of the final stklos executable fails with:
dynload.o: In function `STk_load_object_file':
dynload.c:(.text+0x74): undefined reference to `GC_dlopen'
dynload.c:(.text+0x123): undefined reference to `GC_dlopen'
thread-pthreads.o: In function `STk_sys_thread_start':
thread-pthreads.c:(.text+0x295): undefined reference to `GC_pthread_create'

I'm guessing this is actually a problem with the configure script autodetection
more than the actual presence of a system boehmgc library.  Forcing the
configure script to use its included gc (--with-provided-gc) lets it link
normally (and works fine).

Reproducible: Always

Steps to Reproduce:
1. Install boehm-gc (or have it installed already)
2. Try to install stklos
3. Fail
4. Uninstall boehm-gc
5. Install stklos
6. Succeed

------- Comment #1 From Tristan Ravitch 2007-04-20 17:43:53 0000 -------
One more note - if you re-install boehm-gc as normal after installing 
stklos, the stklos executable picks it up via dynamic linking and it
works just fine.

------- Comment #2 From Marijn Schouten 2007-04-23 10:03:37 0000 -------
it works fine here, with dev-libs/boehm-gc-6.8 installed (-nocxx threads)

SUMMARY
*******
            System:  Linux-2.6.20-gentoo
           OS type:  unix
   Install prefix :  /usr
        C compiler:  x86_64-pc-linux-gnu-gcc
 Compilation flags:  -O2 -pipe -ggdb
    Bignum library:  use the system library
    Regexp library:  use the system library
        GC library:  use the system library
      LDAP support:  no
      GTK+ support:  yes
     GNOME support:  no
    Thread support:  pthreads

I should have paid some more attention to use flags though and added boehm-gc
as a dependency.

Please provide the build log and emerge --info.

------- Comment #3 From Tristan Ravitch 2007-04-24 14:25:34 0000 -------
It seems that stklos requires dev-libs/boehm-gc to be compiled
with the threads use flag (oops).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug