2012-11-05 14:13:23

by Bob Tracy

[permalink] [raw]
Subject: 3.7.0-rc4 build failure on alpha: MPILIB

With digital signature verification support (SIGNATURE, MPILIB) enabled
on the Alpha platform, I get the following during the MODPOST section of
the build:

ERROR: "__udiv_qrnnd" [lib/mpi/mpi.ko] undefined!

Current compiler is gcc-4.6.3

--
------------------------------------------------------------------------
Bob Tracy | "Build a man a fire, he'll be warm for a day. Set
[email protected] | a man on fire, he'll be warm for the rest of his
| life." -- David Burge (Iowahawk)
------------------------------------------------------------------------


2012-11-11 23:10:56

by Bob Tracy

[permalink] [raw]
Subject: Re: 3.7.0-rc4 build failure on alpha: MPILIB

On Mon, Nov 05, 2012 at 07:53:13AM -0600, Bob Tracy wrote:
> With digital signature verification support (SIGNATURE, MPILIB) enabled
> on the Alpha platform, I get the following during the MODPOST section of
> the build:
>
> ERROR: "__udiv_qrnnd" [lib/mpi/mpi.ko] undefined!
>
> Current compiler is gcc-4.6.3

Got a workaround. I'll leave it to the "powers that be" for a proper
fix. Issue is "__udiv_qrnnd" is part of "arch/alpha/math-emu" and is
built-in. If MPILIB is built as a module, you get the undefined symbol
error. If "CONFIG_MPILIB=y" (built-in), no undefined symbol issue.

My best guess is, the proper solution will involve either tightening the
configuration dependencies a bit, or making sure required symbols are
properly exported for use by modules.

--
------------------------------------------------------------------------
Bob Tracy | "Build a man a fire, he'll be warm for a day. Set
[email protected] | a man on fire, he'll be warm for the rest of his
| life." -- David Burge (Iowahawk)
------------------------------------------------------------------------