Problem fixed. Using -feliminate-unused-debug-types flag stops the production 
of tens of thousands of things that causes ctfmerge to overflow its counter. 

My next question is: why does ctfmerge prune the .hash section header from the 
elf object? When krtld loads unix it looks for the DT_HASH entry in the program 
headers to locate the hash data. However, ctfmerge flags .hash to be ignored so 
neither the header nor the corresponding data is copied to the output elf file. 
So when krtld looks up the dynamic PHDR it gets an address for the DT_HASH 
entity but the data there is junk.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to