2018-10-24 14:47:13

by Bob Tracy

[permalink] [raw]
Subject: vmlinux ld relocation errors on Alpha

Back in January of 2017, a patch set was created for the 4.9.0 kernel and
*hopefully* sent upstream to address the subject issue. The patch
implemented a workaround: defining a new "alphalib" section for all the
Alpha-specific library functions to be linked into the final vmlinux.
The patch was definitely not implemented in a vacuum: Helge Deller and
Michael Cree suggested the fix approach, and both Maciej W. Rozycki and
Matt Turner provided significant input along the way.

At this late date, I was forced to resync my Alpha build tree with the
one from "kernel.org", and noticed the patch set never made it into
mainline. There's a definite possibility it was never submitted
upstream, and a further possibility it was NACK'd for some reason.

Am currently attempting a native 4.19.0 build with an up-to-date debian
"sid" toolchain. If the build succeeds, than the issue became OBE for
whatever reason. Otherwise, it would be nice to know what happened to
the patch set. Should know either way as far as the build in a few more
hours.

--Bob


2018-10-25 02:40:39

by Bob Tracy

[permalink] [raw]
Subject: Re: vmlinux ld relocation errors on Alpha

On Wed, Oct 24, 2018 at 09:46:29AM -0500, Bob Tracy wrote:
> Back in January of 2017, a patch set was created for the 4.9.0 kernel and
> *hopefully* sent upstream to address the subject issue.
> (...).
> Am currently attempting a native 4.19.0 build with an up-to-date debian
> "sid" toolchain. If the build succeeds, than the issue became OBE for
> whatever reason. Otherwise, it would be nice to know what happened to
> the patch set. Should know either way as far as the build in a few more
> hours.

Successful build, so I guess "OBE" applies. If someone reading this
knows, how was this fixed? My guess would be improvements in the
compiler tool chain, most particularly "bintools".

Sorry for the noise.

--Bob