[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
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 |