Project

General

Profile

Bug #952

Error building PCH with clang

Added by Dmitry Moskalchuk about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
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 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

History

#1 Updated by Dmitry Moskalchuk about 4 years ago

  • Priority changed from Normal to High

#2 Updated by Dmitry Moskalchuk almost 4 years ago

  • Status changed from Open to In Progress

#3 Updated by Dmitry Moskalchuk almost 4 years ago

  • Status changed from In Progress to Done
  • 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.

#4 Updated by Dmitry Moskalchuk almost 4 years ago

  • Status changed from Done to Closed

Fix verified.

Also available in: Atom PDF