NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Fwd: Re: lib/50276: [PATCH] Portability fixes for ossaudio.c
The following reply was made to PR lib/50276; it has been noted by GNATS.
From: Robert Millan <rmh%gnu.org@localhost>
To: pooka%iki.fi@localhost, rumpkernel-users%freelists.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: Fwd: Re: lib/50276: [PATCH] Portability fixes for ossaudio.c
Date: Thu, 24 Sep 2015 20:15:37 +0200
El 24/09/15 a les 16:18, Antti Kantee ha escrit:
> On 24/09/15 14:02, Antti Kantee wrote:
>> On 24/09/15 10:43, Robert Millan wrote:
>>>
>>> FYI:
>>>
>>> https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50276
>>
>> If Hurd soundcard.h is missing those defines, doesn't it mean that some
>> ossaudio programs will fail to compile on Hurd? Why isn't adding the
>> missing defines to the Hurd soundcard.h possible? The ABI used by old
>> binaries will not change if you add new definitions, so I'm not sure I
>> understand your motivation for patching NetBSD sources here.
>
> Also, if you want to use just ossaudio on Hurd, wouldn't it be better to use the in-(rump-)kernel ossaudio compat translator (sys/compat/ossaudio)?
There's a big problem with using sys/compat/ossaudio on non-NetBSD: since
it is built in the kernel tree, it includes the NetBSD version of <sys/soundcard.h>
and also other headers like <sys/audioio.h> and <sys/ioccom.h>.
As a result it can't be ABI-compatible with applications that were built
using the system-wide version of <sys/soundcard.h>.
Note that rebuilding world is not supported with binary-based distributions, unlike
systems of BSD tradition where it's usually a trivial task.
--
Robert Millan
Home |
Main Index |
Thread Index |
Old Index