glibc/sysdeps/unix/sysv/linux/x86_64
H.J. Lu f5d1f629c6 Define GEN_AS_CONST_HEADERS when generating header files [BZ #22792]
Glibc build generates header files to define constants from special .sym
files.  If a .sym file includes the same header file which it generates,
it leads to circular dependency which may lead to build hang on a
many-core machine.  Define GEN_AS_CONST_HEADERS when generating header
files to avoid circular dependency.

<tcb-offsets.h> is needed for i686 and it isn't needed for x86-64 at
least since glibc 2.23.

Tested on i686 and x86-64.

	[BZ #22792]
	* Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
	to $(CC).
	* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
	<tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
	<tcb-offsets.h>.
2018-02-23 11:29:39 -08:00
..
64 Add narrowing add functions. 2018-02-10 02:08:43 +00:00
x32 Add narrowing add functions. 2018-02-10 02:08:43 +00:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
__start_context.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
cancellation.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clone.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
compat-timer.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
configure
configure.ac
dl-cache.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-procinfo.c
dl-procinfo.h x86: Set dl_platform and dl_hwcap from CPU features [BZ #21391] 2017-05-03 13:44:35 -07:00
get_clockfreq.c
getcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Implies
init-first.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
kernel_stat.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ldd-rewrite.sed
libc-cancellation.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
libc-lowlevellock.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
libmvec.abilist
librt-cancellation.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lll_timedlock_wait.c
lll_timedwait_tid.c
lowlevellock.h Define GEN_AS_CONST_HEADERS when generating header files [BZ #22792] 2018-02-23 11:29:39 -08:00
lowlevellock.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
makecontext.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile
profil-counter.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_setaffinity.c
readelflib.c
register-dump.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_setaffinity.c
setcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaltstack-offsets.sym
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syscalls.list Remove p{read,write}{v} and fallocate from x86 auto-generation list 2017-08-22 17:27:18 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysdep.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ucontext_i.sym
umount.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
vfork.S Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00