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

Bug#344836: libc6: strtold is broken on hppa



reopen 344836
thanks

John David Anglin a écrit :
As this is not a bug, I am closing this bug report.


But there is still a problem ...

#define _ISOC99_SOURCE
#include <stdlib.h>
#include <stdio.h>
int
main ()
{
  printf ("%Lf\n", strtold ("1", NULL));
  return 0;
}

dave@gsyprf11:~/gcc_test$ gcc -o ld1 -Wall ld1.c
dave@gsyprf11:~/gcc_test$ ./ld1
1.937500

Ah ok, I am able to reproduce the problem on hppa. I have reopened the bug report.

This is with

dave@gsyprf11:~/gcc-4.2/objdir$ dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libc6          2.3.5-8        GNU C Library: Shared libraries and Timezone

With an updated glibc from Carlos O'Donell,

dave@hiauly6:~/gcc_test$ dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libc6          2.3.5-8.1      GNU C Library: Shared libraries and Timezone


Could you please tell me where to find this version of the glibc, and also the sources? I can then find the patch and include it in the Debian package.

Aurelien

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



Reply to: