thanks for you answer, I didn't realize mingw-w64 already change default code
model.Â
I found one more file also need change,otherwise package build will fail. the
file is  share/make/winshlib.mk .
 $(NM) $^ | $(SED) -n $(SYMPAT)|$(SED) -n '/.refptr./d'  | $(SED) -n
's/.refptr*//g' Â >>
I think you used the wrong code model: these come from defaulting to the
medium-code model intended for x64 Cygwin -- see
https://gcc.gnu.org/ml/gcc-patches/2013-03/msg00858.html .
Also, please follow the posting guide and do not send HTML: your message
arrived rather garbled.
I've added a m