This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Why are there multiple ucontext.h headers for the same architeture?
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Lukasz Majewski <lukma at denx dot de>
- Cc: Neven Sajko <nsajko at gmail dot com>, libc-help at sourceware dot org
- Date: Mon, 20 Jan 2020 23:04:43 -0500
- Subject: Re: Why are there multiple ucontext.h headers for the same architeture?
- References: <CAL+bK4MjSmtjMrqOxpWnvn91=DuA8wb7RduRq2RMKjab7f-SyQ@mail.gmail.com> <CAL+bK4Ooe7tBa-AdQvWVjb9zHC2NjO=7_U2Kgg5-6-kfV4aXDQ@mail.gmail.com> <CAE2sS1iDdX1wWXVNs5rF=EJDDfC0DZZyHz4AWQMiL_K35nGvoQ@mail.gmail.com> <20200120163415.57143d87@jawa>
On Mon, Jan 20, 2020 at 10:34 AM Lukasz Majewski <lukma@denx.de> wrote:
> Sorry to jump in ... but this puzzles me from some time.
>
> Is there any Makefile facility (other than standard --debug[=FLAGS]
> switch) to facilitate debugging?
Only the standard Makefile debugging facilities are available.
I am open to adding more debugging output like the whole sysdep list
in order if that helps?
> Or maybe there is any other way to inspect this?
The build log contains the sysdep list.
e.g.
LC_ALL=C gawk -f scripts/sysd-rules.awk > /home/carlos/build/glibc/sysd-rulesT \
-v all_object_suffixes='.o .os .oS' \
-v inhibit_sysdep_asm='' \
-v sysd_rules_patterns='%:% rtld-%:rtld-% rtld-%:% m_%:s_%' \
-v config_sysdirs='sysdeps/unix/sysv/linux/x86_64/64
sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86
sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64
sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl
sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv
sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64
sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu
sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86
sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96
sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754
sysdeps/generic'
Then you can see the list in order generated from sysd-rules.awk.
Does that answer your question?
Cheers,
Carlos.