You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Farid Zaripov (JIRA)" <ji...@apache.org> on 2007/07/31 20:56:53 UTC

[jira] Created: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
------------------------------------------------------------------------

                 Key: STDCXX-507
                 URL: https://issues.apache.org/jira/browse/STDCXX-507
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Build
    Affects Versions: 4.2
         Environment: gcc 3.4.4/Cygwin
            Reporter: Farid Zaripov


Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.

------------------------
$ ./localedef || echo $?
5

$ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
--- Process 732, exception C0000005 at 7C919994
--- Process 732, exception C0000005 at 7C964ED1
------------------------


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516771 ] 

Farid Zaripov edited comment on STDCXX-507 at 7/31/07 11:58 AM:
----------------------------------------------------------------

The attached file is the output of the dumpbin /IMPORTS localedef.exe


 was:
The output of the dumpbin /IMPORTS localedef.exe

> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Attachment: cygwin.patch

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov reassigned STDCXX-507:
------------------------------------

    Assignee: Farid Zaripov

> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Patch Info: [Patch Available]

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Attachment:     (was: cygwin.patch)

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Attachment: localedef.imports

The output of the dumpbin /IMPORTS localedef.exe

> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Fix Version/s: 4.2.1

> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549496 ] 

Farid Zaripov commented on STDCXX-507:
--------------------------------------

  ChangeLog:

  STDCXX-507
  * include/rw/_defs.h [__CYGWIN__ && _RWSHARED]: #define _RWSTD_EXPORT macro
using __declspec (dllexport) directiive.
  * include/typeinfo (bad_cast): Don't declare class as _RWSTD_EXPORT.
  Declare as _RWSTD_EXPORT the only members, that doesn't already present in libc.
  (bad_typeid): Ditto.
  * include/exception (exception): Ditto.
   (bad_exception): Ditto.
  (set_unexpected): Ditto.
  (unexpected): Ditto.
  (set_terminate): Ditto.
  (terminate): Ditto.
  (uncaught_exception): Ditto.
  * include/new (bad_alloc): Ditto.
  * etc/config/gcc.config [CYGWIN] (SHARED_CPPFLAGS): #define _RWSHARED for shared builds.
  (LDSOFLAGS): turn on exporting of the all symbols (this feature is disabled by default
  due to using __declspec(dllexport)).
  (LDFLAGS): Force ".exe" executable files extension.


> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550194 ] 

Martin Sebor commented on STDCXX-507:
-------------------------------------

The the thread below for a discussion of this issue:
http://www.nabble.com/-PATCH--STDCXX-507--28or-using-__declspec-28dllexport-dllimport-on-gcc-cygwin-in-shared-builds-29-to14217944.html#a14217944

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Farid Zaripov updated STDCXX-507:
---------------------------------

    Attachment: cygwin.patch

The patch is attached.

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517164 ] 

Farid Zaripov commented on STDCXX-507:
--------------------------------------

This is the old known issue of the cygwin ld auto-import feature: http://www.cygwin.com/ml/cygwin/2004-09/msg01101.html

The possible solutions:
1) use __declspec (dllexport/dllimport) (disables auto-import feature)
2) use ld script (-Wl,--script,i386pe.x-no-rdata): http://qtwin.cvs.sourceforge.net/*checkout*/qtwin/qt-3/mkspecs/cygwin-g%2B%2B/i386pe.x-no-rdata?pathrev=QT_WIN32_3_3_BRANCH

Now I try to check the 1).

> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-507:
--------------------------------

    Summary: [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds  (was: Access violation while loading libstdxxx.dll in dynamic builds on Cygwin)

Added a platform tag to the Summary to make the issue easier to find.

> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-507) Access violation while loading libstdxxx.dll in dynamic builds on Cygwin

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517212 ] 

Farid Zaripov commented on STDCXX-507:
--------------------------------------

There some problems with exporting basic_string<char>, basic_string<wchar_t>, exception::exception(), ...

So switching to the 2).


> Access violation while loading libstdxxx.dll in dynamic builds on Cygwin
> ------------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>         Attachments: localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds

Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549499 ] 

Farid Zaripov commented on STDCXX-507:
--------------------------------------

After the patch the examples and tests are built successfully.
But there left some problems when running (exit code == 128):

The failed examples:
NAME                           STATUS WARN ASSERTS FAILED PERCNT    USER     SYS    REAL
alg1                              128    0                         0.000   0.015   0.123
complex                           128    0                         0.015   0.015   0.445
complx                            128    0                         0.000   0.015   0.126
filebuf                           128    0                         0.000   0.015   0.073
fstream                           128    0                         0.000   0.015   0.089
ifstream                          128    0                         0.000   0.015   0.087
insert_wchar                      128    0                         0.000   0.015   0.077
istream1                          128    0                         0.000   0.000   0.071
istreambuf_iterator               128    0                         0.000   0.015   0.084
istringstream                     128    0                         0.000   0.015   0.075
istrstream                        128    0                         0.000   0.046   0.077
money_get                         128    0                         0.000   0.015   0.061
multiset                          128    0                         0.000   0.046   0.143
num_get                           128    0                         0.000   0.031   0.068
num_put                           128    0                         0.000   0.015   0.122
ostream                           128    0                         0.000   0.015   0.111
setex                             128    0                         0.000   0.046   0.135
spell                             128    0                         0.000   0.015   0.109
stringbuf                         128    0                         0.015   0.046   0.070
strstream                         128    0                         0.015   0.015   0.108
strstreambuf                      128    0                         0.015   0.031   0.079
time_get                          128    0                         0.000   0.015   0.088
time_put                          128    0                         0.000   0.015   0.277
wostream                          128    0                         0.000   0.015   0.106
wstringstream                     128    0                         0.000   0.015   0.090


The failed tests:
NAME                           STATUS WARN ASSERTS FAILED PERCNT    USER     SYS    REAL
21.string.io                      128    0                         0.000   0.015   0.134
21.string.io.stdcxx-206           128    0                         0.000   0.000   0.091
22.locale.globals.mt              128    0                         0.000   0.015   0.090
22.locale.messages                128    0                         0.000   0.015   0.101
22.locale.money.get.mt            128    0                         0.000   0.015   0.104
22.locale.money.get               128    0                         0.000   0.062   0.102
22.locale.money.put.mt            128    0                         0.000   0.015   0.100
22.locale.money.put               128    0                         0.000   0.015   0.127
22.locale.moneypunct              128    0                         0.000   0.031   0.107
22.locale.num.get.mt              128    0                         0.000   0.015   0.107
22.locale.num.get                 128    0                         0.000   0.015   0.115
22.locale.num.put.mt              128    0                         0.000   0.031   0.101
22.locale.num.put                 128    0                         0.015   0.031   0.133
22.locale.time.get.mt             128    0                         0.000   0.015   0.102
22.locale.time.get                128    0                         0.000   0.015   0.104
22.locale.time.put.mt             128    0                         0.000   0.000   0.127
22.locale.time.put                128    0                         0.000   0.031   0.103
27.filebuf.codecvt                128    0                         0.000   0.031   0.087
27.filebuf.virtuals.stdcxx-522    128    0                         0.000   0.015   0.089
27.istream.fmat.arith             128    0                         0.000   0.015   0.097
27.istream.manip                  128    0                         0.000   0.015   0.109
27.istream.readsome               128    0                         0.000   0.015   0.098
27.istream.sentry                 128    0                         0.000   0.015   0.099
27.ostream                        128    0                         0.000   0.015   0.105
27.streambuf.imbue.stdcxx-307     128    0                         0.000   0.015   0.096
27.stringbuf.members.stdcxx-42    128    0                         0.000   0.015   0.080
27.stringbuf.str.stdcxx-514       128    0                         0.000   0.031   0.095
27.stringbuf.xsputn.stdcxx-515    128    0                         0.000   0.015   0.081


> [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
> -----------------------------------------------------------------------
>
>                 Key: STDCXX-507
>                 URL: https://issues.apache.org/jira/browse/STDCXX-507
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: gcc 3.4.4/Cygwin
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: cygwin.patch, localedef.imports
>
>
> Many utilities, examples and tests failed to start due to access violation while loading libstdxxx.dll. In night builds logs they all finished with status 5. The reason is access violation while loading libstdxxx.dll. All of them has many times duplicated imports (see the attached file) and I suppose that bug in ld utility.
> ------------------------
> $ ./localedef || echo $?
> 5
> $ strace /usr/src/stdcxx/trunk/build15d/bin/localedef
> --- Process 732, exception C0000005 at 7C919994
> --- Process 732, exception C0000005 at 7C964ED1
> ------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.