Bug#558314: eglibc: Add support for NTP API 4

2009-11-27 Thread Kurt Roeckx
> Changing the struct ntptimeval means changing the ABI. This has been
> done upstream using symbol versioning, using GLIBC_2.12. I am currently
> not sure we can already use this version without breaking the binary
> compatibility with other distributions.

We're only waiting for this since 2000.  A little longer won't
hurt.


Kurt




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



Bug#558314: eglibc: Add support for NTP API 4

2009-11-27 Thread Aurelien Jarno
On Fri, Nov 27, 2009 at 08:52:35PM +0100, Kurt Roeckx wrote:
> Source: eglibc
> Version: 2.10.2-2
> Severity: wishlist
> 
> Hi,
Hi,

> Could you please provide support for NTP API 4?

This has been added upstream to the future GLIBC 2.12.

> The changes in version 4 is the addition of MOD_TAI (ADJ_TAI)
> and a tai member in the ntptimeval struct.
> 
> The kernel already supports this since 2.6.26 when ADJ_TAI
> got added.  The current /usr/include/sys/timex.h already
> has ADJ_TAI and a tai member in struct timex.  The
> struct ntptimeval however didn't get changed, since this
> is not part of the kernel but implemented only in libc.
> 
> >From ntpd's point of view those changes need to be made:
> - add "long int tai;" to struct ntptimeval.  This is a long in
>   all known versions I know, but the kernel has an int in
>   the struct timex (for compatibility reasons with the old
>   struct?).
> - #define NTP_API 4
> - Have a MOD_TAI define
> - ntp_gettime() should fill in the tai member of struct
>   ntptimeval.

Changing the struct ntptimeval means changing the ABI. This has been
done upstream using symbol versioning, using GLIBC_2.12. I am currently
not sure we can already use this version without breaking the binary
compatibility with other distributions.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



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



Bug#558314: eglibc: Add support for NTP API 4

2009-11-27 Thread Kurt Roeckx
Source: eglibc
Version: 2.10.2-2
Severity: wishlist

Hi,

Could you please provide support for NTP API 4?

The changes in version 4 is the addition of MOD_TAI (ADJ_TAI)
and a tai member in the ntptimeval struct.

The kernel already supports this since 2.6.26 when ADJ_TAI
got added.  The current /usr/include/sys/timex.h already
has ADJ_TAI and a tai member in struct timex.  The
struct ntptimeval however didn't get changed, since this
is not part of the kernel but implemented only in libc.

>From ntpd's point of view those changes need to be made:
- add "long int tai;" to struct ntptimeval.  This is a long in
  all known versions I know, but the kernel has an int in
  the struct timex (for compatibility reasons with the old
  struct?).
- #define NTP_API 4
- Have a MOD_TAI define
- ntp_gettime() should fill in the tai member of struct
  ntptimeval.

Note that there is an ADJ_TAI in timex.h, and defines
to change from ADJ_* to MOD_*, but there is no such one
for TAI, NANO or MICRO.  The ntp source does not use any of
the ADJ_* names, it only uses MOD_*.

The following defines are missing:
#define MOD_NANOADJ_NANO
#define MOD_MICRO   ADJ_MICRO
#define MOD_TAI ADJ_TAI

(The other 3 ADJ_* defines are not used in ntp.)


Kurt




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



Re: Hurd: eglibc & gcc-4.4

2009-11-27 Thread Samuel Thibault
Aurelien Jarno, le Fri 27 Nov 2009 17:05:59 +0100, a écrit :
> > I don't know if there is still a reason for not running the testsuite.
> 
> I have tried to run it, and math/test-fenv makes the kernel to crash and
> the machine to reboot. On the console, I get:
> 
> panic: fpexterrflt

Gah, again a bug in the fpu support of GNU Mach... I guess that's why
the testsuite is disabled :) I'll have a look.

Samuel


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



tzdata 2009s-1 MIGRATED to testing

2009-11-27 Thread Debian testing watch
FYI: The status of the tzdata source package
in Debian's testing distribution has changed.

  Previous version: 2009q-2
  Current version:  2009s-1

-- 
This email is automatically generated once a day.  As the installation of
new packages into testing happens multiple times a day you will receive
later changes on the next day.
See http://release.debian.org/testing-watch/ for more information.


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



r4021 - in glibc-package/trunk/debian: . control.in sysdeps

2009-11-27 Thread Aurelien Jarno
Author: aurel32
Date: 2009-11-27 16:11:08 + (Fri, 27 Nov 2009)
New Revision: 4021

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/control.in/main
   glibc-package/trunk/debian/sysdeps/hurd.mk
Log:
  * Use gcc/g++-4.4 hurd-i386.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-11-27 09:51:28 UTC (rev 
4020)
+++ glibc-package/trunk/debian/changelog2009-11-27 16:11:08 UTC (rev 
4021)
@@ -5,9 +5,9 @@
 #557801.
   * debhelper.in/libc.postinst: restart the services instead of stopping
 them and then starting them again.  Closes: #211784.
-  * Use gcc/g++-4.4 on hppa, mips and mipsel.
+  * Use gcc/g++-4.4 on hppa, hurd-i386, mips and mipsel.
 
- -- Aurelien Jarno   Thu, 26 Nov 2009 01:39:22 +0100
+ -- Aurelien Jarno   Fri, 27 Nov 2009 17:09:08 +0100
 
 eglibc (2.10.2-2) unstable; urgency=low
 

Modified: glibc-package/trunk/debian/control.in/main
===
--- glibc-package/trunk/debian/control.in/main  2009-11-27 09:51:28 UTC (rev 
4020)
+++ glibc-package/trunk/debian/control.in/main  2009-11-27 16:11:08 UTC (rev 
4021)
@@ -7,8 +7,8 @@
  mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev 
[hurd-i386], libpthread-stubs0-dev [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
  binutils (>= 2.17cvs20070426), binutils (>= 2.20-3) [mips mipsel],
- g++-4.4 (>= 4.4.2-2) [!i386 !hurd-i386], g++-4.4-multilib [amd64 
kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
- g++-4.3 [i386 hurd-i386], g++-4.3-multilib [i386],
+ g++-4.4 (>= 4.4.2-2) [!i386], g++-4.4-multilib [amd64 kfreebsd-amd64 mips 
mipsel powerpc ppc64 s390 sparc],
+ g++-4.3 [i386], g++-4.3-multilib [i386],
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers 
 Uploaders: GOTO Masanori , Philip Blundell 
, Jeff Bailey , Daniel 
Jacobowitz , Clint Adams , Aurelien Jarno 
, Pierre Habouzit 

Modified: glibc-package/trunk/debian/sysdeps/hurd.mk
===
--- glibc-package/trunk/debian/sysdeps/hurd.mk  2009-11-27 09:51:28 UTC (rev 
4020)
+++ glibc-package/trunk/debian/sysdeps/hurd.mk  2009-11-27 16:11:08 UTC (rev 
4021)
@@ -1,6 +1,3 @@
-CC = gcc-4.3
-CXX = g++-4.3
-
 # This is for the GNU OS.  Commonly known as the Hurd.
 
 EGLIBC_OVERLAYS ?= $(shell ls glibc-linuxthreads* glibc-ports* glibc-libidn*)


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



Re: Hurd: eglibc & gcc-4.4

2009-11-27 Thread Aurelien Jarno
On Thu, Nov 26, 2009 at 12:42:13PM +0100, Samuel Thibault wrote:
> Aurelien Jarno, le Thu 26 Nov 2009 11:29:45 +0100, a écrit :
> > I have been able to install the
> > package and reboot my machine without any problem through.
> 
> Another needed test is to recompile the hurd package with the newer
> libc, to check that ext2fs.static bootstraps correctly.
> 
> > Could someone confirm that it is ok to build eglibc with gcc 4.4 on
> > hurd, so that I can do the switch in the next upload?
> 
> Rebooting with an updated ext2fs.static is the usual test we have done,
> as that already tests a very large part of the hurd-specific code.
> 

I have done the test, and it works well, so I'll switch to gcc 4.4 to
the next upload.

> I don't know if there is still a reason for not running the testsuite.
> 

I have tried to run it, and math/test-fenv makes the kernel to crash and
the machine to reboot. On the console, I get:

panic: fpexterrflt

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


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



r4020 - in glibc-package/trunk/debian: . control.in sysdeps

2009-11-27 Thread Aurelien Jarno
Author: aurel32
Date: 2009-11-27 09:51:28 + (Fri, 27 Nov 2009)
New Revision: 4020

Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/control
   glibc-package/trunk/debian/control.in/main
   glibc-package/trunk/debian/sysdeps/hppa.mk
Log:
  * Use gcc/g++-4.4 on hppa.



Modified: glibc-package/trunk/debian/changelog
===
--- glibc-package/trunk/debian/changelog2009-11-26 00:40:13 UTC (rev 
4019)
+++ glibc-package/trunk/debian/changelog2009-11-27 09:51:28 UTC (rev 
4020)
@@ -5,7 +5,7 @@
 #557801.
   * debhelper.in/libc.postinst: restart the services instead of stopping
 them and then starting them again.  Closes: #211784.
-  * Use gcc/g++-4.4 on mips and mipsel.
+  * Use gcc/g++-4.4 on hppa, mips and mipsel.
 
  -- Aurelien Jarno   Thu, 26 Nov 2009 01:39:22 +0100
 

Modified: glibc-package/trunk/debian/control
===
--- glibc-package/trunk/debian/control  2009-11-26 00:40:13 UTC (rev 4019)
+++ glibc-package/trunk/debian/control  2009-11-27 09:51:28 UTC (rev 4020)
@@ -7,8 +7,8 @@
  mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev 
[hurd-i386], libpthread-stubs0-dev [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
  binutils (>= 2.17cvs20070426), binutils (>= 2.20-3) [mips mipsel],
- g++-4.4 (>= 4.4.2-2) [!i386 !hppa !hurd-i386], g++-4.4-multilib [amd64 
kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
- g++-4.3 [hppa i386 hurd-i386], g++-4.3-multilib [i386],
+ g++-4.4 (>= 4.4.2-2) [!i386 !hurd-i386], g++-4.4-multilib [amd64 
kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
+ g++-4.3 [i386 hurd-i386], g++-4.3-multilib [i386],
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers 
 Uploaders: GOTO Masanori , Philip Blundell 
, Jeff Bailey , Daniel 
Jacobowitz , Clint Adams , Aurelien Jarno 
, Pierre Habouzit 

Modified: glibc-package/trunk/debian/control.in/main
===
--- glibc-package/trunk/debian/control.in/main  2009-11-26 00:40:13 UTC (rev 
4019)
+++ glibc-package/trunk/debian/control.in/main  2009-11-27 09:51:28 UTC (rev 
4020)
@@ -7,8 +7,8 @@
  mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev 
[hurd-i386], libpthread-stubs0-dev [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
  binutils (>= 2.17cvs20070426), binutils (>= 2.20-3) [mips mipsel],
- g++-4.4 (>= 4.4.2-2) [!i386 !hppa !hurd-i386], g++-4.4-multilib [amd64 
kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
- g++-4.3 [hppa i386 hurd-i386], g++-4.3-multilib [i386],
+ g++-4.4 (>= 4.4.2-2) [!i386 !hurd-i386], g++-4.4-multilib [amd64 
kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
+ g++-4.3 [i386 hurd-i386], g++-4.3-multilib [i386],
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers 
 Uploaders: GOTO Masanori , Philip Blundell 
, Jeff Bailey , Daniel 
Jacobowitz , Clint Adams , Aurelien Jarno 
, Pierre Habouzit 

Modified: glibc-package/trunk/debian/sysdeps/hppa.mk
===
--- glibc-package/trunk/debian/sysdeps/hppa.mk  2009-11-26 00:40:13 UTC (rev 
4019)
+++ glibc-package/trunk/debian/sysdeps/hppa.mk  2009-11-27 09:51:28 UTC (rev 
4020)
@@ -1,6 +1,3 @@
-CC = gcc-4.3
-CXX = g++-4.3
-
 libc_add-ons = ports nptl $(add-ons)
 libc_extra_config_options = $(extra_config_options) --disable-sanity-checks
 


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