This is an archive of the discontinued LLVM Phabricator instance.

[libc] Making libc compile on AArch64.
AbandonedPublic

Authored by asteinhauser on May 24 2020, 12:33 PM.

Details

Reviewers
sivachandra
Summary
  1. Avoid including non-existent arch-specific files and directories.
  2. Avoid reading from non-existent CMake target libc.loader.linux.aarch64.crt1:

get_target_property() called with non-existent target
"libc.loader.linux.aarch64.crt1"

  1. Use -march=native only when it is supported by the compiler.

Diff Detail

Event Timeline

asteinhauser created this revision.May 24 2020, 12:33 PM
asteinhauser created this object with visibility "No One".
asteinhauser changed the visibility from "No One" to "Public (No Login Required)".
tschuett retitled this revision from Making libc compile on AArch64. to [libc] Making libc compile on AArch64..May 24 2020, 1:16 PM
asteinhauser abandoned this revision.Jun 18 2020, 8:44 PM

Fixed in parallel by sivachandra.