Re: [PATCH] ix86: fix vDSO build

From: Andy Lutomirski
Date: Thu Jul 03 2014 - 11:35:04 EST


On Thu, Jul 3, 2014 at 7:35 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
> Relying on static functions used just once to get inlined (and
> subsequently have dead code paths eliminated) is wrong: Compilers are
> free to decide whether they do this, regardless of optimization level.
> With this not happening for vdso_addr() (observed with gcc 4.1.x), an
> unresolved reference to align_vdso_addr() causes the build to fail.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx>

Acked-by: Andy Lutomirski <luto@xxxxxxxxxxxxxx>

Any chance you could send a dump of the symbol and relocation tables
of a .so.dbg with this problem? I'm curious why checkundef.sh never
caught it.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/