[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41148] parallel package: fails to build in wi
From: |
Olaf Till |
Subject: |
[Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw |
Date: |
Wed, 04 May 2016 20:27:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1 |
Follow-up Comment #32, bug #41148 (project octave):
Mike, surely it can be installed. But I'd prefer that it can't be installed if
it doesn't work.
And the m-code call in parcellfun to Octaves fork() user function is not the
only instance of calling the fork() system call. There is also a server
function in the package which uses the fork() system call directly. This
function will just segfault if this system call is not provided by the OS.
In bug #47843, I've just recommended against trying to implement fork in
Octave on MINGW.
And after looking at the code of Cygwin, which somehow implements fork with
CreateProcessW, I understand that there is no cleaner solution (as I initially
thought possible) to use CreateProcess than to emulate fork() with it. And I
think the way to implement fork() with CreateProcess is just terrible. I
certainly won't try to copy this effort in the parallel package.
So what I probably do is to check for fork() at configure time, and if
lacking, at least disable the server, but probably also abort installation,
since installation would be useless.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, (continued)
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Mike Miller, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw,
Olaf Till <=