The failing invocation is: (cd work/solaris10-sparc/build-isa-sparcv8plus/Python-3.4.0/; \ ld -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/lib/ffi -L/opt/csw/lib -lsocket -lresolv -lrt -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/lib/ffi -L/opt/csw/lib -lsocket -lresolv -lrt -mcpu=v9 -Wa,-xarch=v8plus -L/opt/csw/lib/ffi -L/opt/csw/lib -lsocket -lresolv -lrt -g -mcpu=v9 -Wa,-xarch=v8plus -D_XPG5 -I/opt/csw/include build/temp.solaris-2.10-sun4v.32bit-3.4/home/maciej/src/opencsw/pkg/lang-python/python/branches/python-3.4/work/solaris10-sparc/build-isa-sparcv8plus/Python-3.4.0/Modules/_ctypes/_ctypes_test.o -L. -L/opt/csw/lib/ffi -L/opt/csw/lib -lpython3.4m -o build/lib.solaris-2.10-sun4v.32bit-3.4/_ctypes_test.so)
And the error message is: ld: warning: option -c appears more than once, first setting taken ld: warning: option -c appears more than once, first setting taken ld: fatal: unrecognized option '-g' ld: warning: option -c appears more than once, first setting taken debug: warning: unrecognized debug option (try help): _XPG5 debug: debug: Solaris Linkers: 5.10-1.1518 debug: ld: fatal: use the -z help option for usage information ...but the -z flag isn't even there. I also don't know what's up with the -g flag, I can see it in "mgar modenv" output. Maciej
