NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Emacsen segfaulting on startup



Thor Lancelot Simon <tls%panix.com@localhost> writes:

> On Tue, Jan 28, 2014 at 09:33:27AM +0000, Matthias Scheler wrote:
>> 
>> This is nothing that NetBSD can ensure. A good example is the 64-bit
>> time_t change in NetBSD 6.0. If you compile a shared library and a
>> program using this type under NetBSD 5.0 they will use a 32-bit time_t.
>> If you now recompile *one* of those two under NetBSD 6.0 it will start
>> using 64-bit time_t-s. And as a result it is no longer compatible with
>> the NetBSD 5.0 library or program. This will definitely result in crashes.
>
> All the libraries involved _should_ have appropriately renamed
> symbols for any function taking time_t or different library major
> version numbers.

That may be true for libraries supplied with NetBSD.
I would expect that libraries in pkgsrc compiled with NetBSD 5 headers
will not play well programs/libraries in pkgsrc compiled with NetBSD 6
headers, because there's no change in soname for those libraries when
built in different environments.

Attachment: pgpBkDY3XfhLN.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index