From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500o.mail.yandex.net (forward500o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::610]) by sourceware.org (Postfix) with ESMTPS id 7154D3858D1E for ; Sat, 24 Sep 2022 01:03:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7154D3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.com Received: from myt6-469628f636f5.qloud-c.yandex.net (myt6-469628f636f5.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2324:0:640:4696:28f6]) by forward500o.mail.yandex.net (Yandex) with ESMTP id B034E940DAB; Sat, 24 Sep 2022 04:03:22 +0300 (MSK) Received: from 2a02:6b8:c12:520b:0:640:889:0 (2a02:6b8:c12:520b:0:640:889:0 [2a02:6b8:c12:520b:0:640:889:0]) by myt6-469628f636f5.qloud-c.yandex.net (mxback/Yandex) with HTTP id L3ZHed1fNeA1-3Mf0aool; Sat, 24 Sep 2022 04:03:22 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1663981402; bh=x4EhCrIvJSP2YMeZ4LfdTjtTrM2lcjye0UWBYd0956A=; h=References:Date:Message-Id:Cc:Subject:To:From:In-Reply-To; b=xjRJXz6gwZFFCN4jD4LP66cE5t/IJItBhb5Wtu7ONh28YcOnEcWjv3r4Zb8MxB5Zb wV+QsWD+eeIOhGVReps/7Xu5dfqPChDaYQP0yttYxK1rg1kyjwRd6G3W4x6xJH5/Du s8MPJpbKMFUCDGd7DsSpJWNuEGBPEo9CqQ5qV1eE= Authentication-Results: myt6-469628f636f5.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Received: by m5q2bgqovkelfrov.myt.yp-c.yandex.net with HTTP; Sat, 24 Sep 2022 04:03:22 +0300 From: alexandre schenberg Envelope-From: ale-schenberg@yandex.com To: Jonathan Wakely Cc: gcc-help@gcc.gnu.org In-Reply-To: References: <5696641663896903@2ifjmylsx37py6nh.sas.yp-c.yandex.net> Subject: Re:Can't I build gcc with multilib support? MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 23 Sep 2022 22:03:22 -0300 Message-Id: <498751663981402@m5q2bgqovkelfrov.myt.yp-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,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: Yes, I am trying to build 4.9.4, again. I built it first with multilib support (probably with the help of 32bit libraries installed through the package manager). However when I try to run any c++ 32bit program (c programs works fine), it ends with segmentation fault. I believe that is due to a conflict between the 4.9.4 gcc/g++ and libstdc++.so.6.0.20 with the old libraries from gcc 4.4.3 on /usr/lib/... Finally, I am not sure that only reinstall gcc 4.4.3 would solve it. Reinstall ia32 libs might do it, but first I have a few things to try. To check Gcc configure.ac and look for the above error messages. Plus, I might created a backup copy of /usr/lib/gcc/x86_64-linux-gnu/4.4.3/ and replace it with /usr/lib/gcc/x86_64-linux-gnu/4.9.4. If that works, I won't even need to do a system wide 4.9.4 install, neither reinstall anything from the package manager (that I would have to uninstall again latter)