Re: -current build failure
On 23 Jul 2012, at 20:53, David Chisnall wrote:
> On 23 Jul 2012, at 20:18, Konstantin Belousov wrote:
>=20
>> Longer description is that pc_curthread is offset 0 if %gs-based.
>> The dereferenced pointer point to the struct thread, which contains
>> td_proc pointer at offset 8. Instead, clang seems to dereference
>> td_proc from offset 8 based on %gs, or something similar.
>=20
> This appears to be a bug in the LLVM X86 back end. It is performing =
an invalid fold of the two loads. I have filed this bug:
>=20
> http://llvm.org/bugs/show_bug.cgi?id=3D13438
And fixed it in LLVM r160687. Since it's a single-line change, we can =
probably pull it into our version.
dim: http://llvm.org/viewvc/llvm-project?view=3Drev&revision=3D160687
David
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 18 之 21 篇):