From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by sourceware.org (Postfix) with ESMTPS id 728F13858C2B for ; Fri, 27 Oct 2023 13:27:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 728F13858C2B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 728F13858C2B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::532 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698413232; cv=none; b=xjjxFrFdnaSOlgWGikX8XWnzH9qD2UjOfe7FAOVZgqKA9+2S2qtompblYXxAFQeO9+pBlslC2poTG3w/C4v6wP6DlO7lVi//7aCT7s/aGYd0wm4hR2IINxEzqhBWUiHsJ/OHx+ocI3NlSi+D1K9vOshK1vHWILvA8Rxwzk+WLeg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698413232; c=relaxed/simple; bh=Z4raHJjHwKVcJptY0wKKYlxPvq5Uxl9MfJInLp9SR6A=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=U8lO6jQDTL0iMXYmIdJgFRtckXn8vEXBUbrIyBv3Uoc6sW4fbh/phiJnxDjvk+ckQVmIgMo2e+IXoWJ2y80RAzdcikxMFTiSVJH+Uhw/pNi7XebPPBD2Bv8S2/6eCKyR2LrrqfTqaF82j3kcime8mfpOOqwvcCeksP17EC9602c= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-51e28cac164so6622306a12.1 for ; Fri, 27 Oct 2023 06:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698413229; x=1699018029; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Fon6u6Vd67Z4azQeVqiq/Ak6VJjqcbAOOCZpP9OKZWM=; b=NLXBcY1GHZJQ44pS0WaXzSJ5Prqp70ZjukZLP+6NWFEB+F3Mntw6CAfUCgHLBVd6Lw Sb1T+GZ/ioogKSg2Vu8p6eN30DtwyV0C2Ez5Ysdok5Vxxsa/RDg35o978aYk4Zt41O8V gAP363B4+J2P5T6PZzqN++GHeDzN8ZwXu8DuzlkZuE3+6RbVW56blyV9OdaIbMnb1haA MAxweylJRYdOwwGQUmDsg/6h915EzxvmBi63wwUZmgjtKvwlOID8BXSKusE+NLsXIu3a /kkLstHnc1olcncg0w0LTa0KVnB7FY00y0VRe6nVsfttHCHmaPDTwLfimQmdPkbp7szV 22jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698413229; x=1699018029; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Fon6u6Vd67Z4azQeVqiq/Ak6VJjqcbAOOCZpP9OKZWM=; b=EEd0d/Zy0ilLikIJbBjZnl1o7v6w6ndt5Efd8nVXPS2oHl90VI/7V1wFjELT8QG5rB BE1T2E0o4FRFI/VuoAnInnhXdrjWy/LKStvykMaegWmHOudD8NR0hbuyc+3E4TrctbX7 8CuQigEyyE47JMgg7RPE1aDVdRYYdWRGjVDX5ihDbf7Lun7XPwADL0UYcvqa3jhKS7s0 HoygTfhJvu9e6u4gwPv2F3SWpK/GWXe2wrFkqjj5P6To/+tchnnb2+5OdtVH8UbnzO1h M1Y1cjAtcjs3ZK/nsrdNjoi/47GupzvCDULo9ED+o5QrkYmSUplMV6bjvC36+me/Lul/ rMKw== X-Gm-Message-State: AOJu0YyIcKpnBmMviU361Xvt7ZsVa7QjJm0clXzmT6AjCv/yDHcUFc5G //LY7y1v0kuYdm0mbiWF/lguPBXkPF1kkOcmgxDV2vhpXkIu2w== X-Google-Smtp-Source: AGHT+IGAibgvoT6XzR3dQQry/sIKH+GYdsPeAtm03vXU8VuaFheYnX2dx2S7wj0WP7/gkR0eTBHtFSroXjbF39utgRA= X-Received: by 2002:a17:907:970d:b0:9ad:93c8:c483 with SMTP id jg13-20020a170907970d00b009ad93c8c483mr5650176ejc.2.1698413228541; Fri, 27 Oct 2023 06:27:08 -0700 (PDT) MIME-Version: 1.0 From: Will Schubert Date: Fri, 27 Oct 2023 10:26:46 -0300 Message-ID: Subject: LFS V12.0-65 Chapter 8.5. Glibc-2.38 make error In function '__newlocale' To: libc-help@sourceware.org Content-Type: multipart/alternative; boundary="0000000000002b4a950608b2a576" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,WEIRD_PORT 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: --0000000000002b4a950608b2a576 Content-Type: text/plain; charset="UTF-8" Hi guys! I'm following the LFS Project, and till now I guess everything is going fine... But I'm having this error when compiling glibc: (Full lines, below, here just a few lines) /sources/glibc-2.38/build/locale/newlocale.o during GIMPLE pass: fre newlocale.c: In function '__newlocale': newlocale.c:42:1: internal compiler error: Segmentation fault 42 | __newlocale (int category_mask, const char *locale, locale_t base) | ^~~~~~~~~~~ newlocale.c:42:1: internal compiler error: Illegal instruction gcc: internal compiler error: Illegal instruction signal terminated program cc1 I followed the LFS Book instructions, like: - Applied "patch -Np1 -i ../glibc-2.38-fhs-1.patch" and "patch -Np1 -i ../glibc-2.38-upstream_fixes-3.patch" - Created a build dir - Prepared the compilation with this params: ../configure --prefix=/usr \ --disable-werror \ --enable-kernel=4.14 \ --enable-stack-protector=strong \ --with-headers=/usr/include \ --disable-nscd \ libc_cv_slibdir=/usr/lib But at "make" had this error. Full error below, tks and sorry for my poor en_US ;) Will Schubert ... gcc newlocale.c -c -std=gnu11 -fgnu89-inline -g -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wp,-U_FORTIFY_SOURCE -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIE -ftls-model=initial-exec -DCOMPLOCALEDIR='"/usr/lib/locale"' -DLOCALE_ALIAS_PATH='"/usr/share/locale"' -Iprograms -I../include -I/sources/glibc-2.38/build/locale -I/sources/glibc-2.38/build -I../sysdeps/unix/sysv/linux/x86_64/64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/x86_64/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/64 -I../sysdeps/x86_64/fpu/multiarch -I../sysdeps/x86_64/fpu -I../sysdeps/x86/fpu -I../sysdeps/x86_64/multiarch -I../sysdeps/x86_64 -I../sysdeps/x86/include -I../sysdeps/x86 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/include -isystem /usr/lib/gcc/x86_64-lfs-linux-gnu/13.2.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /sources/glibc-2.38/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -o /sources/glibc-2.38/build/locale/newlocale.o -MD -MP -MF /sources/glibc-2.38/build/locale/newlocale.o.dt -MT /sources/glibc-2.38/build/locale/newlocale.o during GIMPLE pass: fre newlocale.c: In function '__newlocale': newlocale.c:42:1: internal compiler error: Segmentation fault 42 | __newlocale (int category_mask, const char *locale, locale_t base) | ^~~~~~~~~~~ newlocale.c:42:1: internal compiler error: Illegal instruction gcc: internal compiler error: Illegal instruction signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[2]: *** [../o-iterator.mk:9: /sources/glibc-2.38/build/locale/newlocale.o] Error 4 make[2]: Leaving directory '/sources/glibc-2.38/locale' make[1]: *** [Makefile:484: locale/subdir_lib] Error 2 make[1]: Leaving directory '/sources/glibc-2.38' make: *** [Makefile:9: all] Error 2 real 0m26.978s user 0m19.952s sys 0m6.365s (lfs chroot) root:/sources/glibc-2.38/build# --0000000000002b4a950608b2a576--