From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeffrey Walton Newsgroups: gmane.emacs.bugs Subject: bug#42675: Solaris 11.3 x86_64 support Date: Sun, 2 Aug 2020 11:12:02 -0400 Message-ID: References: <877duhb084.fsf@igel.home> Reply-To: noloader@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8288"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42675@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 02 17:13:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2Ffi-00021T-CF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 17:13:10 +0200 Original-Received: from localhost ([::1]:56420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Ffg-0000Pc-Q8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 11:13:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2Ffa-0000P6-Kw for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 11:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2Ffa-00032i-C1 for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2Ffa-0000QB-6U for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 11:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeffrey Walton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42675 X-GNU-PR-Package: emacs Original-Received: via spool by 42675-submit@debbugs.gnu.org id=B42675.15963811411573 (code B ref 42675); Sun, 02 Aug 2020 15:13:02 +0000 Original-Received: (at 42675) by debbugs.gnu.org; 2 Aug 2020 15:12:21 +0000 Original-Received: from localhost ([127.0.0.1]:43187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Feu-0000PJ-V4 for submit@debbugs.gnu.org; Sun, 02 Aug 2020 11:12:21 -0400 Original-Received: from mail-il1-f195.google.com ([209.85.166.195]:38786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Fes-0000P6-Lw for 42675@debbugs.gnu.org; Sun, 02 Aug 2020 11:12:19 -0400 Original-Received: by mail-il1-f195.google.com with SMTP id 77so649291ilc.5 for <42675@debbugs.gnu.org>; Sun, 02 Aug 2020 08:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=FBNjdS8iFQBHb+BZGiniVvoQe3KbH5W6Qc1w3TurLWI=; b=uzcitEvjdsNkh/xh2KcthWtg798VmpYjOYuuvCSALAUhfxQIhzXGPfdx4KSZKBKFmj v+hcI+9TboK1rc6NIacCin9iCb2flo4GdBmrupICv/vAhZVHSXHICBOK8QvSptPWpbVz Hmf7JNrDN7g3iMw/W1Q+9WMzrMad+bl8NgJ7Ep7MJ181brmbKXQHiRY/8oYJWsPXun5g TcDVOAFOq33n1VCDpLlVz0d4Ujg3+4vzwJCm8xi14TujrIfk2/b/wFIeblAkM4HgpZ+F AANKS3YdU2GeYMLd0zZcILHfGVIyfsjn6/kbs/Bg26hgYDG8Kg+Et96ad/Llrd/IUOEB L3zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=FBNjdS8iFQBHb+BZGiniVvoQe3KbH5W6Qc1w3TurLWI=; b=eEuAaHM3XBcJWQtP473u2yUdnihuXdkIX8esEdOx3VA/iofQc8+SJtB1v5/6sJvQam SuRiOR2VfQJ4YCE8/tuM2GQboRf8Q44/pkHhPnhmPHPcji8GCJLwhiPAd8dOSxClaCSy Wo5XpdsyXBolDQiRCL339/kgWHUr5HGbbeQTZoaYlln6pnUjtbn/vp2MIjpKIAkPOIYZ TrPpmnJ7e1GEHluy00V7GhUzdZSRcledLCvINRhIBYtekZd0xnYOaC0DWE4xk3YOcowR PqqAIaLKkWKg7ItPmExCr+haHFxwb5QDXDbWTfm68/ph1G5Uq9IkO4UPIX5Wdndz+WQl 9gTQ== X-Gm-Message-State: AOAM531zQvtL43dDHQAW8U8C3klLGdI6Oaxsv3fLzr5/QRl9aHFHqdO8 sWpgI3piUpDlXempii+3NwQ+x8NH9Wx0GoFetkBb3JcJMDE= X-Google-Smtp-Source: ABdhPJxqaGPJhvS7RqrJhf/VBTu8eU0OuINoJPSrBPz8eH04b7mHBrL0gZUpl/1IML+vGz6qrlA5HogLwPuJTb5gGGc= X-Received: by 2002:a92:c9ca:: with SMTP id k10mr13235336ilq.41.1596381132985; Sun, 02 Aug 2020 08:12:12 -0700 (PDT) In-Reply-To: <877duhb084.fsf@igel.home> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183855 Archived-At: On Sun, Aug 2, 2020 at 10:18 AM Andreas Schwab wrote: > > On Aug 02 2020, Jeffrey Walton wrote: > > > I'm building on Solaris 11.3 using x86_64 per [1]. I use > > '--build=x86_64-sun-solaris' > > You need to specify the exact solaris version you are building for. Thanks Andreas. I don't think that's the case. The Autotools docs say the triplet is cpu-vendor-os. They don't say anything about a version number.[1] There is no "solaris2" os. It is called 'Solaris'. Because of Autotools name mangling a configure typically matches it to 'solaris*'. [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Specifying-Target-Triplets.html > > because Autoguess chooses 32-bit instead > > of 64-bit (even with CFLAGS and CXXFLAGS including -m64). > > If you add -m64 to CC, not CFLAGS, then config.guess should do the right > thing. If I add -m64 to the compiler, then it breaks other packages. I don't think that is fair to other packages that do things as expected. But stepping back, there is no need to guess. I told the system what to use in the --build. Of the 100+ packages I build regularly, only Emacs has this problem. I'm pretty sure the Emacs configure script is the problem in this case. The user's job is to set the environment. If I don't set the environment properly then that's my fault and the configure script should die. The flip side of that is, stop being clever in the script. Just do what you are told and things will work well. Jeff