091b8336ae
FreeBSD systems usually implemented this as a third party module and our implementation hasn't played as nicely with the old way as it could have. To that end: * Rename the iconv* symbols in libc.so.7 to have a __bsd_ prefix. * Provide .symver compatability with existing 10.x+ binaries that referenced the iconv symbols. All existing binaries should work. * Like on Linux/glibc systems, add a libc_nonshared.a to the ldscript at /usr/lib/libc.so. * Move the "iconv*" wrapper symbols to libc_nonshared.a This should solve the runtime ambiguity about which symbols resolve to where. If you compile against the iconv in libc, your runtime dependencies will be unambiguous. Old 9.x libraries and binaries will always resolve against their libiconv.so.3 like they did on 9.x. They won't resolve against libc. Old 10.x binaries will be satisified by the .symver helpers. This should allow ports to selectively compile against the libiconv port if needed and it should behave without ambiguity now. Discussed with: kib |
||
---|---|---|
.. | ||
__iconv_get_list.3 | ||
_strtol.h | ||
_strtoul.h | ||
citrus_aliasname_local.h | ||
citrus_bcs_strtol.c | ||
citrus_bcs_strtoul.c | ||
citrus_bcs.c | ||
citrus_bcs.h | ||
citrus_csmapper.c | ||
citrus_csmapper.h | ||
citrus_db_factory.c | ||
citrus_db_factory.h | ||
citrus_db_file.h | ||
citrus_db_hash.c | ||
citrus_db_hash.h | ||
citrus_db.c | ||
citrus_db.h | ||
citrus_esdb_file.h | ||
citrus_esdb.c | ||
citrus_esdb.h | ||
citrus_fix_grouping.h | ||
citrus_hash.c | ||
citrus_hash.h | ||
citrus_iconv_local.h | ||
citrus_iconv.c | ||
citrus_iconv.h | ||
citrus_lock.h | ||
citrus_lookup_factory.c | ||
citrus_lookup_factory.h | ||
citrus_lookup_file.h | ||
citrus_lookup.c | ||
citrus_lookup.h | ||
citrus_mapper_local.h | ||
citrus_mapper.c | ||
citrus_mapper.h | ||
citrus_memstream.c | ||
citrus_memstream.h | ||
citrus_mmap.c | ||
citrus_mmap.h | ||
citrus_module.c | ||
citrus_module.h | ||
citrus_namespace.h | ||
citrus_none.c | ||
citrus_none.h | ||
citrus_pivot_factory.c | ||
citrus_pivot_factory.h | ||
citrus_pivot_file.h | ||
citrus_prop.c | ||
citrus_prop.h | ||
citrus_region.h | ||
citrus_stdenc_local.h | ||
citrus_stdenc_template.h | ||
citrus_stdenc.c | ||
citrus_stdenc.h | ||
citrus_types.h | ||
iconv_canonicalize.3 | ||
iconv_compat.c | ||
iconv-internal.h | ||
iconv.3 | ||
iconv.c | ||
iconvctl.3 | ||
iconvlist.3 | ||
Makefile.inc | ||
Symbol.map |