* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
@ 2007-02-12 13:50 bugs at busybox.net
0 siblings, 0 replies; 7+ messages in thread
From: bugs at busybox.net @ 2007-02-12 13:50 UTC (permalink / raw)
To: buildroot
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1090
======================================================================
Reported By: GJanak
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 1090
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-14-2006 00:01 PST
Last Modified: 02-12-2007 05:50 PST
======================================================================
Summary: stdlibc++ fails putting a double in a stream.
Description:
The problem was:
putting a double in a stream:
cout << 10.5 ;
Produce an empty string, or some garbage characters.
I could resolve the error down to some wired Code combination between
uclibc and libstdc++
======================================================================
----------------------------------------------------------------------
GJanak - 02-12-07 05:50
----------------------------------------------------------------------
I don't think it's an buildroot Problem.
Its an uclibc c++ error...
Issue History
Date Modified Username Field Change
======================================================================
11-14-06 00:01 GJanak New Issue
11-14-06 00:01 GJanak Status new => assigned
11-14-06 00:01 GJanak Assigned To => uClibc
11-14-06 00:05 GJanak Issue Monitored: GJanak
02-12-07 05:34 vapier Assigned To uClibc => buildroot
02-12-07 05:50 GJanak Note Added: 0002152
======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
2009-01-29 19:54 ` Javier Viguera
@ 2009-01-29 20:04 ` Peter Korsgaard
0 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2009-01-29 20:04 UTC (permalink / raw)
To: buildroot
>>>>> "Javier" == Javier Viguera <javier.viguera@digi.com> writes:
Hi,
Javier> I have hit this old bug with a toolchain for ARM based on
Javier> gcc-4.0.3 and uclibc-0.9.28. The issue is described below and
Javier> in the thread of the bug there seems to be a couple of
Javier> patches that fixes the problem:
>> gcc_snprintf_double_cssize.patch
>> c_locale.h
Javier> I am trying to get those patches, but the bug-tracking system
Javier> seems not to have bug #1090. I seem to remember some changes
Javier> in the buildroot servers lately, so that might be the reason
Javier> why i cannot reach older bugs.
Yes, the old bugtracker is gone and we have a bugzilla installation
instead.
Javier> Does anyone here still have those patches?
Sorry, not me.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
2008-08-25 12:31 bugs at busybox.net
@ 2009-01-29 19:54 ` Javier Viguera
2009-01-29 20:04 ` Peter Korsgaard
0 siblings, 1 reply; 7+ messages in thread
From: Javier Viguera @ 2009-01-29 19:54 UTC (permalink / raw)
To: buildroot
Hello all,
I have hit this old bug with a toolchain for ARM based on gcc-4.0.3 and
uclibc-0.9.28. The issue is described below and in the thread of the bug
there seems to be a couple of patches that fixes the problem:
> gcc_snprintf_double_cssize.patch
> c_locale.h
I am trying to get those patches, but the bug-tracking system seems not
to have bug #1090. I seem to remember some changes in the buildroot
servers lately, so that might be the reason why i cannot reach older bugs.
Does anyone here still have those patches?
Someone with access to the old bug's database that can take those
patches and send them to the list or to my e-mail (below)?
Thanks in advance.
--
Regards,
Javier Viguera
Software Engineer
Digi International Spain, S.A.
C/ Milicias 13, Bajo
26003 Logro?o (La Rioja)
Spain
Phone: +34 941 270 060
Fax: +34 941 237 770
mailto:javier.viguera at digi.com
http://www.digi.com
bugs at busybox.net wrote:
> A NOTE has been added to this issue.
> ======================================================================
> http://busybox.net/bugs/view.php?id=1090
> ======================================================================
> Reported By: GJanak
> Assigned To: buildroot
> ======================================================================
> Project: buildroot
> Issue ID: 1090
> Category: Architecture Specific
> Reproducibility: always
> Severity: major
> Priority: normal
> Status: assigned
> ======================================================================
> Date Submitted: 11-14-2006 00:01 PST
> Last Modified: 08-25-2008 05:31 PDT
> ======================================================================
> Summary: stdlibc++ fails putting a double in a stream.
> Description:
> The problem was:
> putting a double in a stream:
> cout << 10.5 ;
>
> Produce an empty string, or some garbage characters.
>
> I could resolve the error down to some wired Code combination between
> uclibc and libstdc++
> ======================================================================
>
> ----------------------------------------------------------------------
> GJanak - 02-12-07 05:50
> ----------------------------------------------------------------------
> I don't think it's an buildroot Problem.
>
> Its an uclibc c++ error...
>
> ----------------------------------------------------------------------
> GJanak - 08-27-07 05:02
> ----------------------------------------------------------------------
> New info.
>
> The Problem is: very old files are patched into current gcc releases.
> I mean the toolchain/gcc/4.2.1/200-uclibc-locale.patch
> which creates
> gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc
>
> The file created by the patch is based on the generic Config and than
> patched for uclibc. But the generic is changed with 4.x.x.
>
> Best solution would be to copy the gcc/libstdc++-v3/config/locale/generic
> Dir and than add a patch on this Dir.
>
> The Differences needed would be smaller. And perhaps the Patch would work
> for multiple gcc versions.
>
> ----------------------------------------------------------------------
> GJanak - 08-27-07 05:03
> ----------------------------------------------------------------------
> The Patch gcc_snprintf_double_cssize.patch is a workaround, hacking the
> change in gcc. But it isnt a good solution.
>
> ----------------------------------------------------------------------
> ncoesel - 08-25-08 05:31
> ----------------------------------------------------------------------
> I've been bitten by this as well. IMHO the proper solution is to mimic
> non-C99 behaviour so convert_from_v should use sprintf instead of snprintf
> when the size is 0. I attached the modified c_locale.h file.
>
> Issue History
> Date Modified Username Field Change
> ======================================================================
> 11-14-06 00:01 GJanak New Issue
> 11-14-06 00:01 GJanak Status new => assigned
> 11-14-06 00:01 GJanak Assigned To => uClibc
> 11-14-06 00:05 GJanak Issue Monitored: GJanak
> 02-12-07 05:34 vapier Assigned To uClibc => buildroot
> 02-12-07 05:50 GJanak Note Added: 0002152
> 08-27-07 05:02 GJanak Note Added: 0002698
> 08-27-07 05:02 GJanak File Added: gcc_snprintf_double_cssize.patch
>
> 08-27-07 05:03 GJanak Note Added: 0002699
> 08-25-08 05:31 ncoesel Note Added: 0010764
> ======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
@ 2008-08-25 12:31 bugs at busybox.net
2009-01-29 19:54 ` Javier Viguera
0 siblings, 1 reply; 7+ messages in thread
From: bugs at busybox.net @ 2008-08-25 12:31 UTC (permalink / raw)
To: buildroot
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1090
======================================================================
Reported By: GJanak
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 1090
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-14-2006 00:01 PST
Last Modified: 08-25-2008 05:31 PDT
======================================================================
Summary: stdlibc++ fails putting a double in a stream.
Description:
The problem was:
putting a double in a stream:
cout << 10.5 ;
Produce an empty string, or some garbage characters.
I could resolve the error down to some wired Code combination between
uclibc and libstdc++
======================================================================
----------------------------------------------------------------------
GJanak - 02-12-07 05:50
----------------------------------------------------------------------
I don't think it's an buildroot Problem.
Its an uclibc c++ error...
----------------------------------------------------------------------
GJanak - 08-27-07 05:02
----------------------------------------------------------------------
New info.
The Problem is: very old files are patched into current gcc releases.
I mean the toolchain/gcc/4.2.1/200-uclibc-locale.patch
which creates
gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc
The file created by the patch is based on the generic Config and than
patched for uclibc. But the generic is changed with 4.x.x.
Best solution would be to copy the gcc/libstdc++-v3/config/locale/generic
Dir and than add a patch on this Dir.
The Differences needed would be smaller. And perhaps the Patch would work
for multiple gcc versions.
----------------------------------------------------------------------
GJanak - 08-27-07 05:03
----------------------------------------------------------------------
The Patch gcc_snprintf_double_cssize.patch is a workaround, hacking the
change in gcc. But it isnt a good solution.
----------------------------------------------------------------------
ncoesel - 08-25-08 05:31
----------------------------------------------------------------------
I've been bitten by this as well. IMHO the proper solution is to mimic
non-C99 behaviour so convert_from_v should use sprintf instead of snprintf
when the size is 0. I attached the modified c_locale.h file.
Issue History
Date Modified Username Field Change
======================================================================
11-14-06 00:01 GJanak New Issue
11-14-06 00:01 GJanak Status new => assigned
11-14-06 00:01 GJanak Assigned To => uClibc
11-14-06 00:05 GJanak Issue Monitored: GJanak
02-12-07 05:34 vapier Assigned To uClibc => buildroot
02-12-07 05:50 GJanak Note Added: 0002152
08-27-07 05:02 GJanak Note Added: 0002698
08-27-07 05:02 GJanak File Added: gcc_snprintf_double_cssize.patch
08-27-07 05:03 GJanak Note Added: 0002699
08-25-08 05:31 ncoesel Note Added: 0010764
======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
@ 2007-08-27 12:03 bugs at busybox.net
0 siblings, 0 replies; 7+ messages in thread
From: bugs at busybox.net @ 2007-08-27 12:03 UTC (permalink / raw)
To: buildroot
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1090
======================================================================
Reported By: GJanak
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 1090
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-14-2006 00:01 PST
Last Modified: 08-27-2007 05:03 PDT
======================================================================
Summary: stdlibc++ fails putting a double in a stream.
Description:
The problem was:
putting a double in a stream:
cout << 10.5 ;
Produce an empty string, or some garbage characters.
I could resolve the error down to some wired Code combination between
uclibc and libstdc++
======================================================================
----------------------------------------------------------------------
GJanak - 02-12-07 05:50
----------------------------------------------------------------------
I don't think it's an buildroot Problem.
Its an uclibc c++ error...
----------------------------------------------------------------------
GJanak - 08-27-07 05:02
----------------------------------------------------------------------
New info.
The Problem is: very old files are patched into current gcc releases.
I mean the toolchain/gcc/4.2.1/200-uclibc-locale.patch
which creates
gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc
The file created by the patch is based on the generic Config and than
patched for uclibc. But the generic is changed with 4.x.x.
Best solution would be to copy the gcc/libstdc++-v3/config/locale/generic
Dir and than add a patch on this Dir.
The Differences needed would be smaller. And perhaps the Patch would work
for multiple gcc versions.
----------------------------------------------------------------------
GJanak - 08-27-07 05:03
----------------------------------------------------------------------
The Patch gcc_snprintf_double_cssize.patch is a workaround, hacking the
change in gcc. But it isnt a good solution.
Issue History
Date Modified Username Field Change
======================================================================
11-14-06 00:01 GJanak New Issue
11-14-06 00:01 GJanak Status new => assigned
11-14-06 00:01 GJanak Assigned To => uClibc
11-14-06 00:05 GJanak Issue Monitored: GJanak
02-12-07 05:34 vapier Assigned To uClibc => buildroot
02-12-07 05:50 GJanak Note Added: 0002152
08-27-07 05:02 GJanak Note Added: 0002698
08-27-07 05:02 GJanak File Added: gcc_snprintf_double_cssize.patch
08-27-07 05:03 GJanak Note Added: 0002699
======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
@ 2007-08-27 12:02 bugs at busybox.net
0 siblings, 0 replies; 7+ messages in thread
From: bugs at busybox.net @ 2007-08-27 12:02 UTC (permalink / raw)
To: buildroot
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1090
======================================================================
Reported By: GJanak
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 1090
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-14-2006 00:01 PST
Last Modified: 08-27-2007 05:02 PDT
======================================================================
Summary: stdlibc++ fails putting a double in a stream.
Description:
The problem was:
putting a double in a stream:
cout << 10.5 ;
Produce an empty string, or some garbage characters.
I could resolve the error down to some wired Code combination between
uclibc and libstdc++
======================================================================
----------------------------------------------------------------------
GJanak - 02-12-07 05:50
----------------------------------------------------------------------
I don't think it's an buildroot Problem.
Its an uclibc c++ error...
----------------------------------------------------------------------
GJanak - 08-27-07 05:02
----------------------------------------------------------------------
New info.
The Problem is: very old files are patched into current gcc releases.
I mean the toolchain/gcc/4.2.1/200-uclibc-locale.patch
which creates
gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc
The file created by the patch is based on the generic Config and than
patched for uclibc. But the generic is changed with 4.x.x.
Best solution would be to copy the gcc/libstdc++-v3/config/locale/generic
Dir and than add a patch on this Dir.
The Differences needed would be smaller. And perhaps the Patch would work
for multiple gcc versions.
Issue History
Date Modified Username Field Change
======================================================================
11-14-06 00:01 GJanak New Issue
11-14-06 00:01 GJanak Status new => assigned
11-14-06 00:01 GJanak Assigned To => uClibc
11-14-06 00:05 GJanak Issue Monitored: GJanak
02-12-07 05:34 vapier Assigned To uClibc => buildroot
02-12-07 05:50 GJanak Note Added: 0002152
08-27-07 05:02 GJanak Note Added: 0002698
======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream.
@ 2007-02-12 13:34 bugs at busybox.net
0 siblings, 0 replies; 7+ messages in thread
From: bugs at busybox.net @ 2007-02-12 13:34 UTC (permalink / raw)
To: buildroot
The following issue has been ASSIGNED.
======================================================================
http://busybox.net/bugs/view.php?id=1090
======================================================================
Reported By: GJanak
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 1090
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-14-2006 00:01 PST
Last Modified: 02-12-2007 05:34 PST
======================================================================
Summary: stdlibc++ fails putting a double in a stream.
Description:
The problem was:
putting a double in a stream:
cout << 10.5 ;
Produce an empty string, or some garbage characters.
I could resolve the error down to some wired Code combination between
uclibc and libstdc++
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-14-06 00:01 GJanak New Issue
11-14-06 00:01 GJanak Status new => assigned
11-14-06 00:01 GJanak Assigned To => uClibc
11-14-06 00:05 GJanak Issue Monitored: GJanak
02-12-07 05:34 vapier Assigned To uClibc => buildroot
======================================================================
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-29 20:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 13:50 [Buildroot] [buildroot 0001090]: stdlibc++ fails putting a double in a stream bugs at busybox.net
-- strict thread matches above, loose matches on Subject: below --
2008-08-25 12:31 bugs at busybox.net
2009-01-29 19:54 ` Javier Viguera
2009-01-29 20:04 ` Peter Korsgaard
2007-08-27 12:03 bugs at busybox.net
2007-08-27 12:02 bugs at busybox.net
2007-02-12 13:34 bugs at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.