mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: "Andrew Morton" <akpm@osdl.org>, "Adrian Bunk" <bunk@stusta.de>
Cc: "Andi Kleen" <ak@suse.de>, <linux-kernel@vger.kernel.org>,
	<discuss@x86-64.org>
Subject: Re: 2.6.18-rc4-mm2: x86_64 compile error
Date: Tue, 22 Aug 2006 10:11:53 +0200	[thread overview]
Message-ID: <44EAD869.76E4.0078.0@novell.com> (raw)
In-Reply-To: <20060821212140.GN11651@stusta.de>

>>> Adrian Bunk <bunk@stusta.de> 21.08.06 23:21 >>>
>On Sat, Aug 19, 2006 at 10:00:08PM -0700, Andrew Morton wrote:
>>...
>> Changes since 2.6.18-rc4-mm1:
>>...
>> +x86_64-mm-fix-x86-cpuid-keys-used-in-alternative_smp.patch
>>...
>>  x86_64 tree updates
>>...
>
>This patch causes the following compile error (cross compiling from i386 
>using gcc 4.1):
>
><--  snip  -->
>
>...
>  LD      .tmp_vmlinux1
>kernel/built-in.o:(.smp_altinstructions+0x10): undefined reference to `X86_FEATURE_UP'
>kernel/built-in.o:(.smp_altinstructions+0x28): undefined reference to `X86_FEATURE_UP'
>kernel/built-in.o:(.smp_altinstructions+0x40): undefined reference to `X86_FEATURE_UP'
>kernel/built-in.o:(.smp_altinstructions+0x58): undefined reference to `X86_FEATURE_UP'
>make[1]: *** [.tmp_vmlinux1] Error 1

Odd - asm/cpufeature.h is being included by asm/processor.h, which is included by
linux/sched.h, which in turn I would have assumed is included by virtually everything.
The simply solution would be to explicitly include it from asm/alternative.h - could you
give that a try? Regardless of that I'd be curious what source file under kernel/ (and
perhaps with what .config) neither includes linux/sched.h nor asm/processor.h.

Jan

  parent reply	other threads:[~2006-08-22  8:11 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-20  5:00 2.6.18-rc4-mm2 Andrew Morton
2006-08-20  7:12 ` 2.6.18-rc4-mm2 Reuben Farrelly
2006-08-20  7:23   ` 2.6.18-rc4-mm2 Andrew Morton
2006-08-20  7:44 ` 2.6.18-rc4-mm2 thunder7
2006-08-20  8:03   ` 2.6.18-rc4-mm2 Andrew Morton
2006-08-20 13:22 ` 2.6.18-rc4-mm2 Michal Piotrowski
2006-08-20 13:24 ` 2.6.18-rc4-mm2 Maciej Rutecki
2006-08-20 15:10   ` 2.6.18-rc4-mm2: AFS_FSCACHE=n compile error Adrian Bunk
2006-08-20 17:56   ` 2.6.18-rc4-mm2 Andrew Morton
     [not found]   ` <6bffcb0e0608200634r5c836053r8fa5cea7b9fdb4cb@mail.gmail.com>
2006-08-21  8:11     ` 2.6.18-rc4-mm2 Maciej Rutecki
2006-08-20 13:30 ` 2.6.18-rc4-mm2 Michal Piotrowski
2006-08-20 18:07   ` 2.6.18-rc4-mm2 Alan Cox
2006-08-21  7:59   ` 2.6.18-rc4-mm2 Jens Axboe
2006-08-20 16:04 ` 2.6.18-rc4-mm2 Michal Piotrowski
2006-08-20 16:45   ` 2.6.18-rc4-mm2 Michal Piotrowski
2006-08-20 16:09 ` [-mm patch] CRYPTO_DEV_PADLOCK_AES must select CRYPTO_BLKCIPHER Adrian Bunk
2006-08-20 23:04   ` Herbert Xu
2006-08-20 23:51     ` Andrew Morton
2006-08-20 17:47 ` [-mm patch] make kernel/rcutorture.c:rcu_bh_torture_synchronize() static Adrian Bunk
2006-08-20 21:27 ` 2.6.18-rc4-mm2 Mariusz Kozlowski
2006-08-20 22:36   ` 2.6.18-rc4-mm2 Andrew Morton
2006-08-21  1:59 ` 2.6.18-rc4-mm2: tickadj removal breaks 6 architectures Adrian Bunk
2006-08-21  2:08 ` 2.6.18-rc4-mm2: m68k nsproxy compile breakage Adrian Bunk
2006-08-21 14:46   ` Serge E. Hallyn
2006-08-21 16:51     ` Adrian Bunk
2006-08-21  8:12 ` 2.6.18-rc4-mm2 Gregoire Favre
2006-08-21 11:32   ` 2.6.18-rc4-mm2 Frederik Deweerdt
2006-08-21 19:21     ` 2.6.18-rc4-mm2 Gregoire Favre
2006-08-21  9:20 ` 2.6.18-rc4-mm2 Maciej Rutecki
2006-08-21 13:44   ` 2.6.18-rc4-mm2 Andrew Morton
2006-08-21 20:20     ` 2.6.18-rc4-mm2 Maciej Rutecki
2006-08-21 23:22       ` 2.6.18-rc4-mm2 Len Brown
2006-08-22 16:10         ` [Re: 2.6.18-rc4-mm2] standby error Maciej Rutecki
2006-08-22 18:59         ` 2.6.18-rc4-mm2 Grant Wilson
2006-08-21 22:54   ` 2.6.18-rc4-mm2 Len Brown
2006-08-21 21:21 ` 2.6.18-rc4-mm2: x86_64 compile error Adrian Bunk
2006-08-21 21:24   ` Andi Kleen
2006-08-22  8:11   ` Jan Beulich [this message]
2006-08-22 11:50     ` Adrian Bunk
2006-08-24 19:54 ` 2.6.18-rc4-mm2: ptkcdvd mapping may cause possible recursive locking Laurent Riffard
2006-08-26 15:28 ` [-mm patch] drivers/net/pcmcia/xirc2ps_cs.c: remove unused label Adrian Bunk
2006-08-26 15:28 ` [-mm patch] fix drivers/hwmon/hdaps.c:hdaps_check_ec() function declaration Adrian Bunk
2006-08-26 19:09   ` Shem Multinymous

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=44EAD869.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=discuss@x86-64.org \
    --cc=linux-kernel@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

Powered by JetHome