- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- linking problem - "collect2: ld terminated with si...
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
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
тАО12-12-2001 04:50 PM
тАО12-12-2001 04:50 PM
linking problem - "collect2: ld terminated with signal 10"
When we try to link our compiled C++ files into a shared library using g++ (version 3.0.1) on HP-UX B.11.11 U 9000/782, we get:
collect2: ld terminated with signal 10 [Bus error]
*** Error exit code 1
Dumped core contains:
...
ERROR: mmap failed for dld
ERROR: mmap failed for TSD
...
We have seen this happen at different points of linking process.
There is enough swap space on the machine (1G).
Any ideas?
Thank you.
-Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2001 01:28 AM
тАО12-13-2001 01:28 AM
Re: linking problem - "collect2: ld terminated with signal 10"
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2001 10:54 AM
тАО12-13-2001 10:54 AM
Re: linking problem - "collect2: ld terminated with signal 10"
I appreciate your responce. Unfortunately the patch has not helped.
We wrote a simple C++ program that just allocated memory in a loop and it dumps core before we expect it to. So, it runs out of memory. It seems like our allocated swap space is not used as it should be. When the program runs, before it dies, we monitored output of swapinfo and we noticed that dev and memory swap usage does not change (device swap actually stays at 0% even though it is dedicated as primary swap and has priority 0). Only reserve swap usage changes until some point
and then our program terminates with error
saying (file system is full). Do you have any ideas on how verify and correct this?
Here is output from swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 0 /dev/vg00/lvol2
reserve - 129 -129
memory 389 103 286 26%
total 1413 232 1181 16% - 0 -
Thanks
-Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2001 12:36 PM
тАО12-13-2001 12:36 PM
Re: linking problem - "collect2: ld terminated with signal 10"
The "file system full" error probably means your program is dumping core and filling the file system in the process.
Is the linker still terminating with a bus error as stated in your original post?
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2001 03:56 PM
тАО12-13-2001 03:56 PM
Re: linking problem - "collect2: ld terminated with signal 10"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2001 01:46 AM
тАО12-18-2001 01:46 AM
Re: linking problem - "collect2: ld terminated with signal 10"
Regards,
Steve