From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 4995128B8251 for <9fans@9fans.net>; Tue, 9 Jun 2020 16:02:10 -0400 (EDT) (envelope-from staal1978@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 5FFB323BA4A; Tue, 9 Jun 2020 16:02:10 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1591732930; b=po55/NR621GI/NETeeCydCB9+gfq7dhiBN2mEgh08Vnbo/0YKI mOR3bvpUAM9BtxWml7uH76pv5Jm8HZU71J2Dt8XUwCPfZnxM/B3FoHm8iZbtkHHW IKfvycuCe6K2ZQt6yJmPDWBQVGj0m453bjntDuziJ220TWm2ITtqu920pd8LgP17 K3bvIWbUmthptCnpUGjucjW5mxqtv1maUAnBCnxSIgjlRINjhYaPVlV2SS7IPsRU vqqttkMnWiKesJCwC+nWLYor2sVDWmLnihTeChw97V2eSP64j3mLmtLlP8w6QOH6 mTDGKo2d/W9v8tdg0BYtRvI1NEFo/87xzdIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:references :mime-version:content-type:in-reply-to; s=arcseal; t=1591732930; bh=pr2vioD+nD1pwD1KzfqVR+PORnTHBhvBmo9t0Yjw/Ds=; b=QWr285veIQkB olWW5RNJmANBsGLAPWVz70pqQ+jJ1c+nPel6bmG97JwOvrBlrb2Wr4yYUjJLrcgb ZHDzoBhYaOBtmwun2SO2okhV2sa06tkavBheP0BzsVl4TJ+5P9dEulY9CjaRCCJs Y0nU1n8uOq7r3RyA1jFW3KrEa7e2q4JrDGvpw4HqszrgdBu9qDSNo6HjEdEqOWg6 /m16wsY5aob7QEoKFgoMnqpzRt402OwEQKmsCrx2tbhvHr94VmLBDbfedSynHm48 nwLYyFW7ZNttWlvHZyFpZw3cAP/5kb18ZUqU5J3lKmUIAWLzIW7h3t8/1L6BSu1E afGEM7tB2w== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=l74HNouj header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.128.49 (mail-wm1-f49.google.com); spf=pass smtp.mailfrom=staal1978@gmail.com smtp.helo=mail-wm1-f49.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=l/lvC2pW; x-ptr=pass smtp.helo=mail-wm1-f49.google.com policy.ptr=mail-wm1-f49.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=l74HNouj header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.128.49 (mail-wm1-f49.google.com); spf=pass smtp.mailfrom=staal1978@gmail.com smtp.helo=mail-wm1-f49.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=l/lvC2pW; x-ptr=pass smtp.helo=mail-wm1-f49.google.com policy.ptr=mail-wm1-f49.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduhedrudehgedgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeflvghnshcuufhtrggrlhcuoehs thgrrghludeljeeksehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeeijeeghf egteevueeuveevfeevffdvvdekteekiefflefhvdejueelteegveetgeenucffohhmrghi nhepsghiiidrthhmpdelphdrihhopdhgihhthhhusgdrtghomhdpthhophhitggsohigrd gtohhmnecukfhppedvtdelrdekhedruddvkedrgeelpddvrgdtvdemudekuddumegvgedt heemheeltddtmehfvddtfeemkegtfhhfmehfvgeljeemudejtgefnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehinhgvthepvddtledrkeehrdduvdekrdegledphhgv lhhopehmrghilhdqfihmuddqfhegledrghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomh epoehsthgrrghludeljeeksehgmhgrihhlrdgtohhmqecuuffkkgfgpeegkeekvd X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'staal1978@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="staal1978@gmail.com"; helo=mail-wm1-f49.google.com; client-ip=209.85.128.49 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 9 Jun 2020 16:02:09 -0400 (EDT) (envelope-from staal1978@gmail.com) Received: by mail-wm1-f49.google.com with SMTP id k26so4361290wmi.4 for <9fans@9fans.net>; Tue, 09 Jun 2020 13:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=pr2vioD+nD1pwD1KzfqVR+PORnTHBhvBmo9t0Yjw/Ds=; b=l74HNouj8eVeEYlcSIDrzDUhJncS9yl4Dgf09Ak9MnNljGh4CaYaLYUWrllE4TxciT U9i+m4TC2oKbCyJe+6aV3tIeq8fW4kDstNBm9ckB/oED7fr0on5y1He1Hy3nETstSa5u W7RC81WzvgG1YM3MmYEJu6hpZ6oLTNPtA6qr4zv3t/Wc9cLCzrRZVBAhKrdqI3Rn/IzP o8mvKn550OXDaCeymB2r7FnQ8wzkqdKPG+FESvT2OH6mdD2qjKoPRX6Az/RBruAZrZlT sDDTaGR4BtKvmK+TuCJyqPkVtDFBQ1QQbLYU/ull6nMJD+hp0LDcq+KFj46ti8ySioK8 J27Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=pr2vioD+nD1pwD1KzfqVR+PORnTHBhvBmo9t0Yjw/Ds=; b=l/lvC2pWHBMzByq+QqJhx2NLguqZH2HYvtJK/dk4Q+/jNE83QYonAh5BJXYYzSa9iK WdK09qLz4Gwcth2Okfp2uoAJwFeSwY0V/ygE0G+qbOVM30jzOHUA7zma0SO1+oqiWK9x 4l227cvaUrpJCfHR97B9yynl+ZpEKvhDyZnWEBbxwA/mp9pDyw7mXB2xfiNZ2v/iQ6By wnTNt9H4UGMb4bwrkGIvyX6ny93YjeAxf7W71O8+xzRXZB6kfWQ7ZsBy7E0RtAOD0WuP v9g+NEpzMAbwEe/RkauYqfRiWDOqYXw5DIvcRfb4DBvu0U0yPuNtjC6kf4mfEJKNSnbX d4fw== X-Gm-Message-State: AOAM531NPiM9BzsNeHB2ly5jQxzNECCeu2CNsKYpKh1vTGI1+zQQAYdy tIoUPdxmPNo73odo/GPsWG5et/Nofbc= X-Google-Smtp-Source: ABdhPJwTgth/UL6koEATkqKqrqDLSthRiYgtkrS56ibLchKfWyLRuSZ8ToE3fTmImWTjtp1aGnbe5Q== X-Received: by 2002:a7b:cf02:: with SMTP id l2mr5630525wmg.136.1591732928130; Tue, 09 Jun 2020 13:02:08 -0700 (PDT) Received: from Hugin (ptr-eitwsfeqnbu45pbta6b.18120a2.ip6.access.telenet.be. [2a02:1811:e405:5900:f203:8cff:fe97:17c3]) by smtp.gmail.com with ESMTPSA id z16sm4560863wrm.70.2020.06.09.13.02.07 for <9fans@9fans.net> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 13:02:07 -0700 (PDT) Date: Tue, 9 Jun 2020 22:02:05 +0200 From: Jens Staal To: 9fans <9fans@9fans.net> Subject: Re: [9fans] plan9 vs aout Message-ID: <20200609200205.57rs3fptrjwhwr33@Hugin> References: <20200602123638.pj5nqzrzazt6qsv6@Hugin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200602123638.pj5nqzrzazt6qsv6@Hugin> Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1cbd8744-aa8c-11ea-9f32-c51c898cb928 I have now added 2 more branches for reference from the updated port of gcc and binutils to i386-plan9 from https://marcus.biz.tm/jail/ : binutils-2_22-plan9 gcc-4.8-plan9 Hopefully there are some clues there to help making a working current i386-plan9 cross compiler. On Tue, Jun 02, 2020 at 02:36:38PM +0200, Jens Staal wrote: > Dear all, > > First a bit of background: > I am currently attempting to update the old i386-plan9 target for binutils/gcc > in order to generate a modern cross compiler targeting plan9. > > I have extracted the changes done to gcc 3.0 and binutils 2.11.2 from: > https://9p.io/sources/extra/gcc/ > > My binutils and gcc attempts can be found at: > > https://github.com/staalmannen/gcc > branch plan9 : porting attempt to current gcc (10) > branch gcc-3.0-plan9 : original port added to the 3.0 branch > > https://github.com/staalmannen/binutils-gdb > branch plan9: porting attempt to current binutils (2.34) > branch binutils-2_11-plan9 : original port added to the 2.11 branch > > Definitely not just a copy-and-paste endeavour unfortunately. The old port > almost 20 years old and some style and structure changes have happened in that > time. > > I have built a binutils variant but when I try to compile a "Hello.S" with > i386-lucent-plan9-as and execute it under i386 9front, I get an error about > incorrect file header, so something is wrong. > > What I learned from looking at the old port and trying to adapt it to compile in > a modern binutils background is that a lot of it is basically copied from the > generic aout target (I have some uncommitted changes where I am updating the > obj-plan9 files to modern modified obj-aout files with the original changes > applied). > > So to my question: what are the differences between the plan9 file format and > what binutils would see as generic aout? > > > PS. If someone would be interested to help out, you are more than welcome ;) DS. > > > > > > ------------------------------------------ > 9fans: 9fans > Permalink: https://9fans.topicbox.com/groups/9fans/T0d486ca41e37210d-M9cbbb545155e2a1fd2addc16 > Delivery options: https://9fans.topicbox.com/groups/9fans/subscription