Hi,
I changed _OPSYS_SUPPORTS_SSP to "no" in mk/platform/SunOS.mk. ( one of my goal was to use pkgsrc instead of opencsw so installing gcc from opencsw to compile pkgsrc was kind of out of the equation )
Good news ! Bootstrap worked :
...
Hopefully everything is now complete.
Thank you for using pkgsrc!
===========================================================================
===> bootstrap started: Sat Jul 1 14:45:58 EDT 2017
===> bootstrap ended: Sat Jul 1 15:30:06 EDT 2017
I copied /usr/pkgsrc/bootstrap/work/mk.conf.example to /usr/pkg/etc/mk.conf. However, I still have another issue. Not sure it's gcc related though. When I try to compile anything I get an error :
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
bmake[3]: stopped in /usr/pkgsrc/pkgtools/digest
bmake[2]: stopped in /usr/pkgsrc/lang/gcc2
bmake[1]: stopped in /usr/pkgsrc/pkgtools/digest
bmake: stopped in /usr/pkgsrc/sysutils/lsof
I didn't see anything wrong in my mk.conf :
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Sat Jul 1 14:46:00 EDT 2017
.ifdef BSD_PKG_MK # begin pkgsrc settings
PKG_DBDIR= /usr/pkg/pkgdb
PKG_TOOLS_BIN= /usr/pkg/sbin
TOOLS_PLATFORM.install?= /usr/pkg/bin/bsdinstall
TOOLS_PLATFORM.awk?= /usr/pkg/bin/nawk
TOOLS_PLATFORM.sed?= /usr/pkg/bin/nbsed
TOOLS_PLATFORM.sh?= /usr/bin/bash
DBG= # prevent DBG from adding default optimizer flags
.endif # end pkgsrc settings
Any suggestion ?