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/08/02 09:37:52 UTC

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

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