GNU bug report logs -
#35410
27.0.50; 32-bit build of master failing with MSYS2
Previous Next
Reported by: martin rudalics <rudalics <at> gmx.at>
Date: Wed, 24 Apr 2019 07:33:02 UTC
Severity: normal
Found in version 27.0.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 35410 <at> debbugs.gnu.org (full text, mbox):
>> w32.o:w32.c:(.text+0xa29f): undefined reference to `_imp___futime32'
>> collect2.exe: error: ld returned 1 exit status
>> make[1]: *** [Makefile:643: temacs.exe] Fehler 1
>> make[1]: Verzeichnis „/c/emacs/trunk/opt-32/src“ wird verlassen
>> make: *** [Makefile:423: src] Fehler 2
>>
>> A build configured with CFLAGS='-O0 -g3' proceeds without problems.
>> The 32-builds use gcc 7.4.0. 64-bit builds with the same options
>> proceed without problems using gcc 8.3.0.
>
> Seems to work okay here, but my ming32 gcc is 7.2.0. Is this still a
> problem?
Yes. With slight changes in the Makefile references:
CCLD temacs.exe
w32.o:w32.c:(.text+0xa27f): undefined reference to `_imp___futime32'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:651: temacs.exe] Fehler 1
make[1]: Verzeichnis „/c/emacs/trunk/opt-32/src“ wird verlassen
make: *** [Makefile:424: src] Fehler 2
In an earlier conversation with Eli I wrote
> > An optimized 32-bit build apparently does not recognize
> >
> > #ifndef __MINGW64_VERSION_MAJOR
and he told me
> So I guess we need to find an alternative to
> __MINGW64_VERSION_MAJOR that will work in the 32-bit MinGW64 builds.
> Look for macros that include "_VERSION_" or "_MAJOR" in the MinGW64
> headers.
but I had no good idea how to continue.
martin
This bug report was last modified 5 years and 287 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.