[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Re: Cannot install GNU Smalltalk from git on NetBSD

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Re: Cannot install GNU Smalltalk from git on NetBSD 5
Date: Mon, 01 Nov 2010 08:50:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.4

On 10/31/2010 11:24 PM, Aleksej Saushev wrote:
Paolo Bonzini<address@hidden>  writes:

On 10/31/2010 11:03 PM, Aleksej Saushev wrote:
This indicates bug in GNU Smalltalk build system, it doesn't link
against libpthread.

Can you post a patch here too, when you look at it?  It works
for Linux, where you have this in

# Linker flags that can not go in dependency_libs.
inherited_linker_flags=' -pthread'

# Libraries that this one depends upon.
dependency_libs=' -ldl -lsigsegv -lffi -lreadline -lltdl -lgmp
-lpthread -lrt -lm'

and then libtool picks the dependencies automatically.

Can you "grep LIBTHREAD libgst/Makefile"?

I can't reproduce it on my 5.99.39, it looks specific to 5.0.2,
see ref. 1, I don't know why, it needs further investigation.
I'll see what I can do in this respect.

Since 5.0.2 is expected to go away soon, someone should check 5.1 RC.
I'll see what I can do with this too.

If you're interested in already existing fixes, you can find patches
at ref. 2, some of them add DragonFly support, some of them fix builds
on NetBSD at least (my primary working platform), FreeBSD, and DragonFly
(those who touched the package last work on those platforms).

patch-aa => this is for libffi, the package should depend on a libffi port. The included libffi is only for simplicity, it's not meant to be used by distributions.

patch-ac => same.  Except I'm upstream for libsigsegv and I'll push it.

patch-ae, first hunk => already upstream

patch-af => included

patch-ae + patch-ah => can you try the attached fix instead?

Also, please compile this program (gcc x.c -I.) after configure has been run, and send the output:

#include <config.h>
#include <lib-src/ltdl_.h>
#include <lib-src/ltdl.c>

main ()
  printf ("%p ", lt_dlopenext("libc"));
  printf ("%s\n", lt_dlerror());
  return 0;



Attachment: netbsd-libc-la.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]