Unable to compile OpenSSL 0.9.7i with -xpec
This is really weird. Check this out:
$ gcc cversion.c -I . -I .. -I ../include -xpec -c -fast
51:.size$XB_sgccYSSEEVaU.SSLeay_version.buf, 295
52: $XB_sgccYSSEEVaU.SSLeay_version.buf:
53:.skip 295
cg error (as) : "/var/tmp//ccyxnrK5.s", line 52 : redefinition of symbol "$XB_sgccYSSEEVaU.SSLeay_version.buf"
$ gcc cversion.c -I . -I .. -I ../include -c -fast
$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: /export/home/bldmstr/nightly/20060207_gcc2ir.s10.opt.tarbuild/src/configure --prefix=/opt/gcc --enable-languages=c,c++
Thread model: posix
gcc version 4.0.2 (gccfss)
It works fine without -xpec but not right with it. This is OpenSSL's crypto/cversion.c file which basically just defines a function. Changing the name of the function changes the name of the error, so it's not that there's another instance of the same name anywhere.
Any ideas?

