From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B3C093858003; Tue, 16 Nov 2021 11:57:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3C093858003 From: "jason at zx2c4 dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/28595] glibc-2.34 build fails with linker error (TLS transition from R_386_TLS_GOTIE to R_386_TLS_LE_32 against `__libc_tsd_CTYPE_B' at 0xf4 in section `.text' failed) Date: Tue, 16 Nov 2021 11:57:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at zx2c4 dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2021 11:57:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28595 --- Comment #14 from Jason A. Donenfeld --- Created attachment 13789 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13789&action=3Ded= it preprocessed source thinkpad /var/tmp/portage/sys-libs/glibc-2.34-r2/work/glibc-2.34/resolv # x86_64-pc-linux-gnu-gcc -m32 -march=3Dnative -pipe -O2 -Wl,-O1 -Wl,--as-nee= ded inet_addr.c -c -std=3Dgnu11 -fgnu89-inline -march=3Dnative -pipe -O2 -Wall -Wwrite-strings -Wundef -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wstrict-prototypes -Wold-style-defini= tion -fmath-errno -Wa,-mtune=3Di686 -ftls-model=3Dinitial-exec -U_FORTIFY= _SOURCE=20 -I../include -I/var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gn= u-nptl/resolv -I/var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gn= u-nptl -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/i386/i686/nptl=20 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/x86/include -I../sysdeps/unix/sysv/linux/x86 -I../sysdeps/x86/nptl -I../sysdeps/i386/= nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux=20 -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu=20 -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/i386=20 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu/multiarch= =20 -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686/multiarch=20 -I../sysdeps/i386/i686 -I../sysdeps/i386/fpu -I../sysdeps/x86/fpu=20 -I../sysdeps/i386 -I../sysdeps/x86/include -I../sysdeps/x86=20 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/float128=20 -I../sysdeps/ieee754/ldbl-96/include -I../sysdeps/ieee754/ldbl-96=20 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee= 754=20 -I../sysdeps/generic -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/libc-modules.h -DMODULE_NAME=3Dlibc -include ../include/libc-symbols.h -DPIC=20=20=20=20 -DTOP_NAMESPACE=3Dglibc -o /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/resolv/inet_addr.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/resolv/inet_addr.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.34-r2/work/build-x86-x86_64-pc-linux-gnu-= nptl/resolv/inet_addr.o -E My -march=3Dnative should expand to: -march=3Dtigerlake -mmmx -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4.1 -mss= e4.2 -mavx -mavx2 -mno-sse4a -mno-fma4 -mno-xop -mfma -mavx512f -mbmi -mbmi2 -ma= es -mpclmul -mavx512vl -mavx512bw -mavx512dq -mavx512cd -mno-avx512er -mno-avx512pf -mavx512vbmi -mavx512ifma -mno-avx5124vnniw -mno-avx5124fmaps -mavx512vpopcntdq -mavx512vbmi2 -mgfni -mvpclmulqdq -mavx512vnni -mavx512bi= talg -mno-avx512bf16 -mavx512vp2intersect -mno-3dnow -madx -mabm -mno-cldemote -mclflushopt -mclwb -mno-clzero -mcx16 -mno-enqcmd -mf16c -mfsgsbase -mfxsr -mno-hle -msahf -mno-lwp -mlzcnt -mmovbe -mmovdir64b -mmovdiri -mno-mwaitx -mno-pconfig -mpku -mno-prefetchwt1 -mprfchw -mno-ptwrite -mrdpid -mrdrnd -mrdseed -mno-rtm -mno-serialize -mno-sgx -msha -mshstk -mno-tbm -mno-tsxld= trk -mvaes -mno-waitpkg -mno-wbnoinvd -mxsave -mxsavec -mxsaveopt -mxsaves -mno-amx-tile -mno-amx-int8 -mno-amx-bf16 -mno-uintr -mno-hreset -mno-kl -mno-widekl -mno-avxvnni --param "l1-cache-size=3D48" --param "l1-cache-line-size=3D64" --param "l2-cache-size=3D24576" -mtune=3Dtigerlake --=20 You are receiving this mail because: You are on the CC list for the bug.=