From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by sourceware.org (Postfix) with ESMTPS id CB3643858D38 for ; Fri, 27 Jan 2023 19:30:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB3643858D38 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4P3SMR6F6mz9sQ8; Fri, 27 Jan 2023 20:29:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1674847795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gJ467dY8ph89uhir5xwJs/b3IJB9iyyBwSH7wWgUvPA=; b=Fodz51QiR4PbPNF/RC76HpSZAvN0zwLUI0SjtcqJ61CeowNIuhtdXg3I6zS+lmm8VEX2s/ sWMruTy3+aIe6vWzTlmAvQt/crNzaqFFDS8XtFjh/nVjRnfR88XDA8hJko2BSH0/5Nvkh9 RbIMuGrOJg20qjiZqShw2a7lM7UkdwV2EktuLk1OHV4xVEgDfY6FP3OPqlG0yT4zFdjYiY v22O+b9XVur+AsxGp3IsWM89/YOM7x3wPF0zdunj7Xmpkj4XJrcfuDQHvZHugWxPpLBYaQ VzuxEdR3RqIuZ/KUUdZDRZtCLmo24QenSw13oec3PmlU71JpxAR9JrZcRZjl9A== References: <1069636641.353816.1674409053357.JavaMail.zimbra@markwbutt.com> <0a2e72ff-e0ce-f413-aeeb-1bdb1cfbd512@gmail.com> <20230127175845.GQ25951@gate.crashing.org> <1181772750.416994.1674847272046.JavaMail.zimbra@markwbutt.com> From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: Mark Butt Cc: Segher Boessenkool , Jeff Law , Jonathan Wakely , gcc-help@gcc.gnu.org Subject: Re: Building and install GCC 8.3.0, OpenBSD 7.2 on DEC Alpha EV5 Date: Fri, 27 Jan 2023 20:25:24 +0100 In-reply-to: <1181772750.416994.1674847272046.JavaMail.zimbra@markwbutt.com> Message-ID: <861qnflqrz.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4P3SMR6F6mz9sQ8 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_INFOUSMEBIZ,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Mark, Mark Butt writes: > Thanks Segher! > I tried 12.2 a few days ago but I am getting errors that I think are abou= t the > compiler that comes with OpenBSD being too old to build 12.2. > I haven't given up yet, but I think I need to reinstall OpenBSD for sanit= y sake > to make sure I haven't messed something up over the weeks of trying to fi= gure > it out. OpenBSD 7.2 seems to includes GCC 4.2.1 and Clang 13. The former is too old, however, the latter should work fine. Try to configure with CC=3Dclang CXX=3Dclang++ or something like that. > This morning I found a great article about how to build gcc for an Alpha > emulated VM running Tru64. I am going to try to roughly translate what I= can > in to OpenBSD to see if that helps. > I do have Tru64 on another set of SCSI disks so I might give it a go... j= ust to > see if the steps work for a stock Tru64 5.1b. > > When I started this small project I didn't think it would much trouble at= all. > I had assumed modern OpenBSD would be similar to using something like mod= ern > AIX which supports a lot of GNU-linked products very well... either that = was a > poor assumption on my part, I am doing something wrong, the Alpha archite= cture > (yes, ancient I know) or a combination of several of those. > > When I do have a working GCC installation I will report back with the ste= ps > required to get there. Incase anyone else happens to feel the need to co= mpile > GCC on an old Alpha. > I am thinking I am getting close... GCC is building it seems, but encoun= ters > errors during the subsequent steps. It complains that it cannot create > executables. > > I did notice that the configure script is detecting the host as: alpha-u= nknown-openbsd7.2 > Does anyone know if that looks right or if I should be manually specifyin= g the host type? Assuming this is an Alpha host, that seems right. > Again, thanks all for the help and taking the time to respond. > -M Have a nice night. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCY9QmMF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTwxIA/i7mYbQmUBoqQLG0GRQbnAk/SRhZLVlfy91s 9nm4K8yGAQD1IOxESoRkULktjig2PeIJsfVeafS/jbUNurDO3sv3Bw== =22dq -----END PGP SIGNATURE----- --=-=-=--