From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s411.sureserver.com (s411.sureserver.com [192.252.151.33]) by sourceware.org (Postfix) with ESMTPS id E8DC9395BC33 for ; Sun, 20 Nov 2022 13:55:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E8DC9395BC33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nishan.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nishan.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=nishan.io; h=message-id :reply-to:from:to:subject:date:mime-version:content-type :content-transfer-encoding; s=dkim; bh=G4ZMxpJGo7JzRBwYTtapJ6vq1 i3Jas1/w2sffUvbG0M=; b=S6V+VB3O/0xNSezOWA+xEV9SghljncfFZ759lgIMs Mnu4S6ZSED6Vb94pFYZYcjJqkNG6ns+OMQCxkCJOlHvCAb+4MMp32SQVKx8Af4Lh D7g/xv+rpEoKn5HsLpiLETODPPbcxl49FBLbWnshDv04ELNgqvLP9RxWax39AC8O +k= Received: (qmail 10507 invoked by uid 1900); 20 Nov 2022 13:55:32 -0000 Message-ID: <20221120135532.10506.qmail@s411.sureserver.com> Reply-To: "=?utf-8?Q?Saifi=20Khan?=" From: "=?utf-8?Q?Saifi=20Khan?=" To: libc-help@sourceware.org Subject: =?utf-8?B?ZXJyb3I6IOKAmF9fbGliY19zaW5nbGVfdGhyZWFkZWRfaW50ZXJuYWzigJkgdW5kZWNsYXJlZA==?= Date: Sun, 20 Nov 2022 13:55:32 +0000 MIME-Version: 1.0 X-Mailer: WebMail 2.55.13.14 X-Suremail-Sender: 103_199_139_48 X-Originating-Email: saifi.khan@nishan.io Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,KAM_ASCII_DIVIDERS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi: Trying to perform a 'out-of-source-tree' build glibc 'main' on K: 6.0.0-4-amd64, L: (Debian GLIBC 2.36-5), C: gcc 12.2.0. The following error is encountered. gcc-12 ../sysdeps/unix/sysv/linux/sigsuspend.c -c -std=gnu11 -fgnu89-inline -O2 -pipe -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fno-stack-protector -fno-common -Wstrict-prototypes -Wold-style-definition -fmath-errno -fPIC -fexceptions -fasynchronous-unwind-tables -ftls-model=initial-exec -I../include -I/opt/work/linux/glibc/build/signal -I/opt/work/linux/glibc/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. -D_LIBC_REENTRANT -include /opt/work/linux/glibc/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DPIC -DSHARED -DTOP_NAMESPACE=glibc -o /opt/work/linux/glibc/build/signal/sigsuspend.os -MD -MP -MF /opt/work/linux/glibc/build/signal/sigsuspend.os.dt -MT /opt/work/linux/glibc/build/signal/sigsuspend.os In file included from ../sysdeps/unix/sysv/linux/x86_64/single-thread.h:2, from ../sysdeps/unix/sysdep.h:19, from ../sysdeps/unix/x86_64/sysdep.h:18, from ../sysdeps/unix/sysv/linux/x86_64/sysdep.h:23, from ../sysdeps/unix/sysv/linux/sysdep-cancel.h:23, from ../sysdeps/unix/sysv/linux/sigsuspend.c:19: ../sysdeps/unix/sysv/linux/sigsuspend.c: In function ‘__sigsuspend’: ../sysdeps/unix/sysv/linux/single-thread.h:38:27: error: ‘__libc_single_threaded_internal’ undeclared (first use in this function); did you mean ‘__libc_single_threaded’? 38 | # define SINGLE_THREAD_P (__libc_single_threaded_internal != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sysdeps/unix/sysdep.h:115:37: note: in expansion of macro ‘SINGLE_THREAD_P’ 115 | # define NO_SYSCALL_CANCEL_CHECKING SINGLE_THREAD_P | ^~~~~~~~~~~~~~~ ../sysdeps/unix/sysdep.h:121:9: note: in expansion of macro ‘NO_SYSCALL_CANCEL_CHECKING’ 121 | if (NO_SYSCALL_CANCEL_CHECKING) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../sysdeps/unix/sysv/linux/sigsuspend.c:26:10: note: in expansion of macro ‘SYSCALL_CANCEL’ 26 | return SYSCALL_CANCEL (rt_sigsuspend, set, __NSIG_BYTES); | ^~~~~~~~~~~~~~ ../sysdeps/unix/sysv/linux/single-thread.h:38:27: note: each undeclared identifier is reported only once for each function it appears in 38 | # define SINGLE_THREAD_P (__libc_single_threaded_internal != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sysdeps/unix/sysdep.h:115:37: note: in expansion of macro ‘SINGLE_THREAD_P’ 115 | # define NO_SYSCALL_CANCEL_CHECKING SINGLE_THREAD_P | ^~~~~~~~~~~~~~~ ../sysdeps/unix/sysdep.h:121:9: note: in expansion of macro ‘NO_SYSCALL_CANCEL_CHECKING’ 121 | if (NO_SYSCALL_CANCEL_CHECKING) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../sysdeps/unix/sysv/linux/sigsuspend.c:26:10: note: in expansion of macro ‘SYSCALL_CANCEL’ 26 | return SYSCALL_CANCEL (rt_sigsuspend, set, __NSIG_BYTES); | ^~~~~~~~~~~~~~ make[2]: *** [/opt/work/linux/glibc/build/sysd-rules:229: /opt/work/linux/glibc/build/signal/sigsuspend.os] Error 1 make[2]: Leaving directory '/opt/work/linux/glibc/src/signal' make[1]: *** [Makefile:484: signal/subdir_lib] Error 2 make[1]: Leaving directory '/opt/work/linux/glibc/src' make: *** [Makefile:9: all] Error 2 Has anybody encountered this before ? Any pointers ? warm regards Saifi.