On 8/16/2023 9:43 AM, Stuart Henderson wrote:
> On 2023/08/12 20:43, Daniel Dickman wrote:
>> CVSROOT:     /cvs
>> Module name: ports
>> Changes by:  dan...@cvs.openbsd.org  2023/08/12 20:43:15
>>
>> Modified files:
>>      lang/pcc       : Makefile.inc 
>>      lang/pcc/pcc   : distinfo 
>>      lang/pcc/pcc/patches: patch-arch_powerpc_local_c 
>>                            patch-cc_cc_cc_c 
>>      lang/pcc/pcc-libs: Makefile distinfo 
>>
>> Log message:
>> update to pcc 20230813
> 
> i386 fails:
> 
> cc  -O2 -pipe  -Wall -Wmissing-prototypes -Wstrict-prototypes -Wshadow 
> -Wsign-compare -DGCC_COMPAT -DPCC_DEBUG -D_ISOC
> 99_SOURCE  -Dos_openbsd -Dmach_i386  -I. -I. -I../.. -I../../mip 
> -I../../arch/i386  -I../../os/openbsd -I../../common
> -c -o code.o ../../arch/i386/code.c
> ../../arch/i386/code.c:452:22: error: no member named 'ss' in 'struct attr'
>         if (stcall && (ap = strattr(p->n_left->n_ap)) &&
>                             ^~~~~~~~~~~~~~~~~~~~~~~~   
> ./pass1.h:623:26: note: expanded from macro 'strattr' 
> #define strattr(x)      ((x)->ss)
>                          ~~~  ^
> 1 error generated.
> 
> 
> also, the comment about why it's using a wrong version of autoconf
> should have the version bumped to 2.71 (though if there's a problem
> with AC_PROG_LEX in 2.70/2.71 that should probably be fixed in autoconf..)
> 

You may want to try using autoconf-2.71. The scripts were last reconf'd
with 2.71, and I was the one who last reconf'd them, on an OpenBSD
machine. Worked fine here.

~Brian

Reply via email to