[PATCH] D52705: First-pass at ARM hard/soft-float multilib driver (NOT WORKING YET)

Frank Schaefer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 30 14:50:38 PDT 2018


kelledin created this revision.
Herald added a reviewer: javed.absar.
Herald added subscribers: cfe-commits, chrib, kristof.beyls.

  This is my first crack at implementing working ARM EABI multilib support
  (where multilib support is between hard/soft float ONLY, not between 32-bit
  and 64-bit).  This is currently NOT suitable for merging; I'm only posting
  it for guidance as to what exactly I'm missing.  Specifically, for the
  default-hardfloat target (arm-linux-gnueabihf), clang selects the correct
  GCC suffix (/sf vs /hf) but consistently selects /usr/lib/arm-linux-gnueabihf
  as the library directory, even if soft-float flags are passed.  This leaves
  binutils trying to mix hard-float/soft-float objects, which of course fails
  miserably.  AIUI the multilib driver *should* trigger the selection of
  /usr/lib/arm-linux-gnueabi instead.
  
  I can produce verbose output from clang's behavior upon request.  Be aware
  that this changeset depends on https://reviews.llvm.org/D52149 for compiler-rt.


Repository:
  rC Clang

https://reviews.llvm.org/D52705

Files:
  lib/Driver/ToolChains/Arch/ARM.cpp
  lib/Driver/ToolChains/Gnu.cpp
  lib/Driver/ToolChains/Linux.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52705.167665.patch
Type: text/x-patch
Size: 7687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180930/39fae9ce/attachment.bin>


More information about the cfe-commits mailing list