From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 6E80F3858436 for ; Wed, 22 Mar 2023 19:19:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E80F3858436 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-ed1-x531.google.com with SMTP id eh3so77257397edb.11 for ; Wed, 22 Mar 2023 12:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679512790; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Y7CWM5WYQTHKbXvRIDsKUYzd5iNj8M+Is35ZlyGY8wU=; b=bsDz6yIHTcnEDN18rv6J6vbfCoFsesvN4Sy4MzLq4mj4YNK3mF/GksHN5KGyhHlUCk BNJZTPq5OM0I//RzmPl0Xbb4MOFYxlrHED0iUHbKc/mRIJxVHN3Es4XNebKug2xZkMwy ssqZkMYxCqgFXI9ExstrxWeeIyorNmqDWb+p6vefZ+BToIW6rdMYlWYOSOebd9VmdILP hP8TW0lgO87NRGC7o3JTidNLSojyV6I0l1yeKnUipmq0G6umQsvxOAOBfFdsIBeCRcau 946XQAdpBIuSVfxvGy2fWTSZiWZbC6BHUTncB/R1GeI0KtxuV/7lBvQMpCb2g5a3ZvWj UYDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679512790; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y7CWM5WYQTHKbXvRIDsKUYzd5iNj8M+Is35ZlyGY8wU=; b=R22Rr3xhk45FAuEnNMOSMs0/ejHkNPwT/t9B4ESjVIQT80lULZAm+y76D64G/3XlWk vlmj6PDY6cm8XJT1isHuC6on21vPkT4BvQKEG71VKKYpypxN/KlsLkWtFXS8H1+rR0lo C8L/XP+NAvUMX5pZ+vG0risbzoWeqesTfwlP6wjRq1FBfcNUp4bkFh7WB/Z+8pUs4MsP sGgjoA49PY9QcULtBswPsi4y3iFnKCMeSSJALCN/7GZeT1JXbr0xaWYgGtqK5QqdJnJT RFp4l8d1EM3n54MMdmRGo2NGGIp0vtUTZx+XQtV3zgiw4F4GBYslG2LQJ9pho6b0ezGp uAtg== X-Gm-Message-State: AO0yUKXbSuNSDR/fiaWY2QDnPS9yLA7/OrosEEKv31htQ3QjNe/C7w6u xjeTMelS9YzHVcF83pQ9oso= X-Google-Smtp-Source: AK7set8zbVljU/kMOqhBejDWXCl6fVCS7edjBVqQPaDcIhRiCw/a+oEh+pmT8dNz4XqVdVmCZfYzGg== X-Received: by 2002:a17:907:b9d0:b0:92f:495b:bc7c with SMTP id xa16-20020a170907b9d000b0092f495bbc7cmr3888779ejc.23.1679512789711; Wed, 22 Mar 2023 12:19:49 -0700 (PDT) Received: from smtpclient.apple (p200300c7f71a207ac1bb94624f19f1cb.dip0.t-ipconnect.de. [2003:c7:f71a:207a:c1bb:9462:4f19:f1cb]) by smtp.gmail.com with ESMTPSA id u17-20020a170906409100b009338ad391b9sm5165100ejj.213.2023.03.22.12.19.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2023 12:19:49 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: building gcc 3.0.4 on mips-dec-osf1: where are CPP definitions set? From: Dennis Grevenstein In-Reply-To: Date: Wed, 22 Mar 2023 20:19:37 +0100 Cc: gcc-help@gcc.gnu.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Jonathan Wakely X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: Hi, > Am 21.03.2023 um 01:04 schrieb Jonathan Wakely = : >=20 >> I=E2=80=99ve got an unusual problem. I have on old DECstation (MIPS = R3000 >> based) running the infamous OSF/1. I got gcc-2.7.2.3 compiled and >> working and I am now trying to upgrade to 3.0.4. >> One problem I found is that gcc-3.0.4 no longer defines >> #define __LANGUAGE_C__ 1 >> and a number of header files depend on it. >> It still defines >> #define __LANGUAGE_C 1 >> but of course that is not the same. >> gcc-2.7.2.3 still defined it correctly. I assume that this is just an >> error in some file, but I can=E2=80=99t find where these defines are = set. >=20 > I think it's a call to builtin_define in gcc/config/mips/mips.h this is correct and I eventually got gcc-3.0.4 compiled. However, the resulting gcc doesn=E2=80=99t fully work. It can go through stage2 and it can build some apps like GNU sed, but will produce binaries that fail with a Signal 11 with some other apps. I think I would rather go back to gcc-2.7.2.3. thank you anyway=E2=80=A6 regards, Dennis=