Project

General

Profile

Actions

Bug #952

closed

Error building PCH with clang

Added by Dmitry M. over 9 years ago. Updated over 9 years ago.

Status:
Completed
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
05/17/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
clang-3.4, clang-3.5
Android version:
CrystaX NDK Version:

Description

"Here":http://www.boost.org/development/tests/develop/developer/output/CrystaX-NET-apilevel-19-armeabi-v7a-boost-bin-v2-libs-math-test-test_bessel_j_prime-test-clang-linux-3-5-release-link-static-target-os-android-threading-multi.html:

rm -f "/home/cislave/.crystax/ci-boost/regression/android-19-armeabi-v7a-develop/test/develop/regression/armeabi-v7a/test/results/boost/bin.v2/libs/math/test/clang-linux-3.5/release/link-static/target-os-android/threading-multi/pch.hpp.pth" && "/home/cislave/.crystax/ci-boost/regression/android-19-armeabi-v7a-develop/test/develop/regression/armeabi-v7a/clang-3.5/clang++-3.5" -x c++-header -O3 -Wno-inline -Wall  -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_TIMER_STATIC_LINK=1 -DBOOST_UBLAS_UNSUPPORTED_COMPILER=0 -DNDEBUG -I".." -I"../libs/math/include_private" -I"../libs/math/test" -Xclang -emit-pth -o "/home/cislave/.crystax/ci-boost/regression/android-19-armeabi-v7a-develop/test/develop/regression/armeabi-v7a/test/results/boost/bin.v2/libs/math/test/clang-linux-3.5/release/link-static/target-os-android/threading-multi/pch.hpp.pth" "../libs/math/test/pch.hpp"

clang: error: cannot specify -o when generating multiple output files
Actions #1

Updated by Dmitry M. over 9 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Dmitry M. over 9 years ago

  • Status changed from Open to In Progress
Actions #3

Updated by Dmitry M. over 9 years ago

  • Status changed from In Progress to 3
  • Target version set to 10.2.0
  • % Done changed from 0 to 100

It was bug of clang wrapper script, where it improperly assumed this is linking, not compiling of PCH. It's "fixed":https://github.com/crystax/android-platform-ndk/commit/8d152e56f4f4acd156e64811c859c5ef18002676 now.

Actions #4

Updated by Dmitry M. over 9 years ago

  • Status changed from 3 to Completed

Fix verified.

Actions

Also available in: Atom PDF