Re: Second x86-64 kernel snapshot based on 2.4.19rc1 released

Andi Kleen (ak@suse.de)
Fri, 19 Jul 2002 11:43:00 +0200


On Fri, Jul 19, 2002 at 09:13:47AM +0200, Andreas Jaeger wrote:
> Andi Kleen <ak@suse.de> writes:
>
> > On Tue, Jul 16, 2002 at 04:18:35PM -0400, Chris Friesen wrote:
> >> Andi Kleen wrote:
> >>
> >> > - vsyscalls are currently disabled because they trigger too many linker bugs together
> >> > with HPET timers. The vsyscall pages just call normal syscalls.
> >>
> >> I assume that the linker is going to get fixed before general x86-64 release so
> >> these can be used together?
> >
> > Yes, the problem is being worked on.
>
> It looks currently like a kernel bug - the linker is fine. We're
> currently working on a proper fix for this and I hope that Andi's next
> kernel will work correctly.

If you refer to the SIZEOF undefined symbol thing - that was a different
problem and indeed a kernel bug. But with full vsyscalls we run into
more relocation problems because the linker seems to have problems
with the secondary mapping used by vsyscalls with more complex code.
Of course it could be still a kernel bug, but I do not see where it
should come from.

In short the mapping trick used by the current vsyscall code is very
nasty. It requires quite some non obvious vmlinux.lds trickery that
seems to easily cause/trigger bugs in both binutils and kernel. I would
be better to find a more maintaineable solution for the secondary mappings.

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