There's an ENABLE_COTIRE or USE_COTIRE in the top-level CMakeLists that can 
easily be promoted to a visible cache variable if you like.

You can also try make clean_cotire IIRC (check your makefile for the target 
name) if this is a system upgrade in place and you've not cleaned out PCHes 
from pre-upgrade. That should get things moving; I presume you've upgraded well 
past gcc 4.8 now.
________________________________________
From: Dyninst-api <dyninst-api-boun...@cs.wisc.edu> on behalf of Thomas Dullien 
<thomasdull...@google.com>
Sent: Monday, December 11, 2017 4:46 PM
To: dyninst-api
Subject: [DynInst_API:] Problems with cotire

Hey there,

I upgraded my operating system yesterday, and am running into
problems building dyninst under buster/sid today. I am getting the
following errors and have been trying all sorts of things to fix the
issues -- does anyone have any advice?

[  5%] Built target DyninstRT
[  5%] Generating CXX unity source common/cotire/common_CXX_unity.cxx
[  5%] Generating CXX prefix source common/cotire/common_CXX_prefix.cxx
[  5%] Generating CXX prefix header common/cotire/common_CXX_prefix.hxx
make[2]: *** No rule to make target '/usr/include/c++/4.8/algorithm', needed by 
'common/cotire/common_CXX_prefix.hxx.gch'.  Stop.
CMakeFiles/Makefile2:566: recipe for target 'common/CMakeFiles/common.dir/all' 
failed
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Is there a way to disable precompiled headers generally for the compilation 
process?
I am fine with longer compiles :-)

Cheers,
Thomas

_______________________________________________
Dyninst-api mailing list
Dyninst-api@cs.wisc.edu
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

Reply via email to