[haiku-bugs] [Haiku] #12114: execvpe not implemented

  • From: "miqlas" <trac@xxxxxxxxxxxx>
  • Date: Tue, 02 Jun 2015 14:29:59 -0000

#12114: execvpe not implemented
--------------------------+------------------------------
Reporter: miqlas | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Keywords: execvpe | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------+------------------------------
I got this error message as i tried to compile Nim on the latest Haiku
nightly gcc2h:

{{{
nimcache/stdlib_osproc.o: In function `startprocessafterfork_145004':
stdlib_osproc.c:(.text+0x2a80): undefined reference to `execvpe'
collect2: error: ld returned 1 exit status
Error: execution of an external program failed
}}}

I understand, this is not required for POSIX compatibility, but it would
make the port of Nim lot easier. Of course, we can implement it in the Nim
patchset, but unfortunately the Nim bootstrap generating some files, what
require execpve, so it is not possible to patch these files.

Here is the source from klibc:
http://code.metager.de/source/xref/linux/klibc/usr/klibc/execvpe.c

--
Ticket URL: <https://dev.haiku-os.org/ticket/12114>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: