On Wed, Sep 26, 2012 at 8:32 AM, Scott Meyer <dutch...@gmail.com> wrote:
>> Unfortunately, Linux seems to be devolved such that various distributions
>> are no longer binary compatible.  You have to have a executable compiled
>> for your particular build of your distribution.  Or, at least, I haven't
>> figured out how to create an executable that works across multiple
>> distributions....

2012/9/27 John Found <johnfo...@evrocom.net>:
> Offtopic: This is very strange statement.
> I am trying to write programs in assembly language for Windwos and Linux and
> always though Linux distributions are binary compatible (for the same CPU of 
> course).
> Where I can read more on this topic? What actually differs? Libraries, system 
> calls
> of something else?

Well, I have a theory on this subject, and it's not as complicated as other
posts in this thread suggest.

There is a binary difference involved here: between the x86 and amd64 (also
known as x64) processor. 32-bit linux it totally different from 64-bit
linux, but
in order to make 32-bit binaries run on 64-bit linux, all kinds of 'wrapper'
shared libraries are created that pass things through as needed. My
guess is that the problem discussed here is a bug in one of those
wrapper shared libraries. It must be related to the inet libraries,
which handle the connection to the net, because the symptom
of the problem is "host not found". I saw it on my own 64-bit Ubuntu 12.04.

Solutions? I see two of them.
- Add support for ipv6 to fossil. This will call totally different functions for
hostname resolution, so I wouldn't be surprised if this problem magically
disappears as soon as ipv6 support is in fossil. 32-bit skype runs
fine on 64-bit linux, and that application makes ip connections too.
- If that doesn't work, provide two different fossil binaries, one for 32-bit
and one for 64-bit linux. That should be enough to cover all cases.

Regards,
        Jan Nijtmans
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to