From: Christoph Scholtes <cschol2112@googlemail.com>
To: 11527@debbugs.gnu.org, eggert@cs.ucla.edu, Eli Zaretskii <eliz@gnu.org>
Subject: bug#11527: import 2012-05-20 gnulib into trunk
Date: Sat, 26 May 2012 21:36:31 -0600 [thread overview]
Message-ID: <4FC1A13F.7090805@gmail.com> (raw)
In-Reply-To: <4FC16EBA.6070805@cs.ucla.edu>
Hi Paul,
On 5/26/2012 6:00 PM, Paul Eggert wrote:
> After further testing I installed that into the trunk
> as bzr 108385 and am marking it as done.
This breaks the Windows build.
Output:
sha1.c:28:22: fatal error: stdalign.h: No such file or directory
md5.c:26:22: fatal error: stdalign.h: No such file or directory
compilation terminated.
compilation terminated.
mingw32-make[1]: *** [oo/i386/md5.o] Error 1
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [oo/i386/sha1.o] Error 1
mingw32-make[1]: Leaving directory
`D:/devel/emacs/emacs-bzr/trunk_jenkins/lib'
mingw32-make: *** [bootstrap-gmake] Error 2
Eli,
I am not sure if this is the right fix:
=== modified file 'lib/makefile.w32-in'
--- lib/makefile.w32-in 2012-05-22 16:20:27 +0000
+++ lib/makefile.w32-in 2012-05-27 03:22:07 +0000
@@ -105,6 +105,7 @@
$(SRC)/md5.c \
$(SRC)/md5.h \
$(EMACS_ROOT)/nt/inc/stdint.h \
+ $(EMACS_ROOT)/nt/inc/stdalign.h \
$(EMACS_ROOT)/nt/inc/sys/stat.h \
$(EMACS_ROOT)/src/s/ms-w32.h \
$(EMACS_ROOT)/src/config.h
@@ -113,6 +114,7 @@
$(SRC)/sha1.c \
$(SRC)/sha1.h \
$(EMACS_ROOT)/nt/inc/stdint.h \
+ $(EMACS_ROOT)/nt/inc/stdalign.h \
$(EMACS_ROOT)/nt/inc/sys/stat.h \
$(EMACS_ROOT)/src/s/ms-w32.h \
$(EMACS_ROOT)/src/config.h
@@ -121,6 +123,7 @@
$(SRC)/sha256.c \
$(SRC)/sha256.h \
$(EMACS_ROOT)/nt/inc/stdint.h \
+ $(EMACS_ROOT)/nt/inc/stdalign.h \
$(EMACS_ROOT)/nt/inc/sys/stat.h \
$(EMACS_ROOT)/src/s/ms-w32.h \
$(EMACS_ROOT)/src/config.h
@@ -129,6 +132,7 @@
$(SRC)/sha512.c \
$(SRC)/sha512.h \
$(EMACS_ROOT)/nt/inc/stdint.h \
+ $(EMACS_ROOT)/nt/inc/stdalign.h \
$(EMACS_ROOT)/nt/inc/sys/stat.h \
$(EMACS_ROOT)/src/s/ms-w32.h \
$(EMACS_ROOT)/src/config.h
=== added file 'nt/inc/stdalign.h'
--- nt/inc/stdalign.h 1970-01-01 00:00:00 +0000
+++ nt/inc/stdalign.h 2012-05-27 03:28:15 +0000
@@ -0,0 +1,26 @@
+/* Replacement stdalign.h file for building GNU Emacs on Windows.
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+GNU Emacs is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef _NT_STDALIGN_H_
+#define _NT_STDALIGN_H_
+
+/* Not available on Windows */
+#define _STRING_ARCH_unaligned 1
+
+#endif /* _NT_STDALIGN_H_ */
Christoph
next prev parent reply other threads:[~2012-05-27 3:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-20 20:33 bug#11527: import 2012-05-20 gnulib into trunk Paul Eggert
[not found] ` <handler.11527.B.133754618020290.ack@debbugs.gnu.org>
2012-05-27 0:00 ` Paul Eggert
2012-05-27 3:36 ` Christoph Scholtes [this message]
2012-05-27 6:07 ` Eli Zaretskii
2012-05-27 12:08 ` Eli Zaretskii
2012-05-27 12:31 ` Christoph Scholtes
2012-05-27 12:13 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FC1A13F.7090805@gmail.com \
--to=cschol2112@googlemail.com \
--cc=11527@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.