I'm new to Debian GNU/kFreeBSD and I came to it in order to solve a
FTBFS bug (561121) in package polyorb. Bug 561121 is a consequence of
bug 564232 (in gnat-4.4). I have found a fix for 564232 (tested up to
packaging) and there is two solutions for me now :
  - 1/ don't touch to gnat-4.4 and apply a work-around for 561121
  - 2/ modify gnat-4.4 on kfreebsd (amd64 and i386) and upload again
       all packages depending on gnat-4.4

The first solution is simpler from an upload point of view but 564232
may have impact on others Ada packages which need to bind sockets
(libaws for example).

The proper fix would be fix gnat-4.4 and binNMU/requeue affected packages.

There is a big difference between (kernels of) Linux and FreeBSD in this:

Linux:
       struct sockaddr {
               short       sa_family;
               char        sa_data[14];
           }


FreeBSD:
       struct sockaddr {
               unsigned char sa_len;
               unsigned char sa_family;
               char          sa_data[14];
           }

Ada bindings have to closely follow definition of this struct.

Petr



--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to