mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
To: "Reinaldo Carvalho" <reinaldow@gmail.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: missing asm-x86_64 detection
Date: Thu, 31 Jan 2008 21:29:34 -0800	[thread overview]
Message-ID: <29495f1d0801312129g5cc0bad1x8bdbb4a378feb1ef@mail.gmail.com> (raw)
In-Reply-To: <ec36785a0801311513g4172b915w7bdb7ca97035efde@mail.gmail.com>

On 1/31/08, Reinaldo Carvalho <reinaldow@gmail.com> wrote:
> :/# uname -a
> Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
> x86_64 GNU/Linux
>
> :/# cd /usr/src/linux-2.6.22
> :/# patch -p1 -R < ../patch-2.6.22.16
> :/# patch -p1 < ../patch-2.6.23
> :/# patch -p1 < ../patch-2.6.24
> :/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
> :/usr/src/linux-2.6.24# make oldconfig
> :/usr/src/linux-2.6.24# make all
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.h
> ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
>        set ARCH or save .config and run 'make mrproper' to fix it
> make: ** [include/asm] Erro 1
>
> :/usr/src/linux-2.6.24# cp .config ../config-2.6.24
> :/usr/src/linux-2.6.24# make mrproper
>   CLEAN   scripts/basic
>   CLEAN   scripts/genksyms
>   CLEAN   scripts/kconfig
>   CLEAN   scripts/mod
>   CLEAN   scripts
>   CLEAN   include/config
>   CLEAN   .config .config.old include/asm .version
> include/linux/autoconf.h include/linux/version.h
> include/linux/utsrelease.h Module.symvers
> devil:/usr/src/linux-2.6.24# cp ../config-2.6.24 .config
> devil:/usr/src/linux-2.6.24# make oldconfig
> devil:/usr/src/linux-2.6.24# make all
> scripts/kconfig/conf -s arch/x86/Kconfig
>   CHK     include/linux/version.h
>   UPD     include/linux/version.h
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
>   SYMLINK include/asm -> include/asm-x86
>   CC      arch/x86/kernel/asm-offsets.s
>   GEN     include/asm-x86/asm-offsets.h
> ...
>
> system is x86_64!

And your point? The archs are being merged into just x86 (instead of
x86_32 and x86_64 being separate). That's why the asm-x86_64 symlink
was complained about above.

There is no error. Check your config that CONFIG_64BIT and
CONFIG_X86_64 are set.

Thanks,
Nish

      parent reply	other threads:[~2008-02-01  5:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 23:13 Reinaldo Carvalho
2008-02-01  4:50 ` H. Peter Anvin
2008-02-01  4:53 ` Lee Revell
2008-02-01  5:29 ` Nish Aravamudan [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=29495f1d0801312129g5cc0bad1x8bdbb4a378feb1ef@mail.gmail.com \
    --to=nish.aravamudan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reinaldow@gmail.com \
    /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®