public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3
@ 2024-02-28 17:06 hjl.tools at gmail dot com
2024-02-28 19:50 ` [Bug build/31429] " cvs-commit at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-28 17:06 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31429
Bug ID: 31429
Summary: Glibc failed to build with -march=x86-64-v3
Product: glibc
Version: 2.40
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
CC: carlos at redhat dot com
Target Milestone: ---
Target: x86-64
With
commit 0aac205a814a8511e98d02b91a8dc908f1c53cde
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Feb 26 06:37:03 2024 -0800
x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers
glibc failed to build with -march=x86-64-v3:
/usr/local/bin/ld:
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/elf/librtld.os: in
function `init_cpu_features':
/export/gnu/import/git/sources/glibc/elf/../sysdeps/x86/cpu-features.c:1149:(.text+0x1436f):
undefined reference to `_dl_runtime_resolve_fxsave'
/usr/local/bin/ld:
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/elf/librtld.os:
relocation R_X86_64_PC32 against undefined hidden symbol
`_dl_runtime_resolve_fxsave' can not be used when making a shared object
/usr/local/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1336:
/export/build/gnu/tools-build/glibc-test/build-x86_64-linux/elf/ld.so] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/31429] Glibc failed to build with -march=x86-64-v3
2024-02-28 17:06 [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3 hjl.tools at gmail dot com
@ 2024-02-28 19:50 ` cvs-commit at gcc dot gnu.org
2024-02-28 19:55 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-28 19:50 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31429
--- Comment #1 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=befe2d3c4dec8be2cdd01a47132e47bdb7020922
commit befe2d3c4dec8be2cdd01a47132e47bdb7020922
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Feb 28 09:51:14 2024 -0800
x86-64: Don't use SSE resolvers for ISA level 3 or above
When glibc is built with ISA level 3 or above enabled, SSE resolvers
aren't available and glibc fails to build:
ld: .../elf/librtld.os: in function `init_cpu_features':
.../elf/../sysdeps/x86/cpu-features.c:1200:(.text+0x1445f): undefined
reference to `_dl_runtime_resolve_fxsave'
ld: .../elf/librtld.os: relocation R_X86_64_PC32 against undefined hidden
symbol `_dl_runtime_resolve_fxsave' can not be used when making a shared object
/usr/local/bin/ld: final link failed: bad value
For ISA level 3 or above, don't use _dl_runtime_resolve_fxsave nor
_dl_tlsdesc_dynamic_fxsave.
This fixes BZ #31429.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/31429] Glibc failed to build with -march=x86-64-v3
2024-02-28 17:06 [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3 hjl.tools at gmail dot com
2024-02-28 19:50 ` [Bug build/31429] " cvs-commit at gcc dot gnu.org
@ 2024-02-28 19:55 ` hjl.tools at gmail dot com
2024-04-13 15:56 ` cvs-commit at gcc dot gnu.org
2024-04-23 19:12 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2024-02-28 19:55 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31429
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |2.40
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/31429] Glibc failed to build with -march=x86-64-v3
2024-02-28 17:06 [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3 hjl.tools at gmail dot com
2024-02-28 19:50 ` [Bug build/31429] " cvs-commit at gcc dot gnu.org
2024-02-28 19:55 ` hjl.tools at gmail dot com
@ 2024-04-13 15:56 ` cvs-commit at gcc dot gnu.org
2024-04-23 19:12 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-13 15:56 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31429
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The release/2.39/master branch has been updated by Florian Weimer
<fw@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9883f4304cfb1558d0f1e6d9f48c4ab0a35355fe
commit 9883f4304cfb1558d0f1e6d9f48c4ab0a35355fe
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Feb 28 09:51:14 2024 -0800
x86-64: Don't use SSE resolvers for ISA level 3 or above
When glibc is built with ISA level 3 or above enabled, SSE resolvers
aren't available and glibc fails to build:
ld: .../elf/librtld.os: in function `init_cpu_features':
.../elf/../sysdeps/x86/cpu-features.c:1200:(.text+0x1445f): undefined
reference to `_dl_runtime_resolve_fxsave'
ld: .../elf/librtld.os: relocation R_X86_64_PC32 against undefined hidden
symbol `_dl_runtime_resolve_fxsave' can not be used when making a shared object
/usr/local/bin/ld: final link failed: bad value
For ISA level 3 or above, don't use _dl_runtime_resolve_fxsave nor
_dl_tlsdesc_dynamic_fxsave.
This fixes BZ #31429.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit befe2d3c4dec8be2cdd01a47132e47bdb7020922)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug build/31429] Glibc failed to build with -march=x86-64-v3
2024-02-28 17:06 [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3 hjl.tools at gmail dot com
` (2 preceding siblings ...)
2024-04-13 15:56 ` cvs-commit at gcc dot gnu.org
@ 2024-04-23 19:12 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2024-04-23 19:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=31429
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=31676
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-23 19:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 17:06 [Bug build/31429] New: Glibc failed to build with -march=x86-64-v3 hjl.tools at gmail dot com
2024-02-28 19:50 ` [Bug build/31429] " cvs-commit at gcc dot gnu.org
2024-02-28 19:55 ` hjl.tools at gmail dot com
2024-04-13 15:56 ` cvs-commit at gcc dot gnu.org
2024-04-23 19:12 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).