> I don't think gcc ever exports any gmp code into its output. Rather, gcc
> just uses gmp for its own internal purposes.
I don't think that's my concern. My question is whether gcc will build
SSE-4.2 instructions into code just because the host can use them.
Seems something like that
> So it must be the kernel's crypto functions tripping over it, and I
> can understand new instruction set evolutions wouldn't be
> backwards-compatible. Still, if gcc weren't trying to embed those
> instructions in the kernel and were just setting the kernel up to use
> gmplib, it seems more
> Kernel code tends to dictate/control things at the lower levels
> (e.g., directly inserted assembly code, variables held in specific
> CPU registers, "volatile" memory regions, etc.) more than is typical
> in normal applications. Perhaps these kinds of special compile
> requirements things
On Tue, 04 Jul 2017 14:47:16 -0700
Paul Rogers wrote:
> I do find it ironic the kernel has to do these strange math calculations
> no other packge uses, except apparently gmp.
Not the kernel code per say, but rather gcc while compiling a kernel.
And gcc in turn calls
Turns out my solution way easier than the path I started on--my brain
often does that to me, coming up with the better solution, but tardy.
I went back to the original finished build on the i7-940, my "Iron
Horse" candidate. (Apologies if I misunderstood you about that.) I
added that --build
> > So what fix would you recommend?
>
> Try just building gmp (and possibly mpfr, mpc, and gcc) in the local
> system without rebooting. gmp just installs libraries so a reboot would
> not be needed. After installing gmp, retry the kernel. If it doesn't
> work, try the next package, etc,
Paul Rogers wrote:
I built it on my i7-940. When finished, with both linux-4.7.2 and
4.9.30, and the rough edges knocked off, e.g. networking, X, Firefox
working, I updated my "clone" script and cloned it to my i7-870. That
required a bit more work to get a clean clone from the book's "setup"
I built it on my i7-940. When finished, with both linux-4.7.2 and
4.9.30, and the rough edges knocked off, e.g. networking, X, Firefox
working, I updated my "clone" script and cloned it to my i7-870. That
required a bit more work to get a clean clone from the book's "setup"
bits, e.g. useradds,