You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/02/13 17:03:09 UTC

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

    [ https://issues.apache.org/jira/browse/STDCXX-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568604#action_12568604 ] 

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

There's quite a bit of discussion in the [thread|http://www.nabble.com/-PATCH--STDCXX-507--28or-using-__declspec-28dllexport-dllimport-on-gcc-cygwin-in-shared-builds-29-to14217944.html#a14217944] above and I'm not sure what the status of the patch is. The discussion mentions STDCXX-408. Does it make sense to try to address both issues in the same patch? Also, can we come up with a better (more general, without mentioning {{\_\_CYGWIN\_\_}}) way to deal with the preprocessor conditionals around the {{_RWSTD_EXPORT}} decoration?

> [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.