lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 22 May 2009 14:45:29 -0400
From:	Bill Davidsen <davidsen@....com>
To:	"Robert P. J. Day" <rpjday@...shcourse.ca>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: "make config" to another architecture doesn't relink include/asm

Robert P. J. Day wrote:
>   should i expect this with a fresh tree on x86_64?
> 
> $ make distclean
> $ make defconfig
> $ make modules_prepare
> $ ls -l include/asm
> lrwxrwxrwx    1 rpjday rpjday     7 2009-05-22 12:24 asm -> asm-x86
> $
> 
>   oh, wait, i changed my mind, i want to switch architectures so start
> over:
> 
> $ make clean
> $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
> $ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
> scripts/kconfig/conf -s arch/arm/Kconfig
> include/config/auto.conf:15:warning: symbol value 'arch/x86/configs/x86_64_defconfig' invalid for ARCH_DEFCONFIG
>   CHK     include/linux/version.h
> make[1]: `include/asm-arm/mach-types.h' is up to date.
>   CHK     include/linux/utsrelease.h
>   UPD     include/linux/utsrelease.h
> ERROR: the symlink include/asm points to asm-x86 but asm-arm was expected
>        set ARCH or save .config and run 'make mrproper' to fix it
> make: *** [include/asm] Error 1
> 
> $ ls -l include/asm
> lrwxrwxrwx 1 rpjday rpjday 7 2009-05-22 12:24 include/asm -> asm-x86
> $
> 
>   shouldn't it be sufficient that, if i do another "make ??_defconfig"
> to another architecture, all traces of the previous configure are
> erased and include/asm should be relinked automatically?
> 
Does "make distclean" (or maybe "make mrproper") get you to really clean status?

-- 
Bill Davidsen <davidsen@....com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ