Hi! On 8/16/22 16:45, Andrew Ball wrote:
JM> Things are more likely to work if you use -O0 -- looks like you > are using -O2. AS> Speaking from experience (NetBSD inside a SIMH VAX), the > optimizer seems to be even more broken than the rest of GCC on > VAX. Forcing the optimizer off got more stuff successfully > built from pkgsrc than with -O2 or even -O1. Thanks! I added "CFLAGS+= -O0" to /etc/mk.conf and was able to build pkgtools/digest and editors/joe.
What version of GCC are we talking about? GCC-12 (or was it 11?!) should have plenty of VAX-related fixes and should perform much better than earlier versions. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913