From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ke0cDWP/CGT2RwkAWB0awg (envelope-from ) for ; Wed, 08 Mar 2023 16:34:27 -0500 Received: by simark.ca (Postfix, from userid 112) id 289621E223; Wed, 8 Mar 2023 16:34:27 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=clch/cC+; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_REPLYTO_END_DIGIT,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6F75A1E110 for ; Wed, 8 Mar 2023 16:34:23 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EF1933851ABE for ; Wed, 8 Mar 2023 21:34:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF1933851ABE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678311260; bh=yueOhYyzcO0VK+NLl221LDTh/MS/eX2teBJg+P2oYvk=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=clch/cC+jrNevciOT/nXzHJUo/DFzE1w045BjvFSeaGAb4/uHeGyk/5HP2UAJ9TDI Q5vrHrt8Dog7WdQI11lawWjUoxtISLFEz8I1QoCd6aNXV2cxn6TsVdjSbLrZix5u0Z jmhlfxsD3QJSJQEtls8viwCMH7s86f9JWJv8ISZs= Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by sourceware.org (Postfix) with ESMTPS id 17E883858C78 for ; Wed, 8 Mar 2023 21:33:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 17E883858C78 Received: by mail-il1-x12e.google.com with SMTP id k9so10807078ilu.13 for ; Wed, 08 Mar 2023 13:33:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678311231; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yueOhYyzcO0VK+NLl221LDTh/MS/eX2teBJg+P2oYvk=; b=Q1kX4zGlT+GpwrJ2J9yozYlRC07QqNnMKWRbeRS+ZJPZgLLsDD8pqte9gDWphK9L6G aNlHlvgbP3LbmfjNmsGnBNjANrPnxNARuJRwSRvf3W32jp8wztxvCjMADJykdiAP0lRS NC4tFIbet4wtwJ4ytGP4esOirGo1zh7lALXJ8k18HdYC1Zn1EjYfKxEV/Ga49zXcBTCj 0YO5ZD3Cjbl19m8ujUAjVLYcnKahHNqTnd4qwfKb56GDzpaiZZ/QD4aHC/8OlzcOBNDG 1tv9x7ZvroTGgsO1iiMIRsrX7Mc9yYttLU1vcf/4TafzotsBpEKSuDVkmbKV28CY0ctD emCg== X-Gm-Message-State: AO0yUKXLoj3w40RKbQ7XdJ6VXbKhEc5hFSxUUcIVsWzPOiPNPFXAF32s lpxRXvdnogqPaToq71/TmAUsqGrJ6kU= X-Google-Smtp-Source: AK7set/nSoQXEzS99eXnkOnA8Ruyv+ZUMIStjbCi/DvQhdMfRt0YdBkUahdhYNVum38O1hed2hDALA== X-Received: by 2002:a05:6e02:12cf:b0:316:e457:489 with SMTP id i15-20020a056e0212cf00b00316e4570489mr2809764ilm.32.1678311231114; Wed, 08 Mar 2023 13:33:51 -0800 (PST) Received: from [10.0.1.25] (198.27.14-65.ip.mltn.standardbroadband.ca. [198.27.14.65]) by smtp.gmail.com with ESMTPSA id y5-20020a02c005000000b003c41434babdsm5238646jai.92.2023.03.08.13.33.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 13:33:50 -0800 (PST) Message-ID: Date: Wed, 8 Mar 2023 16:33:48 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Content-Language: en-CA To: gdb@sourceware.org Subject: Unable to build GDB 13.1 on Solaris 11.3 Sparc Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Nemo Nusquam via Gdb Reply-To: Nemo Nusquam Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" I am trying (and failing) to build GDB 13.1 on Solaris 11.3 Sparc. Here is my configuration script. CXXFLAGS='-g3 -O0' \ CFLAGS='-g3 -O0' \ NM=/usr/bin/gnm \ SHELL=/usr/bin/bash \ AR=/usr/bin/gar \ AS=/usr/bin/as \ CC=/home/build/gcc/git/bin/gcc \ CXX=/home/build/gcc/git/bin/g++ \ ../configure \ --with-mpc=/usr/local \ --with-gmp=/usr/local \ --with-mpfr=/usr/local \ --enable-64-bit-bfd \ --enable-tui \ --with-curses \ --disable-bootstrap \ --disable-binutils \ --disable-ld \ --disable-gprof \ --disable-gprofng \ --disable-gold \ --disable-gas \ --disable-sim (Some flags taken from https://sourceware.org/gdb/wiki/BuildingNatively .) The makefile creates ./gdb inside the build directory and then stops as follows: checking for libgmp... no configure: error: GMP is missing or unusable gmake[1]: *** [Makefile:11447: configure-gdb] Error 1 gmake[1]: Leaving directory '/home/build/opt/gdb-13.1/bld' I have libgmp (and building gcc 13 uses it) in /usr/local/lib: /usr/local/lib/libgmp.a:        current ar archive, 32-bit symbol table /usr/local/lib/libgmp.la:       commands text /usr/local/lib/libgmp.so:       ELF 64-bit MSB dynamic lib SPARCV9 Version 1, UltraSPARC3 Extensions Required, dynamically linked, not stripped, no debugging information available /usr/local/lib/libgmp.so.10:    ELF 64-bit MSB dynamic lib SPARCV9 Version 1, UltraSPARC3 Extensions Required, dynamically linked, not stripped, no debugging information available /usr/local/lib/libgmp.so.10.4.1:        ELF 64-bit MSB dynamic lib SPARCV9 Version 1, UltraSPARC3 Extensions Required, dynamically linked, not stripped, no debugging information available Now I note that the Makefile is compiling to 32-bit objects but I have a 32-bit libgmp.a.  (I tried adding "-m64" but that caused other problems.) I am stumped.  How do I proceed? N.