incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-507) [Cygwin] Access violation while loading libstdxxx.dll in dynamic builds
Date Fri, 07 Dec 2007 18:03:47 GMT

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


Mime
View raw message