From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muller.mulle-kybernetik.com (muller.mulle-kybernetik.com [138.201.123.71]) by sourceware.org (Postfix) with ESMTPS id A84F1385840A for ; Mon, 18 Mar 2024 15:02:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A84F1385840A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mulle-kybernetik.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mulle-kybernetik.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A84F1385840A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=138.201.123.71 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710774164; cv=none; b=Ddb8OfAij6K+wpXJLsDsR5omy0RPfqke2OWVnFALC5taEZ7UYePql0yTmkyM7wJuxYlGgyt16zaims+kcfPMFqg2d9mRH2NU54qJGPntWfpxovLJiiDa2MFon91xc5zkZc7eVvATZA41JQyzAQgp1bqFKfi+Blf4hEIFhvZ796c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710774164; c=relaxed/simple; bh=jAUaj+e4kjjJDBNrMbkoHHDY2mYG/DMaRiKj2GrbKtY=; h=Message-ID:Date:MIME-Version:To:From:Subject; b=FT8BfIUXXHxw29FFPTlLuoTcCPTYhQhTJigC5DKTelgEIGHj45w9ZGSTGd8yL5Urc/Vwu9UiJHOQN/rZ9KfiGl07jiFxMGiH3eDgZMbbCp/uTJz6FWNgaCufBZ1Ka4cjQ/Yql10rm7UjjJP20UvOCubkPnmiTrwbVLG0YCBQ2EM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: (qmail 95772 invoked from network); 18 Mar 2024 16:02:35 +0100 Received: from unknown (HELO ?192.168.2.32?) (nat@138.201.123.71) by mail.mulle-kybernetik.com with ESMTPS (TLS_AES_128_GCM_SHA256 encrypted); 18 Mar 2024 16:02:35 +0100 Content-Type: multipart/alternative; boundary="------------E8DxMwxJ3N6Wjb0gqLA05wR8" Message-ID: <09734b18-ceb2-4f72-ac1c-6dbb26a41ea4@mulle-kybernetik.com> Date: Mon, 18 Mar 2024 16:02:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: gdb@sourceware.org From: Nat! Subject: Problem building the gdb-14-branch probably due to GMP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,KAM_DMARC_STATUS,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: This is a multi-part message in MIME format. --------------E8DxMwxJ3N6Wjb0gqLA05wR8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit When I build a somewhat slimmed down gdb, I get the following error: ```   CXX    init.o   CXXLD  gdb ./libtool: line 5209: cd: no/lib: No such file or directory libtool: link: cannot determine absolute directory name of `no/lib' make[2]: *** [Makefile:2186: gdb] Fehler 1 make[2]: Verzeichnis „/home/src/srcL/gdb-14-branch/gdb“ wird verlassen ``` From the Makefile I deduced that this has something to do with GMP, which I don't need, so I configured that out. But it made no difference. I am on: ``` commit 2b5f0fe3230f707ab736d759af4bf436d2c43837 (HEAD -> master, origin/master, origin/HEAD) Author: Tom Tromey Date:   2024-02-14 08:00:03 -0700     Use string_view in quirk_rust_enum ``` I want to build a slimmed down gdb, therefore I leave out a few configuration options. ``` ./configure \    --disable-binutils \    --disable-ld \    --disable-gold \    --disable-gas \    --disable-sim \    --disable-gprof \    --disable-gprofng \    --disable-libmcheck \    --disable-gprofng \    --enable-64-bit-bfd \    --with-separate-debug-dir="/usr/lib/debug" \    --with-system-gdbinit="/etc/gdb/gdbinit" \    --with-curses \    --without-gmp \    --without-mpfr \    --without-expat \    --without-guile \    --without-lmza \    --without-intel-pt \    --without-python \    --without-tcl \    --without-tk \    --with-tui \    --without-libunwind-ia64 \    --without-x \    --without-babeltrace ``` As an experiement I reduced this to ``` ./configure    --disable-binutils    \    --disable-ld  \    --disable-gold \    --disable-gas \    --disable-sim \    --disable-gprof \    --disable-libmcheck \    --disable-gprofng \    --without-gmp ``` and build this (doing a git clean -d -f beforehand. It doesn't work either, but on a rerun I get this funny error: ``` configure: loading cache ./config.cache configure: error: `GMPLIBS' has changed since the previous run: configure:   former value:  `-Lno/lib -Lno/lib -lmpfr -lgmp' configure:   current value: `-Lno/lib -lmpfr -lgmp' configure: error: `GMPINC' has changed since the previous run: configure:   former value:  `-Ino/include -Ino/include ' configure:   current value: `-Ino/include ' configure: error: in `/home/src/srcL/gdb-14-branch/gdb': configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ./config.cache' and start over ``` Something seems out of whack with respect to GMP in the build process. My OS: ``` Distributor ID:    Ubuntu Description:    Ubuntu 22.04.4 LTS Release:    22.04 Codename:    jammy ``` --------------E8DxMwxJ3N6Wjb0gqLA05wR8--