mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Warn about propblems with libkvm
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01a0bad98e
commit
0682b9bcee
4 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
2008-11-18 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURL.m: Check class of arguments to designated initialiser
|
||||
* configure.ac: Warn about bug in libkvm
|
||||
* configure: Regenerate
|
||||
* Source/NSProcessInfo.m: Report problem in libkvm and suggest
|
||||
workarounds.
|
||||
|
||||
2008-11-17 Roland Schwingel <roland.schwingel@onevision.de>
|
||||
|
||||
|
|
|
@ -539,6 +539,11 @@ static char **_gnu_noobjc_env = NULL;
|
|||
if (!vectors)
|
||||
{
|
||||
fprintf(stderr, "Error: libkvm does not return arguments for the current process\n");
|
||||
fprintf(stderr, "this may be due to a bug (undocumented feature) in libkvm\n");
|
||||
fprintf(stderr, "which fails to get arguments unless /proc is mounted.\n");
|
||||
fprintf(stderr, "If so, you can mount the /proc filesystem or reconfigure/build\n");
|
||||
fprintf(stderr, "gnustep-base with --enable-fake-main as a workaround, and\n");
|
||||
fprintf(stderr, "should report the bug to the maintainer of libkvm on your operating system.\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
4
configure
vendored
4
configure
vendored
|
@ -16490,6 +16490,10 @@ if test "$enable_fake_main" = "yes"; then
|
|||
elif test "$enable_pass_arguments" = "no"; then
|
||||
if test "$objc_load_method_worked" = yes -a \( "$ac_cv_sys_procfs" = yes -o "$have_kvm_env" = 1 -o "$ac_cv_sys_procfs_psinfo" = yes \); then
|
||||
GS_FAKE_MAIN=0
|
||||
if test "$have_kvm_env" = "1"; then
|
||||
echo "WARNING ... using libkvm which is known to be buggy on some systems"
|
||||
echo "consider configuring with --enable-fake-main instead."
|
||||
fi
|
||||
else
|
||||
GS_FAKE_MAIN=1
|
||||
enable_fake_main=yes
|
||||
|
|
|
@ -1861,6 +1861,10 @@ if test "$enable_fake_main" = "yes"; then
|
|||
elif test "$enable_pass_arguments" = "no"; then
|
||||
if test "$objc_load_method_worked" = yes -a \( "$ac_cv_sys_procfs" = yes -o "$have_kvm_env" = 1 -o "$ac_cv_sys_procfs_psinfo" = yes \); then
|
||||
GS_FAKE_MAIN=0
|
||||
if test "$have_kvm_env" = "1"; then
|
||||
echo "WARNING ... using libkvm which is known to be buggy on some systems"
|
||||
echo "consider configuring with --enable-fake-main instead."
|
||||
fi
|
||||
else
|
||||
GS_FAKE_MAIN=1
|
||||
enable_fake_main=yes
|
||||
|
|
Loading…
Reference in a new issue