From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C4E813933E for ; Wed, 7 Jul 2021 19:28:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00B79E0D6C; Wed, 7 Jul 2021 19:28:37 +0000 (UTC) Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8A207E0D59 for ; Wed, 7 Jul 2021 19:28:36 +0000 (UTC) Received: by mail-pl1-x62f.google.com with SMTP id a6so1628777plh.11 for ; Wed, 07 Jul 2021 12:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=XzPSFXFOjr7dQ2EA/Qu+IP+ESxxPamNHyGAO/0EY5ps=; b=gqCS1nuHPqHFB2RmkJeZoZw3b078e//Gdgoeh0J0ImOL835PeiszMfjVVDovawlB+E XLdiJg0tpH4mtZjpKjCcxl6r0n+okiehU2jX45cyOJdX820Uv7wy3xyvoTwRaHCH5kBM mef7JVwHcmOGLiWbibO4JEUpMXYqqL7WcsOaNvAEWXqNyX2eBCDoz3CJ4aRv3+eBK0ox sPDKneznM/ml/sLin5GryKY8c7ey/s0Q2OTYA0xmbc5RHScWeuJWl1qFUBaWVLNQDD/3 YrVrkyc0QuHuUtQIHuBb3MJ1bElC45CF3gbIjtcSG6sxdnxeIx7UdrwztJHyUZ2GSs97 cuQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XzPSFXFOjr7dQ2EA/Qu+IP+ESxxPamNHyGAO/0EY5ps=; b=jKhS+BkIfm1dYDXqP4tjRpGDeJR19ILBWN8BEea/vclDJ8chdOfZXGWHL+0VowDYiA 0x06/0RhQTRb/LjjUYd4Xy73uumy0rPyEWwFvSBC2JUKwP8jBdxXOHHwX7nWgQcde4Hx j2jnZ4Z4lSTETd5N7C/sjx1aWms9XQatqeyiGIg2AxO7gNebv+UG+yb1M3M1IofzgnfN kMzph/gJCdyfhET/wL2u7hVRFCw6aKYF3wJ3svsw8I0yyLmVqhZlugvHmI2FjvISPyxu kTW0H7OiesQH1bzrlBPaq2aWWBBaxiWASv8G7qPmQUZ0u5qR19eIfOBmdPvQd8EZlnz5 SewQ== X-Gm-Message-State: AOAM530ncfFFs3+6jVc4pbRprxTS2lu9ZmZ8kG0pmcEs2uBDpSQj/1Ld amX8fyp+B808FUmxg8ASkdda1hjnjHo= X-Google-Smtp-Source: ABdhPJyI5ixMF4IAnMGlw73tSW8j2vmwb345rI9lajcq5Y39+lOFwPp+zWy8pZ5LF0OUtowmPcQfEw== X-Received: by 2002:a17:90b:1944:: with SMTP id nk4mr27947456pjb.66.1625686115313; Wed, 07 Jul 2021 12:28:35 -0700 (PDT) Received: from [192.168.247.5] ([108.180.64.73]) by smtp.gmail.com with ESMTPSA id t185sm16749955pfc.1.2021.07.07.12.28.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jul 2021 12:28:34 -0700 (PDT) Subject: Re: [gentoo-user] glibc-2.33-r1 crashes out at the start before building. To: gentoo-user@lists.gentoo.org References: From: Daniel Frey Message-ID: <2d894e7e-aa9e-92e0-08b5-153f9944db5a@gmail.com> Date: Wed, 7 Jul 2021 12:28:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 5a3a4330-8d7e-4d5f-97a0-0608acbd2631 X-Archives-Hash: 46cbeea49abc02921cebd4d720de03cf On 7/7/21 11:16 AM, Alan Mackenzie wrote: > Hello, Gentoo. > > Would somebody help me here, please. > > When I try to emerge glibc-2.33-r1, the very first phase of the build > crashes out with: > > x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed glibc-test.c -o glibc-test > * Checking that IA32 emulation is enabled in the running kernel ... > /usr/portage/sys-libs/glibc/glibc-2.33-r1.ebuild: line 608: 199 Segmentation fault "${T}/check-ia32-emulation.elf32" > [ !! ] > * ERROR: sys-libs/glibc-2.33-r1::gentoo failed (pretend phase): > * CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc. > * > * Call stack: > * ebuild.sh, line 127: Called pkg_pretend > * glibc-2.33-r1.ebuild, line 721: Called sanity_prechecks > * glibc-2.33-r1.ebuild, line 670: Called die > * The specific snippet of code: > * [[ $STAT -eq 0 ]] || die "CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc." > * > * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.33-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.33-r1::gentoo'`. > * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/die.env'. > * Working directory: '/var/tmp/portage/sys-libs/glibc-2.33-r1/empty' > * S: '/var/tmp/portage/sys-libs/glibc-2.33-r1/work/glibc-2.33' > >>>> Failed to emerge sys-libs/glibc-2.33-r1, Log file: > >>>> '/var/tmp/portage/sys-libs/glibc-2.33-r1/temp/build.log' > > What is clearly happening is that the C Compiler is crashing out with a > segfault. I actually have CONFIG_IA32_EMULATION in my kernel config. > > I've tried this with both GCC-10.3.0 and GCC-9.3.0 with the same results > on both. > > What is going wrong? (Horrible thought - maybe my RAM is failing.) > It looks to me that it ran a test to see if you have a kernel option enabled. It didn't, looks like it crashed. And then the build warns you that you have to enable CONFIG_IA32_EMULATION in your kernel? Dan