From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23988 invoked by alias); 17 Aug 2002 23:06:01 -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 23969 invoked by uid 71); 17 Aug 2002 23:06:00 -0000 Resent-Date: 17 Aug 2002 23:06:00 -0000 Resent-Message-ID: <20020817230600.23968.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, william@nscs.fast.net Received: (qmail 23377 invoked by uid 61); 17 Aug 2002 23:00:47 -0000 Message-Id: <20020817230047.23376.qmail@sources.redhat.com> Date: Sat, 17 Aug 2002 16:15:00 -0000 From: william@nscs.fast.net Reply-To: william@nscs.fast.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/7623: SCO OpenServer build fails with machmode.def: undefined symbol: BITS_PER_UNIT X-SW-Source: 2002-08/txt/msg00354.txt.bz2 List-Id: >Number: 7623 >Category: target >Synopsis: SCO OpenServer build fails with machmode.def: undefined symbol: BITS_PER_UNIT >Confidential: no >Severity: serious >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Aug 17 16:06:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: William Bader >Release: gcc-3.1 >Organization: >Environment: SCO OpenServer 5.0.5, SCO dev sys >Description: gcc-3.1 builds under SCO OpenServer 5.0.5 using the SCO dev sys fail with "machmode.def: undefined symbol: BITS_PER_UNIT". Reverting the ChangeLog entry below would probably fix the problem. > 2002-04-24 Robert Lipe > * config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion. The ChangeLog for gcc-3.2 does not have any indications that this has been fixed. >How-To-Repeat: Build gcc-3.1 under SCO OpenServer 5.0.5 with the SCO dev sys. It will probably happen on all versions of SCO OpenServer 5. >Fix: I built gcc-3.2 using the patch below. --- gcc-3.2/gcc/config.gcc Tue Aug 6 11:20:55 2002 +++ bgcc-3.2/gcc/config.gcc Thu Aug 15 16:18:59 2002 @@ -1400,17 +1400,17 @@ tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems" if test x$enable_threads = xyes; then thread_file='rtems' fi ;; i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 xm_defines=POSIX install_headers_dir=install-headers-cpio - tm_file=i386/sco5.h + tm_file="i386/i386.h i386/att.h i386/sco5.h" if test x$gas = xyes then tm_file="usegas.h ${tm_file}" tmake_file=i386/t-sco5gas else tmake_file=i386/t-sco5 fi extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o" >Release-Note: >Audit-Trail: >Unformatted: