Subject: bug#9731: 24.0.90; buffer.c assertion failure in temacs.exe

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Oct 2011 11:06:30 +0200

> From: Christoph Scholtes <[email-masked]>
> Date: Tue, 11 Oct 2011 20:18:13 -0600
> 
> 
> Compiling Emacs trunk r106057 on Windows 7/64bit. 
> 
> For some reason the below error does not seem to happen on `ming32-make
> bootstrap'. My own nightly build with `make bootstrap' built fine.
> 
> `mingw32-make' yields the following error:
> 
> gcc -o oo/i386/temacs.bin  -gdwarf-2 -g3  -mno-cygwin -LD:/devel/emacs/gnutls-2.
> 10.5-x86/lib -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x010000
> 00 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo/i386/temacs.map oo/i386
> /firstfile.o oo/i386/emacs.res oo/i386/temacs0.a oo/i386/temacs1.a oo/i386/temac
> s2.a oo/i386/lastfile.a ../lib/oo/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32 -lcom
> dlg32 -luser32 -lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10
> Warning: .drectve `-aligncomm:"_pfnCheckSumMappedFile",2 ' unrecognized
> Warning: .drectve `-aligncomm:"_data_section",2 ' unrecognized
> Warning: .drectve `-aligncomm:"_bss_section",2 ' unrecognized
> Warning: .drectve `-aligncomm:"_bss_section_static",2 ' unrecognized

I cannot reproduce this.  It could be a GCC or Binutils dependent,
though.

Did you try removing all the *.o files in oo/i386/, and rebuilding?