[RTEMS Project] #3012: Global C++ IO streams are broken (cout, cin, cerr)

RTEMS trac trac at rtems.org
Thu Jul 6 01:08:35 UTC 2017


#3012: Global C++ IO streams are broken (cout, cin, cerr)
-----------------------------+--------------------------
 Reporter:  Sebastian Huber  |       Owner:  Chris Johns
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  Indefinite
Component:  GCC              |     Version:  4.12
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+--------------------------

Comment (by Chris Johns):

 Has the recent change in newlib to have a single stdout, stderr, etc
 object and per thread references in the TLS fixed this problem?

 If the first use of the C++ standard streams is before any code redirects
 and overwrites a thread TLS pointer the standard streams should be the
 global instance.

--
Ticket URL: <http://devel.rtems.org/ticket/3012#comment:9>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list