Thread (14 messages) 14 messages, 5 authors, 2016-01-23

Re: [PATCH v3] kallsyms: add support for relative offsets in kallsyms address table

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2016-01-22 23:44:06
Also in: linux-arch, linux-s390, lkml

On Fri, 22 Jan 2016 15:34:28 -0800 Andrew Morton [off-list ref] wrote:
quoted
Support for the above is enabled by default for all architectures except
IA-64, whose symbols are too far apart to capture in this manner.
scripts/kallsyms.c: In function 'record_relative_base':
scripts/kallsyms.c:744: error: 'ULLONG_MAX' undeclared (first use in this function)
scripts/kallsyms.c:744: error: (Each undeclared identifier is reported only once
scripts/kallsyms.c:744: error: for each function it appears in.)

That's with (ancient) glibc-headers-2.5-3.  It appears that limits.h's
ULLONG_MAX requires "#ifdef __USE_ISOC99".  I'm not sure what's the
correct way of turning this on.
Actually, how about we replace it with -1ULL and get on with life.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help