From: Sam Ravnborg <sam@ravnborg.org>
To: Paul Jackson <pj@sgi.com>
Cc: Clemens Schwaighofer <schwaigl@eunet.at>,
gullevek@gullevek.org, linux-kernel@vger.kernel.org,
cs@tequila.co.jp
Subject: Re: compile error with 2.6.7-rc3-mm1
Date: Sun, 13 Jun 2004 08:08:12 +0200 [thread overview]
Message-ID: <20040613060812.GA2195@mars.ravnborg.org> (raw)
In-Reply-To: <20040612204207.0136b76f.pj@sgi.com>
On Sat, Jun 12, 2004 at 08:42:07PM -0700, Paul Jackson wrote:
> Try doing the make with V=1
>
> make V=1 drivers/perfctr/x86.o
>
> Determine the exact compilation line (perhaps a couple hundred chars
> long) that issues the error, then manually repeat that line manually
> (cut+paste), adding the option "-save-temps".
>
> This will look something similar to the following, which I generated for
> a different file, different compilation environment (I added the wrapping
> and backslashes for display purposes here):
>
> gcc -save-temps -Wp,-MD,kernel/.cpuset.o.d -nostdinc -iwithprefix \
> include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs \
> -fno-strict-aliasing -fno-common -pipe -msoft-float \
> -mpreferred-stack-boundary=2 -march=pentium4 -mregparm=3 \
> -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer \
> -DKBUILD_BASENAME=cpuset -DKBUILD_MODNAME=cpuset -c -o kernel/cpuset.o \
> kernel/cpuset.c
>
> Then look at the ./x86.i file (in top directory), which is the
> preprocessor output, to see if the (cpumask_t) cast is present.
Much simpler method is to just use:
make drivers/perfctr/x86.i
Same goes for .lst (mixed assembly and c)
and for .s (pure assembler)
Sam
next prev parent reply other threads:[~2004-06-13 6:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-11 13:10 Clemens Schwaighofer
2004-06-11 13:28 ` Paul Jackson
2004-06-12 2:19 ` Clemens Schwaighofer
2004-06-12 10:44 ` Paul Jackson
2004-06-13 3:20 ` Clemens Schwaighofer
2004-06-13 3:42 ` Paul Jackson
2004-06-13 4:04 ` Clemens Schwaighofer
2004-06-13 4:20 ` Paul Jackson
2004-06-13 6:22 ` Clemens Schwaighofer
2004-06-13 6:39 ` Paul Jackson
2004-06-13 6:45 ` Paul Jackson
2004-06-13 6:08 ` Sam Ravnborg [this message]
2004-06-13 6:03 ` Paul Jackson
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=20040613060812.GA2195@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=cs@tequila.co.jp \
--cc=gullevek@gullevek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.com \
--cc=schwaigl@eunet.at \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®