public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "heirecka at exherbo dot org" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug debuginfod/25493] New: --enable-debuginfod fails if CXX is set
Date: Sun, 02 Feb 2020 10:52:00 -0000	[thread overview]
Message-ID: <bug-25493-10460@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2020-02-02 10:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 10:52 heirecka at exherbo dot org [this message]
2020-02-03 11:36 ` [Bug debuginfod/25493] " fche at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-25493-10460@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=elfutils-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).