pkgsrc-Users archive

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

Re: emulators/wine build failure



On Fri, 14 Aug 2026, Paul Goyette wrote:

ah thanks for the reference

On Fri, 14 Aug 2026, Martin Husemann wrote:

On Fri, Aug 14, 2026 at 02:26:43AM -0700, Paul Goyette wrote:
not sure why this doesn't appear in the archives...

This is PR 60539, I thought it had been fixed, but apparently not yet
commited.

Martin

This appears to have been committed to HEAD:

 Module Name:	src
 Committed By:	riastradh
 Date:		Sat Sep 19 15:18:30 UTC 2026

 Modified Files:
 	src/sys/arch/amd64/amd64: machdep.c

	 Log Message:
	 amd64: Make XSAVE area overlap mcontext_t on signal delivery.
	...
	... <long commit log elided>
	...
	To generate a diff of this commit:
	 cvs rdiff -u -r1.380 -r1.381 src/sys/arch/amd64/amd64/machdep.c

But it is not enough. On a host amd64 built with sources dated 2026-10-24 04:23:39 I'm now seeing this:

dlls/ntdll/unix/signal_x86_64.c: In function 'save_context':
dlls/ntdll/unix/signal_x86_64.c:899:5: error: cannot convert to a pointer type
  899 |     if (FPU_sig(sigcontext))
      |     ^~
dlls/ntdll/unix/signal_x86_64.c:904:9: error: cannot convert to a pointer type
  904 |         context->FltSave = *FPU_sig(sigcontext);
      |         ^~~~~~~
dlls/ntdll/unix/signal_x86_64.c: In function 'restore_context':
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
  935 |     if (FPU_sig(sigcontext)) *FPU_sig(sigcontext) = context->FltSave;
      |     ^~
dlls/ntdll/unix/signal_x86_64.c:935:5: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c: In function 'fpe_handler':
dlls/ntdll/unix/signal_x86_64.c:2083:9: error: cannot convert to a pointer type
 2083 |         if (FPU_sig(ucontext) && FPU_sig(ucontext)->StatusWord & 0x40)
      |         ^~
dlls/ntdll/unix/signal_x86_64.c:2083:9: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c:2094:9: error: cannot convert to a pointer type
 2094 |         rec.ExceptionInformation[1] = FPU_sig(ucontext) ? FPU_sig(ucontext)->MxCsr : 0;
      |         ^~~
dlls/ntdll/unix/signal_x86_64.c:2094:9: error: cannot convert to a pointer type
dlls/ntdll/unix/signal_x86_64.c: In function 'signal_init_process':
dlls/ntdll/unix/signal_x86_64.c:2393:14: warning: unused variable 'wow_teb' [-Wunused-variable]
 2393 |     WOW_TEB *wow_teb = get_wow_teb( NtCurrentTeb() );
      |              ^~~~~~~
gmake: *** [Makefile:88422: dlls/ntdll/unix/signal_x86_64.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from /usr/include/ctype.h:100,
                 from include/winnt.h:30,
                 from include/windef.h:271,
                 from include/winternl.h:25,
                 from dlls/ntdll/unix/registry.c:33:
include/wine/debug.h: In function 'wine_dbgstr_fourcc':
include/wine/debug.h:332:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  332 |     if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
      |                     ^
include/wine/debug.h:332:42: warning: array subscript has type 'char' [-Wchar-subscripts]
  332 |     if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
...


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index