This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: FreeBSD port (36): config support
- From: Bruno Haible <haible at ilog dot fr>
- To: Roland McGrath <roland at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 17:23:48 +0200 (CEST)
- Subject: Re: FreeBSD port (36): config support
- References: <15662.49137.557061.865917@honolulu.ilog.fr><200208261153.g7QBreh21854@dhcp187.sf.frob.com>
Roland McGrath writes:
> Is there any special reason you are using libc.so.6 as the soname?
> That seems odd for a port that isn't ABI-compatible with GNU/Linux
> (and hasn't recently had a previous libc.so.5).
I wanted to avoid clashing with FreeBSD's BSD libc, which is currently
called libc.so.4 and (as I understand it) might be called libc.so.5 in
FreeBSD 5.0.
If the soname really is irrelevant, I'll use libc.so.1. That will
avoid clashing with FreeBSD 5.0 libc as well :-)
> I think we should also have a line:
>
> .*-.*-freebsd.*-gnu.* DEFAULT GLIBC_2.3
>
> since there has never been a prior ABI for your port to be compatible with,
> right?
The oldest_abi setting that I have in
sysdeps/unix/bsd/bsd4.4/freebsd/configure.in appears to have the same
effect:
======================================================================
# Don't bother with backward compatibility with glibc versions < 2.2.6.
if test "$oldest_abi" = default; then
oldest_abi=2.2.6
fi
======================================================================
Is anything wrong with that?
Bruno