Re: Segmentation fault on all golang executables

From: Andy Lutomirski
Date: Thu Jun 12 2014 - 14:42:58 EST


On Thu, Jun 12, 2014 at 11:41 AM, H. Peter Anvin <hpa@xxxxxxxxxxxxxxx> wrote:
> On 06/12/2014 11:38 AM, Andy Lutomirski wrote:
>>>
>>> 2. Write a dummy section table that contains a single empty section of
>>> type SHT_DYNSYM. Hopefully the Go runtime will then get far enough to
>>> fail cleanly. And they can go and write a real ELF parser or copy my
>>> reference parser correctly. (hpa, can you apply my patches to make
>>> the reference parser 32-bit clean?)
>>
>
> Could you resend it please?

Yes. I'll send the whole series.

>
>> Sigh.
>>
>> See attached. It seems to work for me. Can you test it? It'll hurt
>> performance for Go programs, but I don't feel too bad about that.
>>
>
> If Google fixes Go, will that address the performance problem?

Yes.

Note that my hack will build a buggy vdso on big-endian hosts. Is
there a way to convert host -> BE yet?

--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/