963a606677
- clang 3.9 -> clang "9" (pre-release) - libstdc++ -> libc++ (pretty sure) PS1 should fail to build... need to update infra/bots/recipe_modules/build/chromecast.py too. PS2 compiles but fails to link. PS3 puts -Lchromebook_arm_gles/lib on the link line; unclear to me how we're linking today... PS4 removed a workaround for the older toolchain. PS5+ tries to request the older glibc math symbols that shipped with the devices we test on... we don't seem to have glibc 2.27 there. Cq-Include-Trybots: skia.primary:Test-Chromecast-Clang-Chorizo-CPU-Cortex_A7-arm-Debug-All,Perf-Chromecast-Clang-Chorizo-GPU-Cortex_A7-arm-Release-All,Test-Chromecast-Clang-Chorizo-GPU-Cortex_A7-arm-Release-All Change-Id: I7a1ac2da646fb5b0cbdeb44310f1c0747013f3f0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/234956 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com>
11 lines
485 B
C
11 lines
485 B
C
// Copyright 2019 Google LLC.
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
#pragma once
|
|
|
|
// GLIBC_2.27 has new implementations of expf, powf, log2f, exp2f that are pretty nifty,
|
|
// but that's not very helpful if you're using an older glibc that doesn't ship those.
|
|
__asm__(".symver expf,expf@GLIBC_2.4");
|
|
__asm__(".symver powf,powf@GLIBC_2.4");
|
|
__asm__(".symver log2f,log2f@GLIBC_2.4");
|
|
__asm__(".symver exp2f,exp2f@GLIBC_2.4");
|