From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by sourceware.org (Postfix) with ESMTPS id 193F4385E45F; Sat, 17 Feb 2024 17:00:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 193F4385E45F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 193F4385E45F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b2c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708189219; cv=none; b=d6HnhvWjQqpWxya3qvhZ/EHrCJXY2QTWOoOZwD+ihUKchUOQ41wj9mhpFIkGJwc7N0cgpfaZ+4okiWSORParDPQswW46i4qHLIkju+5cZrMWsK5pcar9BOWg7eT60rwA36H8ZUK/zF0Cq8o2qJCNV77fQiaLuzo4ajinrTes5ms= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708189219; c=relaxed/simple; bh=iO9EswldJHKOpZ+5KA8D48+9O2qyysBmU1ZQ57i6FvI=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=w8wCI/U5UOEHHtyZ7RNELHYQDAs3MdpAlpQ2lVC5iOjSK8I7i3u7fhRDRQ3mKn/bR4FXrHsx/DgPCDOJ2m5u6mK0Xw2SnJ7SdBpkprKL+nxBPdi8gUHHwtJClPx+5CSEzrcD+oUXR7rxN4k/nFVHg5MM27AW8KAnbp/4+VqYNkk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-dcd7c526cc0so3368759276.1; Sat, 17 Feb 2024 09:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708189216; x=1708794016; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=J86BpEd8K/Y9EC5iZ5AdRjQ5+eicmI76yIps4RlBNwk=; b=j9qLb2ls1R3B4wvqnzDmfUpyOxBjiDYRHxyJum+s/jvotCHrKFrubyP5jtjZJIQbV2 Muc/amDvCqqiHlAjd1/OnULS+DcLoJLWrDB+hhTQC4fZIHT+rAgDf5lI46JiZ9TBK0ij AUoYWVWzQwi3AI4duWxFGxiq3bHKYz8c6ZvxmoTTUG2zij4zgl6x1JFxTBTJSGrZTSJr 0+KQhj/ZRAK/BTioy4NX6EfU7TBY9saMo7QMaSs+iPYcUsn+Wz4wyciJ1rY/JNRK/i2z 5hCT/523l7pmq9/XmhdDjvJdHj2FSTZtDTXS3kftX7mE54YBDq9ZWUiBd/tnny+mJkdV az3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708189216; x=1708794016; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J86BpEd8K/Y9EC5iZ5AdRjQ5+eicmI76yIps4RlBNwk=; b=oHROhrhD44Pk80toQisGxifGBalalb2CQgVLA7bXmjhcWCdyzQyx4BmdOXxXAlEyor L6ZQalE11FRE0uyiMrHevJb6xKPHrc8RhOhbIqKL/S0p3e8cUCKW42SM7yKjJE/o98s0 crSNwaqhOhjF38BAW64k3M9fFidUwRdfdogGoFHPLItP3T3pVp+Cw5bFZv5l5fJ+n9rB rifVOAUi2Qdb4AsafwcB5z1Qhs+v0szMpfe4W7Fm3FM5V52tx150D2oWRluo8HGgYhil 3+oo7IqghxjibluEAcSBTu8hbAAyCyatKw6qYbaihuXszFSqWcQTFC408nxEMnd3x/kG TdLA== X-Forwarded-Encrypted: i=1; AJvYcCVCJfhq1BPa5GFMY8s5BvhvVPZYbVbTytOrt0kVwhmuydSK/x/lCL00O4pd3oWti8MymO11gi7ZBSkQrFFXkhh55dA= X-Gm-Message-State: AOJu0Yx+HPNM/V/t4luT6mZYsAkDrHqXId7lG9GsvHzReLcKiqIHwwo8 gHiqPxFw1OhpMfC5DZSwnFA8FLN0H2eE4303s8fVBV/BucM9D9Cxac9cCg1VLxCcX/SDZURBdUa XAFAw2aR9QRu7Wp1qnHhpRnmHJbU= X-Google-Smtp-Source: AGHT+IFrEAZZOWbvUZQwj9uTkRvi0qthNIm4uYlcLilHasBcUYHjbc508srm2MEQw3sxx4c37x1Ab5lrczXi+WwdmWY= X-Received: by 2002:a25:747:0:b0:dc7:4776:e31 with SMTP id 68-20020a250747000000b00dc747760e31mr6426436ybh.24.1708189216341; Sat, 17 Feb 2024 09:00:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Sat, 17 Feb 2024 08:59:40 -0800 Message-ID: Subject: Re: Build failure on Debian stable To: Levente , GDB Cc: binutils@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3014.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sat, Feb 17, 2024 at 7:12=E2=80=AFAM Levente wro= te: > > Hi, > > > I'm trying to build binutils and gdb on Debian stable. > I do this: > > mkdir test_build > cd test_build > ../configure > make > > > I get this: > > CXX tui/tui-command.o > In file included from ../../gdb/tui/tui-data.h:28, > from ../../gdb/tui/tui-command.c:24: > ../../gdb/../gdbsupport/gdb-checked-static-cast.h: In instantiation of > =E2=80=98T gdb::checked_static_cast(V*) [with T =3D tui_cmd_window*; V = =3D > tui_win_info]=E2=80=99: > ../../gdb/tui/tui-command.c:65:15: required from here > ../../gdb/../gdbsupport/gdb-checked-static-cast.h:63:14: error: cannot > convert from pointer to base class =E2=80=98tui_win_info=E2=80=99 to poin= ter to derived > class =E2=80=98tui_cmd_window=E2=80=99 because the base is virtual > 63 | T result =3D static_cast (v); > | ^~~~~~~~~~~~~~~~~~ > make[2]: *** [Makefile:1930: tui/tui-command.o] Error 1 > make[2]: Leaving directory > '/home/lev/git/library/software/scripts/avr_toolchain_build/binutils-gdb/= test_build/gdb' > make[1]: *** [Makefile:13473: all-gdb] Error 2 > make[1]: Leaving directory > '/home/lev/git/library/software/scripts/avr_toolchain_build/binutils-gdb/= test_build' > make: *** [Makefile:1032: all] Error 2 > > > My environment is this: > > gcc --version > gcc (Debian 12.2.0-14) 12.2.0 > > uname -a > Linux athena 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 > (2024-02-01) x86_64 GNU/Linux > > > I'm not sure I miss something. > > If I disable gdb, it compiles. > > > Thanks for your help, > Levente > You are building GDB. It belongs to the GDB mailing list. --=20 H.J.