NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/42420: $ORIGIN undefined on NetBSD
The following reply was made to PR kern/42420; it has been noted by GNATS.
From: Austin English <austinenglish%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/42420: $ORIGIN undefined on NetBSD
Date: Tue, 10 Jul 2012 16:23:05 -0500
On Mon, Dec 7, 2009 at 5:45 AM, Martin Husemann <martin%duskware.de@localhost>
wrote:
> The following reply was made to PR kern/42420; it has been noted by GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
> netbsd-bugs%netbsd.org@localhost
> Subject: Re: kern/42420: $ORIGIN undefined on NetBSD
> Date: Mon, 7 Dec 2009 12:40:30 +0100
>
> It would probably help if you would provide a small, simple, reproducable
> test case that demonstrated the problem. The PR does not even make clear
> why you think this is a kernel problem.
>
> Martin
>
############
austin@debian-work:~$ cat test.sh
#!/bin/sh
set -e
set -x
cat > foo.c <<__EOF
#include <stdio.h>
int main(void)
{
return 0;
}
__EOF
gcc -o a.out -fPIC -Wl,--rpath,\$ORIGIN/../lib foo.c
./a.out
rm -f a.out foo.c
############
on Debian, works fine, on NetBSD (5.1.2):
execname not specified in AUX vector: No such file or directory
--
-Austin
Home |
Main Index |
Thread Index |
Old Index