On Tue, Jan 14, 2014 at 12:11 PM, Daniel Micay <[email protected]>wrote:

> There's also the issue that libgcc_s is missing the function LLVM will
> generate for 64-bit overflow checked multiplication on most
> architectures. It's there on x86_64, but on x86 you'll need a `clang`
> set up to use `compiler-rt`.
>
> It's hilarious that `gcc` is totally broken though...
>

Thanks for catching that. My experiments indicate that -ftrapv works in gcc
for x86 but not x86-64. Which explains why the Firefox try builds only work
for x86-64. Which makes sense, since Firefox contains code that would
depend on overflow wrapping around.

So we're back to not knowing anything :-).

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to