Date: Sun, 2 Dec 2007 13:01:05 -0800 From: "Carl Shapiro" <carl.shapiro@gmail.com> To: "Kostik Belousov" <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org, davidxu@freebsd.org Subject: Re: Serious compatibility breakage in -current. Message-ID: <4dcb5abd0712021301y45ec05bv8e256fb55e08f7b4@mail.gmail.com> In-Reply-To: <20071202143048.GS83121@deviant.kiev.zoral.com.ua> References: <4dcb5abd0711290226u69105089ya10526519e5cc12d@mail.gmail.com> <20071129112824.GD83121@deviant.kiev.zoral.com.ua> <4dcb5abd0711292235k2bc2af86t45f7268d429c03ad@mail.gmail.com> <20071130152631.GJ83121@deviant.kiev.zoral.com.ua> <4dcb5abd0712012042m6e6cd00br3c9e72c97f047ee5@mail.gmail.com> <20071202054815.GQ83121@deviant.kiev.zoral.com.ua> <4dcb5abd0712020059m70a02a0dyf63ebdaafc2a0ead@mail.gmail.com> <20071202143048.GS83121@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 2, 2007 6:30 AM, Kostik Belousov <kostikbel@gmail.com> wrote: > Yes, I have the similar program to. I asked somewhat different question. > sbcl has the following code in the src/runtime/bsd-os.c: > > /* Memory fault signal on FreeBSD was changed from SIGBUS to > * SIGSEGV. */ > if (getosreldate() < 700004) > sig_memory_fault = SIGBUS; > else > sig_memory_fault = SIGSEGV; > > It shall broke in the way similar to the CMUCL, after I commit the patch > to CURRENT/RELENG_7, regardless of whether I MFC crtbrand.c fix to RELENG_6. > This is why the machdep sysctls for i386/amd64 are introduced. > > Are you satisfied with this ? I, even after help from Kris Kennaway, > still unable to provide the solution that does not broke something, at > least without manual intervention (aka sysctl). Yes, I am still satisfied with your previous patch. Workarounds such as the one above solve the problem of making source code that one is at liberty to change compatible with both FreeBSD <=6 and FreeBSD 7. The problem I am trying to solve is how to keep binaries compatible. Since FreeBSD 7 has not been formally released, I believe the impact of your patch will not be significant. There is still plenty time to change applications that implemented a workaround for an unreleased version of FreeBSD. Changing old binaries is impossible.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4dcb5abd0712021301y45ec05bv8e256fb55e08f7b4>