This content has been marked as final. Show 2 replies
There are two possibilities:
1. Not enough memory (swap space) is available to link the program. Be sure you have more than 4GB swap space free before beginning the link step.
2. The program's final address space exceeds the maximum size for a 32-bit program on Solaris. The limit varies from 3Gb to nearly 4Gb depending on the update level of Solaris 10 and the linker.
If you have determined that #1 is not the problem, post your question in the Open Solaris linker discussion group.
Include the first line of file /etc/release in your post, which shows the Solaris update level. Example:
Someone will be able to help you determine whether you can fix the problem with a linker patch, or whether the program is just too large.
% head -1 /etc/release Solaris 10 10/09 s10s_u8wos_08a SPARC
If the program is not too far over the limit, there probably are some things you can do to reduce the size.
If building the program as a 64-bit application is an option, that would eliminate any problems due to #2.