NetBSD-Users archive

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

Re: Emacsen segfaulting on startup



In article <20140128160611.GA7589%panix.com@localhost>,
Thor Lancelot Simon  <tls%panix.com@localhost> wrote:
>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.

Yes, should... But we don't rename symbols in 3rd party libraries that are not
included in the base system.

christos



Home | Main Index | Thread Index | Old Index