All of lore.kernel.org
 help / color / mirror / Atom feed
From: Godmar Back <godmar@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] question regarding global symbols & namespace.pl script
Date: Wed, 02 Feb 2005 00:04:29 +0000	[thread overview]
Message-ID: <719dced305020116041f3b1ea4@mail.gmail.com> (raw)
In-Reply-To: <719dced3050201104324e53747@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 890 bytes --]

Regarding the namespace.pl issue, it seems that this script is not
intended to be run from the command line without setting the srctree
and objtree environment variables first.

The reason is that File::Find apparently chdir's into the directory
where the file is located, so the test on line 176: if (! -e
"$source.c" fails because $source is set to
arch/i386/process/kernel.c, but the current directory is already
./arch/i386/kernel. I saw in an strace that stat64("process.o")
succeeded right before stat64("arch/i386/process/kernel.c") failed. It
works fine with setting objtree and srctree beforehand.

The problem with GNU vs GCC might be an unrelated issue, but since the
.c file existed, it should not have executed the code that failed.

Thanks!

 - Godmar

ps: I apologize for the linebreaks in this email - does anybody know
how to use gmail with a monospace font in a htmlarea?

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

      parent reply	other threads:[~2005-02-02  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 18:43 [KJ] question regarding global symbols & namespace.pl script Godmar Back
2005-02-01 19:37 ` maximilian attems
2005-02-01 22:41 ` Randy.Dunlap
2005-02-01 23:09 ` Godmar Back
2005-02-02  0:04 ` Godmar Back [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=719dced305020116041f3b1ea4@mail.gmail.com \
    --to=godmar@gmail.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.