This is an archive of the discontinued LLVM Phabricator instance.

Fixing compiler_rt makefile for architecture i686.
Needs ReviewPublic

Authored by nishanth-kottary on Aug 25 2015, 3:45 AM.

Details

Reviewers
samsonov
loladiro
Summary

Added a check for architecture i686 to treat it as i386.

Diff Detail

Repository
rL LLVM

Event Timeline

nishanth-kottary retitled this revision from to Fixing compiler_rt makefile for architecture i686..
nishanth-kottary updated this object.
nishanth-kottary set the repository for this revision to rL LLVM.
nishanth-kottary added a subscriber: llvm-commits.
samsonov edited edge metadata.Aug 25 2015, 10:23 AM

Suppose you build the compiler-rt runtimes like that, and they will have i386 in their name. Will Clang on your host be able to properly pick them up, instead of looking for i686 libs?

nishanth-kottary edited edge metadata.

Added code handle i686 architecture in makefiles. Built files will now have i686 in their names.

Before we proceed with this review - please elaborate why you need the support for this in autoconf build system. It's kind of being actively deprecated right now (at least on Linux) - for instance Clang 3.7 release would be built using CMake.

CMake doesn't quite produce the same output as the autotools build yet, so in the meantime we'd like to avoid the build just failing. Plus fixing this upstream makes it easier to just backport it to versions in which we can't use CMake.