octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60535] malloc bug in unistd-wrappers.c


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60535] malloc bug in unistd-wrappers.c
Date: Thu, 6 May 2021 08:32:59 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36 Edg/90.0.818.51

Follow-up Comment #4, bug #60535 (project octave):

I tried the attached patch that uses the "windows-spawn" module that was added
to gnulib a few months ago.

But compilation for Windows with MXE Octave fails while compiling gnulib with
this error:

libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
-I/home/osboxes/Documents/Repositories/Octave/mxe-octave/tmp-default-octave/octave-7.0.0/libgnu
-I..
-I/home/osboxes/Documents/Repositories/Octave/mxe-octave/usr/x86_64-w64-mingw32/include
-fvisibility=hidden -g -O2 -MT windows-spawn.lo -MD -MP -MF
.deps/windows-spawn.Tpo -c
/home/osboxes/Documents/Repositories/Octave/mxe-octave/tmp-default-octave/octave-7.0.0/libgnu/windows-spawn.c
 -DDLL_EXPORT -DPIC -o .libs/windows-spawn.o
/home/osboxes/Documents/Repositories/Octave/mxe-octave/tmp-default-octave/octave-7.0.0/libgnu/windows-spawn.c:415:1:
error: conflicting types for 'compose_handles_block'
  415 | compose_handles_block (const struct inheritable_handles *inh_handles,
      | ^~~~~~~~~~~~~~~~~~~~~
In file included from
/home/osboxes/Documents/Repositories/Octave/mxe-octave/tmp-default-octave/octave-7.0.0/libgnu/windows-spawn.c:21:
/home/osboxes/Documents/Repositories/Octave/mxe-octave/tmp-default-octave/octave-7.0.0/libgnu/windows-spawn.h:118:12:
note: previous declaration of 'compose_handles_block' was here
  118 | extern int compose_handles_block (const struct inheritable_handles
*inh_handles,
      |            ^~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:3299: windows-spawn.lo] Error 1


I sent a report to the gnulib mailing list here:
https://lists.gnu.org/archive/html/bug-gnulib/2021-05/msg00004.html


(file #51388)
    _______________________________________________________

Additional Item Attachment:

File name: bug60535-gnulib-windows-spawn.patch Size:6 KB
   
<https://file.savannah.gnu.org/file/bug60535-gnulib-windows-spawn.patch?file_id=51388>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60535>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]