From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-x12e.google.com with SMTP id k9so10807078ilu.13 for ; Wed, 08 Mar 2023 13:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678311231; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=yueOhYyzcO0VK+NLl221LDTh/MS/eX2teBJg+P2oYvk=; b=Di4ZD5VmD9txQgzCmHbMTR9UvHj4+ghWflU8XOQh6K8qC1PaVfzb12e1lz7ZZLpEXX TeUDBl3pwi2Vc3C2yeNKQnpNw9/AOOHPZSqsbrweSPNmAGYef+6pSN3fGULbsJVTltv+ D4csy7NcCWhBmZfk2T3GWApIUrCF62tSFwFdb9vln84ARMGR4+FIDeN4DvwQ+/qazKeG q0PZ4yY6D9fcnLNV/6mllkvfyvC5uhHMx66ze94PjsgWW/bMLBy4p8LBLcM+F81o2T4a G0NNZxIq3kGUoZ3Yu4LOK/8T7AiDUYQCuQ2aOVyNDMQDP9sFbGjq3vCsv3BA4016sx/l I92g== 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 From: Nemo Nusquam 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-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: 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.