pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46559 (bootstrapping pkgsrc on solaris 10 / sparc64 fails in shells/pdksh)



> "cc -V" doesn't really reveal any version-information, nor does really
> state that's sunpro.

Ok, this of course was plain wrong. 

/opt/solaris-studio-12.3/bin/cc, besides being a link to
/opt solaris-studio-12.3/prod/bin/cc, provides the following
version-information:

$cc -V
cc: Sun C 5.12 SunOS_sparc 2011/11/16

This in turn seems to match this line in mk/compiler/sunpro.mk

.if !empty(CC_VERSION:M5.9) || !empty(CC_VERSION:M5.1[0-9])
_COMPILER_ABI_FLAG.64= -m64
.elif...

CC_VERSION, fed by

CC_VERSION!= ${CC_PATH} -V 2>&1 | ${GREP} '^cc'

should probably contain the version-info above, but it seems that
somehow the elif-line is executed, which feeds _COMPILER_ABI_FLAG.64
with -xarch=v9

So far, I don't quite understand why this seems to happen, and am still
investigating it.

- Volkmar

-- 
http://www.dimensionv.de/
http://blog.nifelheim.info/tech/

Attachment: pgpcLw2mrz6KT.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index