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

Bug#190953: marked as done (bug found (in libc))



Your message dated Sun, 19 Feb 2006 17:44:04 +0100
with message-id <43F8A054.3060100@aurel32.net>
and subject line Bug#190953: bug found (in libc)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc0.3-dev
Severity: normal
Tags: patch

On Sun, Apr 27, 2003 at 03:27:45PM +0200, Niels Möller wrote:
> Robert Millan <zeratul2@wanadoo.es> writes:
> 
> > that's offtopic. i don't mind if you want to discuss wether we have
> > the goal of binary compatibilty,
> 
> Well, until I'm told otherwise, I believe binary compatibility *is* a
> goal, and for the not very distant future (in particular as we now (?)
> have pthreads on the Hurd). So I'll consider any glibc differences
> that prevent that as bugs. But perhaps it should be a different bug in
> the bugtracking system.

ok, i'm reporting another bug. if you want to add more info to it,
use n@bugs.debian.org where n is the newly created bug's number.

Description:

the following differences in <bits/sockaddr.h> break binary compatibility
between GNU and GNU/Linux.

note that this patch SUPERCEEDS the changes in bug #187391 (see the
bottom of the bug log). so if you choose to apply this patch, that
will close bug #187391 too.

--- /include/bits/sockaddr.h    2002-11-20 01:41:35.000000000 +0100
+++ /gli/usr/include/bits/sockaddr.h    2003-04-19 20:56:39.000000000 +0200
@@ -1,5 +1,5 @@
-/* Definition of `struct sockaddr_*' common members.  4.4 BSD version.
-   Copyright (C) 1995, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
+/* Definition of `struct sockaddr_*' common members.  Generic/4.2 BSD version.
+   Copyright (C) 1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
  
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,18 +26,15 @@
  
  
 /* POSIX.1g specifies this type name for the `sa_family' member.  */
-typedef unsigned char sa_family_t;
+typedef unsigned short int sa_family_t;
  
 /* This macro is used to declare the initial common members
    of the data types used for socket addresses, `struct sockaddr',
    `struct sockaddr_in', `struct sockaddr_un', etc.  */
  
-#define        __SOCKADDR_COMMON(sa_prefix)    \
-  unsigned char sa_prefix##len;                \
+#define        __SOCKADDR_COMMON(sa_prefix) \
   sa_family_t sa_prefix##family
                                                                                
-#define __SOCKADDR_COMMON_SIZE (2 * sizeof (unsigned char))
-
-#define _HAVE_SA_LEN   1       /* We have the sa_len field.  */
+#define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int))
                                                                                
 #endif /* bits/sockaddr.h */


-- 
Robert Millan

make: *** No rule to make target `war'.  Stop.

Another world is possible - Just say no to genocide


--- End Message ---
--- Begin Message ---
Michael Banck a écrit :
On Sun, Feb 19, 2006 at 12:15:34AM +0100, Aurelien Jarno wrote:

This patch will break the ABI, and is therefore unacceptable, unless you
change the soname of the libc. Moreover the sockaddr* structures are
passed to the kernel, and thus should match the kernel definitions, not
the one you would like to see.

In the current state such a patch is not acceptable, and will not work.
I think this bug report should be closed.


I agree.


Ok, closing it.

Aurelien

--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: