------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1025
--- Comment #1 from Philip Hazel <ph10@???> 2010-09-25 09:41:14 ---
On Sat, 25 Sep 2010, Jesse wrote:
> libtool: link: gcc -O2 -o .libs/pcretest pcretest.o ./.libs/libpcreposix.so
> /usr/home/jessie/pcre-8.10/.libs/libpcre.so -Wl,-rpath -Wl,/usr/local/lib
> ./.libs/libpcreposix.so: undefined reference to `@FBSD_1.0'
> /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 internal error, aborting at
> /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/elflink.c
> line 6041 in elf_link_output_extsym
>
> /usr/bin/ld: Please report this bug.
Looks to me as if the problem is in ld, which I (as maintainer of PCRE)
cannot do anything about. I note the date "2004-05-23" in the output;
that is rather a long time ago. Is it an old version?
The "undefined reference to `@FBSD_1.0'" must also be something
internally generated, as the string "FBSD_" appears nowhere in the PCRE
sources.
Aha! But while grepping to make sure that the above statement was true,
I came across this:
/* This works around a problem in FreeBSD linker */
#ifdef FREEBSD_WORKAROUND
static const void *lt_preloaded_setup() {
return lt_${my_prefix}_LTX_preloaded_symbols;
}
#endif
I have no idea if it is relevant (not being a FreeBSD user). You could
try setting FREEBSD_WORKAROUND to see if it helps.
Philip
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email