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:	Tue, 6 Dec 2011 13:45:49 +0200
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	mmarek@...e.cz, sam@...nborg.org
Cc:	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Rewriting kernel config after generation

On Fri, Dec 2, 2011 at 7:33 AM, Alexey Dobriyan <adobriyan@...il.com> wrote:
> I'm trying to add compiling with -march=native to the kernel.
> The problem is that then some config options become discoverable at
> the beginning of the compilation. For example,
> CONFIG_X86_L1_CACHE_SHIFT=6 can be derived from "--param l1-cache-line-size=64".
> I suspect this is no-go, because all the dependency logic must be
> duplicated somewhere else (in the march=native script) for the above
> to work.
>
> Is there any cleaner way I'm missing?
>
> In theory, such script could even turn off CONFIG_CPU_SUP_AMD
> if it detects Intel CPU.

Hrph, this is harder than it looks because "silentoldconfig" is done at
the beginning rewriting whatever changes done to .config by hand. :-(
--
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