GNU bug report logs -
#14944
24.3.50; Cygw32 build break
Previous Next
Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Date: Wed, 24 Jul 2013 11:01:02 UTC
Severity: normal
Found in version 24.3.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14944 in the body.
You can then email your comments to 14944 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14944
; Package
emacs
.
(Wed, 24 Jul 2013 11:01:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 24 Jul 2013 11:01:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Because make_save_ptr is not defined in Cygw32, Cygw32 can't be built
on trunk.
(snip)
w32fns.o: In function `w32_monitor_enum':
/build/emacs/trunk/src/w32fns.c:4933: undefined reference to `make_save_ptr'
collect2: error: ld returned 1 exit status
(snip)
make_save_ptr is defined as below in src/alloc.c
#if defined HAVE_NS || defined DOS_NT
Lisp_Object
make_save_ptr (void *a)
{
Lisp_Object val = allocate_misc (Lisp_Misc_Save_Value);
struct Lisp_Save_Value *p = XSAVE_VALUE (val);
p->save_type = SAVE_POINTER;
p->data[0].pointer = a;
return val;
}
#endif
--
Kazuhiro Ito
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14944
; Package
emacs
.
(Wed, 24 Jul 2013 11:43:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14944 <at> debbugs.gnu.org (full text, mbox):
On 7/24/2013 6:59 AM, Kazuhiro Ito wrote:
> Because make_save_ptr is not defined in Cygw32, Cygw32 can't be built
> on trunk.
>
> (snip)
> w32fns.o: In function `w32_monitor_enum':
> /build/emacs/trunk/src/w32fns.c:4933: undefined reference to `make_save_ptr'
> collect2: error: ld returned 1 exit status
> (snip)
>
>
> make_save_ptr is defined as below in src/alloc.c
>
> #if defined HAVE_NS || defined DOS_NT
> Lisp_Object
> make_save_ptr (void *a)
> {
> Lisp_Object val = allocate_misc (Lisp_Misc_Save_Value);
> struct Lisp_Save_Value *p = XSAVE_VALUE (val);
> p->save_type = SAVE_POINTER;
> p->data[0].pointer = a;
> return val;
> }
> #endif
This happened because of a change in rev 113453, in which make_save_ptr
(formerly called make_save_pointer) was defined only on platforms that
need it. The cygw32 platform was missed. The following should fix it.
=== modified file 'src/alloc.c'
--- src/alloc.c 2013-07-21 15:56:55 +0000
+++ src/alloc.c 2013-07-24 11:35:40 +0000
@@ -3371,7 +3371,7 @@
return val;
}
-#if defined HAVE_NS || defined DOS_NT
+#if defined HAVE_NS || defined DOS_NT || defined HAVE_NTGUI
Lisp_Object
make_save_ptr (void *a)
{
Ken
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14944
; Package
emacs
.
(Wed, 24 Jul 2013 14:40:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 14944 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 24 Jul 2013 07:42:14 -0400
> From: Ken Brown <kbrown <at> cornell.edu>
> Cc: 14944 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
>
> This happened because of a change in rev 113453, in which make_save_ptr
> (formerly called make_save_pointer) was defined only on platforms that
> need it. The cygw32 platform was missed. The following should fix it.
>
> === modified file 'src/alloc.c'
> --- src/alloc.c 2013-07-21 15:56:55 +0000
> +++ src/alloc.c 2013-07-24 11:35:40 +0000
> @@ -3371,7 +3371,7 @@
> return val;
> }
>
> -#if defined HAVE_NS || defined DOS_NT
> +#if defined HAVE_NS || defined DOS_NT || defined HAVE_NTGUI
> Lisp_Object
> make_save_ptr (void *a)
> {
If you are adding HAVE_NTGUI, then DOS_NT is redundant, and should be
removed.
Reply sent
to
Ken Brown <kbrown <at> cornell.edu>
:
You have taken responsibility.
(Wed, 24 Jul 2013 15:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
bug acknowledged by developer.
(Wed, 24 Jul 2013 15:14:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 14944-done <at> debbugs.gnu.org (full text, mbox):
On 7/24/2013 10:38 AM, Eli Zaretskii wrote:
>> Date: Wed, 24 Jul 2013 07:42:14 -0400
>> From: Ken Brown <kbrown <at> cornell.edu>
>> Cc: 14944 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
>>
>> This happened because of a change in rev 113453, in which make_save_ptr
>> (formerly called make_save_pointer) was defined only on platforms that
>> need it. The cygw32 platform was missed. The following should fix it.
>>
>> === modified file 'src/alloc.c'
>> --- src/alloc.c 2013-07-21 15:56:55 +0000
>> +++ src/alloc.c 2013-07-24 11:35:40 +0000
>> @@ -3371,7 +3371,7 @@
>> return val;
>> }
>>
>> -#if defined HAVE_NS || defined DOS_NT
>> +#if defined HAVE_NS || defined DOS_NT || defined HAVE_NTGUI
>> Lisp_Object
>> make_save_ptr (void *a)
>> {
>
> If you are adding HAVE_NTGUI, then DOS_NT is redundant, and should be
> removed.
Done, as bzr 113529. I'm closing the bug.
Ken
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 22 Aug 2013 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.