cannot compile sbcl-2.2.1-98-gaa92707b8 in win32: undefined reference to PAGE_WRITEPROTECTED_P

Bug #1960690 reported by alexis rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

When I try to compile SBCL version sbcl-2.2.1-98-gaa92707b8 in under MINGW32, I get the following compilation error:

D:\msys32\mingw32\bin/ld.exe: win32-os.o: in function `handle_access_violation':
D:\Downloads\sbcl_latest\sbcl\src\runtime/win32-os.c:1138: undefined reference to `PAGE_WRITEPROTECTED_P'
collect2.exe: error: ld returned 1 exit status

It seems the macro is defined in gc-private.h but the file is not included by win32-os.c

$ uname -a
MINGW32_NT-10.0-19042 DESKTOP-0ETM2HC 3.2.0-340.i686 2021-07-04 19:22 UTC i686 Msys
$ sbcl --version
SBCL sbcl-2.2.0-172-g908d4455d

Revision history for this message
alexis rivera (riveraah) wrote :
Revision history for this message
Douglas Katzman (dougk) wrote :

Did you notice this problem because you actually need 32-bit windows, or is it mainly an academic exercise in fixing a broken build? I'd like to gather anecdotes on what is actually in use.

Changed in sbcl:
status: New → Fix Committed
Revision history for this message
alexis rivera (riveraah) wrote :

I actually use a cheap lenovo ideapad windows 32-bit laptop for little programming tasks :)

Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.