From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 877513858D39 for ; Mon, 10 Jun 2024 13:36:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 877513858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 877513858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718026605; cv=none; b=RMxx6yup6rsM7FFKdqtL4FKB65TZdeG0ppgAOdzy/jqkCNcMPGHB25kr4EeJKqcUvATINGooS1VkghAFyy758MTKuQxkYwVaMbrNW2UleBMvvt8cxLduU0qscdbfrC+cOvWCZnMNOTZgf5OlXO7DE8W6MQ+2D0/aZ8WIN4pJw0g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718026605; c=relaxed/simple; bh=IB6A6PZBhcMpooBzVrALwk0tHkmKCUC14Aw1ZhrWois=; h=DKIM-Signature:Message-ID:Date:Subject:To:From:MIME-Version; b=dNS0jRvSDmwcMp5RlPFV3SCvv83GKMuGXQTTlr6gmuNLl3qzGnK/D3VEqQXJhKJDU80syEC/+xehud9tzy8ZLkdmtjAsnIYC/AmogMJF8R4ZQ6jeuc78ViYHXvBpcQ2/lrdbPP5Axpq13y77dwTmV5DYlnRD+05KMF2VEzZ9Ags= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45ACwoI0020065; Mon, 10 Jun 2024 13:36:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:subject:to:cc:references:from:in-reply-to :content-type:content-transfer-encoding:mime-version; s=pp1; bh= JwE3DPsn7oZDcHVRJ4LXOCR9jx/SSVCw9SKVrEF0mzk=; b=AEUxbg7m+S10YzlJ 9tuWc25D6HIrAzFl0dMnU7VYhjwr1U0qtWEhHzHOWHU9oW3JKkQDS2kNiGdBGh49 ZZVPZBdZwkNPcCgUgjrufEQGuczVyJ3Emo5cTjlHRSO2nimH8YAbtQ1egu5Pg0cC tDbzXB37N5ThhmwKw5LK9uyr8wn7h/2uKjh7eYSHqpxuUXSCGe1Gj70rzYh9L0Fw YTkRDqbt2N/6kujkxgM0+l5OwSIJ0QhUQ9RorZxUUCl48BS3IsKVjtg9+TACcEBB XGd9ns5iurz2LyrOteuVvGnHEwpSJv4i5ccfAhK8BwNX4lDp4h5JwNKbWAeaxhuO ipQung== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yp1y684kr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 13:36:39 +0000 (GMT) Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45ADXxGr017504; Mon, 10 Jun 2024 13:36:39 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yp1y684kp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 13:36:39 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45ACSH2G008700; Mon, 10 Jun 2024 13:36:38 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yn4b2y9kx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jun 2024 13:36:38 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45ADaY4l49545490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Jun 2024 13:36:36 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A036720043; Mon, 10 Jun 2024 13:36:34 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4C8CF20040; Mon, 10 Jun 2024 13:36:34 +0000 (GMT) Received: from [9.171.57.143] (unknown [9.171.57.143]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 10 Jun 2024 13:36:34 +0000 (GMT) Message-ID: Date: Mon, 10 Jun 2024 15:36:34 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 0/9] Remove legacy platform bits and cleanups To: Florian Weimer Cc: libc-alpha@sourceware.org, devel@otheo.eu, adhemerval.zanella@linaro.org, bergner@linux.ibm.com References: <20240607114543.659306-1-stli@linux.ibm.com> <87msnv4rou.fsf@oldenburg.str.redhat.com> Content-Language: en-US From: Stefan Liebler In-Reply-To: <87msnv4rou.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: lqcJS79VmHuAff-YAy3mz44qtJK79fJb X-Proofpoint-ORIG-GUID: cfXPexqUUFksFr6POSfc5-V7-ufKTeTp Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-10_02,2024-06-10_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 clxscore=1015 phishscore=0 bulkscore=0 malwarescore=0 adultscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406100102 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_ASCII_DIVIDERS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: On 08.06.24 13:09, Florian Weimer wrote: > * Stefan Liebler: >=20 >> This patch series is the result of: >> "Question regarding platform-bits in ld.so.cache" >> https://sourceware.org/pipermail/libc-alpha/2024-May/156793.html >=20 > This series fails to build on MIPS with: >=20 > mips64-glibc-linux-gnu-gcc -mabi=3D32 ldconfig.c -c -std=3Dgnu11 -fgnu89-= inline -g -O2 -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants = -frounding-math -fno-stack-protector -fno-common -Wp,-U_FORTIFY_SOURCE -Wst= rict-prototypes -Wold-style-definition -fmath-errno -D_TIME_BITS=3D64 -D_FI= LE_OFFSET_BITS=3D64 -fPIE -Wa,-execstack -D'SYSCONFDIR=3D"/etc"' -D'LI= BDIR=3D"/usr/lib"' -D'SLIBDIR=3D"/lib"' -I../include -I/home/bmg/buil= d/glibcs/mips-linux-gnu/glibc/elf -I/home/bmg/build/glibcs/mips-linux-gnu/= glibc -I../sysdeps/unix/sysv/linux/mips/mips32/fpu -I../sysdeps/unix/sysv= /linux/mips/mips32 -I../sysdeps/unix/sysv/linux/mips -I../sysdeps/mips/np= tl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I..= /sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/in= et -I../sysdeps/unix/sysv -I../sysdeps/unix/mips/mips32 -I../sysdeps/uni= x/mips -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/mips/mips32/fpu= -I../sysdeps/mips/mips32 -I../sysdeps/mips/ieee754 -I../sysdeps/mips/in= clude -I../sysdeps/mips -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/= dbl-64 -I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee7= 54 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include = /home/bmg/build/glibcs/mips-linux-gnu/glibc/libc-modules.h -DMODULE_NAME=3D= ldconfig -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=3Dgl= ibc -o /home/bmg/build/glibcs/mips-linux-gnu/glibc/elf/ldconfig.o -MD -MP -= MF /home/bmg/build/glibcs/mips-linux-gnu/glibc/elf/ldconfig.o.dt -MT /home/= bmg/build/glibcs/mips-linux-gnu/glibc/elf/ldconfig.o > In file included from ../sysdeps/generic/ldsodefs.h:643, > from ../sysdeps/mips/ldsodefs.h:82, > from ../sysdeps/gnu/ldsodefs.h:46, > from ../sysdeps/unix/sysv/linux/ldsodefs.h:25, > from ../sysdeps/unix/sysv/linux/mips/ldsodefs.h:22, > from ../sysdeps/mips/dl-procinfo.h:22, > from /home/bmg/build/glibcs/mips-linux-gnu/glibc/dl-tuna= ble-list.h:6, > from ../elf/dl-tunables.h:48, > from ./dl-hwcaps.h:25, > from ldconfig.c:44: > ../sysdeps/unix/sysv/linux/dl-vdso-setup.c:62:22: error: =E2=80=98_dl_vds= o_clock_getres=E2=80=99 defined but not used [-Werror=3Dunused-variable] > 62 | PROCINFO_CLASS int (*_dl_vdso_clock_getres) (clockid_t, > | ^~~~~~~~~~~~~~~~~~~~~ > ../sysdeps/unix/sysv/linux/dl-vdso-setup.c:53:22: error: =E2=80=98_dl_vds= o_gettimeofday=E2=80=99 defined but not used [-Werror=3Dunused-variable] > 53 | PROCINFO_CLASS int (*_dl_vdso_gettimeofday) (struct timeval *, vo= id *) RELRO; > | ^~~~~~~~~~~~~~~~~~~~~ > ../sysdeps/unix/sysv/linux/dl-vdso-setup.c:49:22: error: =E2=80=98_dl_vds= o_clock_gettime64=E2=80=99 defined but not used [-Werror=3Dunused-variable] > 49 | PROCINFO_CLASS int (*_dl_vdso_clock_gettime64) (clockid_t, > | ^~~~~~~~~~~~~~~~~~~~~~~~ > ../sysdeps/unix/sysv/linux/dl-vdso-setup.c:45:22: error: =E2=80=98_dl_vds= o_clock_gettime=E2=80=99 defined but not used [-Werror=3Dunused-variable] > 45 | PROCINFO_CLASS int (*_dl_vdso_clock_gettime) (clockid_t, > | ^~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > make[3]: *** [../o-iterator.mk:9: /home/bmg/build/glibcs/mips-linux-gnu/g= libc/elf/ldconfig.o] Error 1 > make[3]: Leaving directory '/home/bmg/src/glibc/elf' > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [Makefile:484: elf/others] Error 2 > make[1]: *** [Makefile:9: all] Error 2 >=20 > Florian >=20 Hi Florian, thanks for the info. I've take a look. Seems to be related to the removed sysdeps/mips/dl-procinfo.c with those undefs at the end: #undef PROCINFO_DECL #undef PROCINFO_CLASS Bye, Stefan