From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id E183E385735A for ; Tue, 5 Jul 2022 18:04:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E183E385735A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 8D175ADC3D; Tue, 5 Jul 2022 20:04:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i40blKvWUV8K; Tue, 5 Jul 2022 20:04:34 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508547b6.dip0.t-ipconnect.de [80.133.71.182]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 4733AADC37; Tue, 5 Jul 2022 20:04:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1657044274; bh=bTB8b7A/Jj8IA1Pr+CvBGb75O4VKote7PZ+ARSjMS0M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BYgC61r43tNLuEhIkR3ebAQBEmEROrhz/hRorJwisWzIIDoaWUoxobvV59b3EfeAg Q1tckZxW/x3dzHKt8t9bZvx9++8pdf/2VH8eeu24vozmLg0rSrW451ETdKkMOy4WfG BKkEIhjJ7fb+w8jMxmfP2WKkeDyVpU93pF61cSwXYhI17EbWI7v6rZkL84TKKUOF3T /a5bL5tP68jmFLfNuWI7wNlqFdYVSxsFZKcvPmkHbZ8PXUysxjtH2gWtBHWIuwmUhG 4urj39zwxODbkVI+QblFrMOARazRjBWgJ1bT7beOm4OfDG5W4WzO89s5Rz/e90fskE 5fGiefsGTaTig== From: Rainer Orth To: Gabriele Bulfon via Gcc Subject: Re: Build of any gcc breaks on my sparc / illumos env References: <1210252696.3932.1655720006494@www> <12001690.O9o76ZdvQC@fomalhaut> <950112217.7047.1657042720342@www> Date: Tue, 05 Jul 2022 20:04:33 +0200 In-Reply-To: <950112217.7047.1657042720342@www> (Gabriele Bulfon via Gcc's message of "Tue, 5 Jul 2022 19:38:40 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3788.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2022 18:04:38 -0000 Hi Gabriele, > Hi, took me some time to get back to this. > The reason why I need to build new gccs is that to build latest illumos > gate I need gcc7 and gcc10 together. > The illumos gate that I can build with illumos gcc 4.4.4 is around 2019, so > I tried backporting latest ld, libld, libelf, liblddbg sources to my 2019 > gate and rebuilt only these components manually, than installed bin and > libs manually. > The problem persists. Is there any other components I need to backport? > Using ldd I see only these dependencies for ld. no matter if you just want to build openindiana userland or the illumos core, you will have no luck with unpatched upstream GCC: the Illumos/OpenIndiana guys are keeping a large set of patches that have never been upstreamed and are almost certainly required to get a working gcc on Illumos, let alone one that is capable of building Illumos ON. If at all, you should be starting from the oi-userland repo (cf. components/developer/gcc-*) and check which version of GCC (beyond the heavily patched gcc 4.4.4) is required to build Illumos. Besides, SPARC support has been removed from Illumos completely some time ago, so you're pretty much on your own here. You may have some luck getting hints from Peter Tribble of Tribblix fame who provided a SPARC version of his distribtion until August 2018. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University