From: "David Mosberger-Tang" <David.Mosberger@acm.org>
To: linux-ia64@vger.kernel.org
Subject: Re: ia64 breakage in current -git
Date: Thu, 29 Jun 2006 18:42:27 +0000 [thread overview]
Message-ID: <ed5aea430606291142o4e2aea99s70e7db0348306725@mail.gmail.com> (raw)
In-Reply-To: <20060627010646.21ff5687.akpm@osdl.org>
The problem seems to come from the use of $(*F) in Makefile.lib:
_a_flags = $(AFLAGS) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o)
If I use $(@F) instead of $(*F).o, the build works fine.
Using $(*F) seems wrong to me, since it expands to the stem, which in
the case of an explicit rule is the target-name minus any recognized
suffixes or the empty string if the target doesn't have a recognized
suffix. I assume with -r, the old-fashioned suffix-rules are disabled
and hence $(*F) always yields the empty string for explicit rules.
Does this make sense?
--david
On 6/27/06, Andrew Morton <akpm@osdl.org> wrote:
>
>
> fyi, Linus's current tree is bust on ia64 - you get a lot of link-time
> warnings about missing __udivdi3 and things.
>
> The below will get things going again.
>
> diff -puN Makefile~revert-ignore-makes-built-in-rules-variables Makefile
> --- a/Makefile~revert-ignore-makes-built-in-rules-variables
> +++ a/Makefile
> @@ -276,9 +276,9 @@ MAKEFLAGS += --include-dir=$(srctree)
> # We need some generic definitions
> include $(srctree)/scripts/Kbuild.include
>
> -# Do not use make's built-in rules and variables
> -# This increases performance and avoid hard-to-debug behavour
> -MAKEFLAGS += -rR
> +# For maximum performance (+ possibly random breakage, uncomment
> +# the following)
> +#MAKEFLAGS += -rR
>
> # Make variables (CC, etc...)
>
> _
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Mosberger Consulting LLC, http://www.mosberger-consulting.com/
next prev parent reply other threads:[~2006-06-29 18:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 8:06 ia64 breakage in current -git Andrew Morton
2006-06-29 18:42 ` David Mosberger-Tang [this message]
2006-06-30 22:43 ` Sam Ravnborg
2006-06-30 22:48 ` Sam Ravnborg
2006-07-01 3:46 ` David Mosberger-Tang
2006-07-01 6:34 ` Sam Ravnborg
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=ed5aea430606291142o4e2aea99s70e7db0348306725@mail.gmail.com \
--to=david.mosberger@acm.org \
--cc=linux-ia64@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox