[Bug debuginfod/25493] New: --enable-debuginfod fails if CXX is set
heirecka at exherbo dot org
sourceware-bugzilla@sourceware.org
Sun Feb 2 10:52:00 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=25493
Bug ID: 25493
Summary: --enable-debuginfod fails if CXX is set
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: debuginfod
Assignee: unassigned at sourceware dot org
Reporter: heirecka at exherbo dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
The c++ compiler isn't named "g++" or "c++" on my system, but
"x86_64-pc-linux-gnu-c++" and I set CXX to that. This causes configure with
--enable-debuginfod to bail out on "if test "x$ac_cv_prog_ac_ct_CXX" = "x";
then enable_debuginfod=no; fi" (output below). Setting the cache variable lets
configure and the build succeed.
checking size of long... 8
checking for struct user_regs_struct... yes
checking x86_64-pc-linux-gnu-cc option for 32-bit word size... -m32
checking for 64-bit host... yes
checking whether x86_64-pc-linux-gnu-cc -m32 makes executables we can run... no
checking for bunzip2... yes
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-c++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-c++... none
configure: WARNING: not running biarch tests, x86_64-pc-linux-gnu-cc -m32 does
not work
checking whether x86_64-pc-linux-gnu-c++ supports C++11 features by default...
yes
configure: checking debuginfod dependencies, disable to skip
checking pkg-config is at least version 0.9.0... yes
checking for libmicrohttpd... yes
checking for libcurl... yes
checking for sqlite3... yes
checking for libarchive... yes
configure: error: C++ compiler or dependencies not found, use
--disable-debuginfod to disable.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list