This is an archive of the discontinued LLVM Phabricator instance.

[mips] Support building compiler-rt with gcc.
ClosedPublic

Authored by dsanders on Apr 8 2015, 2:06 AM.

Details

Summary

This will allow us to enable it on the buildbot (and then enable a
sanitizer buildbot).

The problem is that gcc for Mips does not accept -m32/-m64 like clang does.
We therefore need to use the nearest equivalent -mips32r2/-mips64r2. We must
also specify -mabi=64 in the -mips64r2 case since gcc's default ABI has
traditionally been N32 whereas clang's is N64.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 23408.Apr 8 2015, 2:06 AM
dsanders retitled this revision from to [mips] Support building compiler-rt with gcc..
dsanders updated this object.
dsanders edited the test plan for this revision. (Show Details)
slthakur accepted this revision.Apr 17 2015, 2:42 AM
slthakur added a reviewer: slthakur.

LGTM

This revision is now accepted and ready to land.Apr 17 2015, 2:42 AM
dsanders closed this revision.Apr 20 2015, 5:47 AM