Skip to contentSkip to conversation

3.7.0-rc4 build failure on alpha: MPILIB

DISCUSSION Bob Tracy 1 participant 2 messages Nov 5, 2012 – Nov 11, 2012

lore
Share & tools
lore

Bob Tracy

author
#0 lore raw

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

Signature · 5 lines
------------------------------------------------------------------------
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)
------------------------------------------------------------------------
author
#1 lore raw
Quoted 7 lines · Bob Tracy

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.

Signature · 5 lines
------------------------------------------------------------------------
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)
------------------------------------------------------------------------