Mark Phalan wrote: > On Fri, 2008-03-28 at 10:15 -0500, Nicolas Williams wrote: >> On Fri, Mar 28, 2008 at 03:58:55PM +0100, Mark Phalan wrote: >>> I don't think the problem is that '-g' appears twice. It works for me >>> now when I use: >>> >>> COPTFLAG="-xO0 -g" COPTFLAG64="-xO0 -g" >>> >>> No linking errors and no optimizations. >> Oh good. Thanks. > > > The > > COPTFLAG= COPTFLAG64= > > option didn't work either. I got the linking errors all over again. It > would nice to know what changed that caused this..
What version of the compilers are you using? If the -Kpic flag is being set for your build, then I don't see why any combination of -g -xO should cause the creation of non-pic code. Seems like a bug to me, that we should get forwarded to the compiler folks. -- Rod