public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Build failure with --disable-tunables on x86-64
@ 2020-12-24 22:53 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2020-12-24 22:53 UTC (permalink / raw)
  To: Florian Weimer, GNU C Library

I got

In file included from ../sysdeps/x86/include/cpu-features.h:33,
                 from ../sysdeps/x86_64/dl-hwcaps-subdirs.c:20:
../sysdeps/x86_64/dl-hwcaps-subdirs.c: In function ‘_dl_hwcaps_subdirs_active’:
../sysdeps/x86/include/cpu-features.h:159:41: error: implicit
declaration of function ‘GLRO’ [-Werror=implicit-function-declaration]
  159 | #  define __x86_get_cpu_features(max) (&GLRO(dl_x86_cpu_features))
      |                                         ^~~~
../sysdeps/x86/sys/platform/x86.h:79:5: note: in definition of macro
‘CPU_FEATURE_CHECK_P’
   79 |   ((ptr->features[index_cpu_##name].check.reg_##name \
      |     ^~~
../sysdeps/x86/include/cpu-features.h:68:3: note: in expansion of
macro ‘CPU_FEATURE_USABLE_P’
   68 |   CPU_FEATURE_USABLE_P (__x86_get_cpu_features (0), name)
      |   ^~~~~~~~~~~~~~~~~~~~
../sysdeps/x86/include/cpu-features.h:68:25: note: in expansion of
macro ‘__x86_get_cpu_features’
   68 |   CPU_FEATURE_USABLE_P (__x86_get_cpu_features (0), name)
      |                         ^~~~~~~~~~~~~~~~~~~~~~
../sysdeps/x86_64/dl-hwcaps-subdirs.c:33:9: note: in expansion of
macro ‘CPU_FEATURE_USABLE’
   33 |   if (!(CPU_FEATURE_USABLE (CMPXCHG16B)
      |         ^~~~~~~~~~~~~~~~~~
../sysdeps/x86/include/cpu-features.h:159:46: error:
‘dl_x86_cpu_features’ undeclared (first use in this function); did you
mean ‘_dl_x86_init_cpu_features’?
  159 | #  define __x86_get_cpu_features(max) (&GLRO(dl_x86_cpu_features))
      |                                              ^~~~~~~~~~~~~~~~~~~


-- 
H.J.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-24 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 22:53 Build failure with --disable-tunables on x86-64 H.J. Lu

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).