incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Dean (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-286) AIX static libraries are not static, but rather use the mkshrobj flag
Date Wed, 06 Sep 2006 19:49:24 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-286?page=all ]

Jeremy Dean updated STDCXX-286:
-------------------------------

    Description: 
The static library that is generated is not static within the application.  The library would
still need to be deployed with application otherwise get the following error:

exec(): 0509-036 Cannot load program tpdlist because of the following errors:
        0509-150   Dependent module libstd12s_rw.a(std12s_rw.o) could not be loaded.
        0509-022 Cannot load module libstd12s_rw.a(std12s_rw.o).
        0509-026 System error: A file or directory in the path name does not exist.



  was:
The static library that is generated is not static within the application.  The library would
still need to be deployed with application otherwise get the following error:

exec(): 0509-036 Cannot load program tpdlist because of the following errors:
        0509-150   Dependent module libstd12s_rw.a(std12s_rw.o) could not be loaded.
        0509-022 Cannot load module libstd12s_rw.a(std12s_rw.o).
        0509-026 System error: A file or directory in the path name does not exist.


Martin's response on this:

Yes. We've been using the -qmkshrobj compiler flag to prelink library object files (i.e.,
to generate code for template specializations used in the library sources). The side-effect
of using this option is that it results in the archiver producing an AIX shared archive rather
an ordinary one. Shared archives must be deployed just like shared libraries do.

Rebuilding the library with a recent version of XLC++ and without the -qmkshrobj option should
let you produce an ordinary archive that could be used to link self-contained programs (it
appears to with 8.0).
Earlier versions of VisualAge might be problematic (likely due to the tempinc model).


> AIX static libraries are not static, but rather use the mkshrobj flag
> ---------------------------------------------------------------------
>
>                 Key: STDCXX-286
>                 URL: http://issues.apache.org/jira/browse/STDCXX-286
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: AIX with Visual Age compiler
>            Reporter: Jeremy Dean
>
> The static library that is generated is not static within the application.  The library
would still need to be deployed with application otherwise get the following error:
> exec(): 0509-036 Cannot load program tpdlist because of the following errors:
>         0509-150   Dependent module libstd12s_rw.a(std12s_rw.o) could not be loaded.
>         0509-022 Cannot load module libstd12s_rw.a(std12s_rw.o).
>         0509-026 System error: A file or directory in the path name does not exist.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message