From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 633 invoked by alias); 7 Jun 2002 09:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 599 invoked by uid 71); 7 Jun 2002 09:46:01 -0000 Resent-Date: 7 Jun 2002 09:46:01 -0000 Resent-Message-ID: <20020607094601.598.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ralfixx@gmx.de Received:(qmail 584 invoked by uid 61); 7 Jun 2002 09:45:56 -0000 Message-Id:<20020607094556.583.qmail@sources.redhat.com> Date: Fri, 07 Jun 2002 02:46:00 -0000 From: ralfixx@gmx.de Reply-To: ralfixx@gmx.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/6952: gcc 3.1 fails to configure on HP-UX A.09 X-SW-Source: 2002-06/txt/msg00144.txt.bz2 List-Id: >Number: 6952 >Category: bootstrap >Synopsis: gcc 3.1 fails to configure on HP-UX A.09 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Jun 07 02:46:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ralf Fassel >Release: gcc 3.1 >Organization: >Environment: HP-UX venus A.09.05 A 9000/712 gcc 3.1 >Description: configure fails in gcc-3.1/gcc due to od -c output. On HP-UX A09, `od -c' lists offset information in decimal by default, but the configure script expects octal numbers. This breaks the tests for endianness and floating point format. I am aware that HP A09 is quite old, but I thought I report it anyway. >How-To-Repeat: HP-UX venus A.09.05 A 9000/712 ./configure ... Configuring gcc... ... checking for CHAR_BIT... yes checking byte ordering... unknown configure: error: *** unable to determine endianness >Fix: Changing the arguments to od from `od -c' to `od -tc -Ao'. I don't know whether other systems will break. *** gcc-3.1/gcc/aclocal.m4~ Tue Jan 22 23:48:45 2002 --- gcc-3.1/gcc/aclocal.m4 Fri Jun 7 11:42:00 2002 *************** *** 935,941 **** $1 ]EOF if AC_TRY_EVAL(ac_compile); then ! od -c conftest.o | sed ['s/^[0-7]*[ ]*/ / s/\*/./g s/ \\n/*/g --- 935,941 ---- $1 ]EOF if AC_TRY_EVAL(ac_compile); then ! od -tc -Ao conftest.o | sed ['s/^[0-7]*[ ]*/ / s/\*/./g s/ \\n/*/g Diff finished at Fri Jun 7 11:42:05 >Release-Note: >Audit-Trail: >Unformatted: