[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/39986: libmapper_zone.so is trying to call undefined weak symbol
The following reply was made to PR lib/39986; it has been noted by GNATS.
From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: Takehiko NOZAKI <takehiko.nozaki%gmail.com@localhost>
Subject: Re: lib/39986: libmapper_zone.so is trying to call undefined weak
Date: Sat, 2 Jan 2010 08:47:44 +0000
On Friday 01 January 2010 18:45:23 Takehiko NOZAKI wrote:
> 1. don't use __(de)?register_frame_info but .eh_frame section instead
> by adding --eh-frame-hdr option. it seems that Linux/glibc2 now using
> it, also FreeBSD, OpenBSD too
> $ /usr/pkg/emul/linux/usr/bin/gcc -### -shared -o libbar.so bar.c
> ... "--eh-frame-hdr" ...
This is the best solution, imo
> 2. clarify application using dlopen(3) must add -lgcc_s option.
> same approach of non ptheaded application loading ptheaded library.
> see following discussion:
Without --eh-frame-hdr this is the solution.
Main Index |
Thread Index |