- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: c++ static global classes not constructed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 03:47 AM
тАО11-17-2005 03:47 AM
c++ static global classes not constructed
I'm using GCC 4.0.2
libstdc++ is linked statically.
Here is my link command:
/usr/local/4.0.2/bin/gcc -o mcommon.o build_enhance.o load.o -lesmu -lesmsdk -lboost_regex -ldce -Wl,+n /usr/local/lib/libiconv.a /usr/lib/libdld.sl -lnsl -lsec -Wl,-a,archive_shared -lc -lm --L../../build/release/lib/hpux-hppa-11 -s -L/lib/hpux-hppa-11 -lstdc++
The global class instance in question is created in libesmsdk.a, which is an archive library created earlier in the build processes.
Any help is greatly appreciated!
- Tags:
- g++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 04:04 AM
тАО11-17-2005 04:04 AM
Re: c++ static global classes not constructed
Compare the settings of the LD_PRELOAD environment variable on "good" and "bad" systems.
Ditto with "locale -a".
Ditto with patches especially those related to linker tools and ld.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2005 07:43 PM
тАО11-17-2005 07:43 PM
Re: c++ static global classes not constructed
- Tags:
- dld
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 02:42 AM
тАО11-18-2005 02:42 AM
Re: c++ static global classes not constructed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2005 02:51 AM
тАО11-18-2005 02:51 AM
Re: c++ static global classes not constructed
You should also note that PHSS_33033 supercedes your patch and is marked "Critical" so it's probably a good idea to update to it.