Okay it appears this problem is related to smart link; removal of -XX avoids it. Given advances with dead code elimination in ld I'm guessing smartlink isn't really needed these days anyway or is there still some advantage to it at the compiler level? Bruce.