Welcome to Oracle Communities
Register and Participate in Oracle's online communities. Learn from thousands of experts, get answers to your questions and share knowledge with peers.
Linking debug version of our program fails when memory usage of ld exceeds 2GB
We are compiling 64 bit version of program
As one can see from object file.
ELF 64-bit MSB relocatable SPARCV9 Version 1, UltraSPARC3 Extensions Required [VIS]
You can execute ld with the -z altexec64 option or run the 64-bit version directly from /usr/ccs/bin/sparcv9/ld.
Info for those who will read this later: on recent systems (such as Solaris 11), /bin/ld is already a 64-bit program.