Displaying 4 results from an estimated 4 matches for "symbols_lookup".
2009 Jul 13
0
[PATCH, v2] x86-64: reduce symbol table size
...-70,7 +76,7 @@ static unsigned int symbols_expand_symbo
* symbols array */
static unsigned int get_symbol_offset(unsigned long pos)
{
- u8 *name;
+ const u8 *name;
int i;
/* use the closest marker we have. We have markers every 256 positions,
@@ -107,13 +113,13 @@ const char *symbols_lookup(unsigned long
while (high-low > 1) {
mid = (low + high) / 2;
- if (symbols_addresses[mid] <= addr) low = mid;
+ if (symbols_address(mid) <= addr) low = mid;
else high = mid;
}
/* search for the first aliased symbol. Aliased symbols are...
2015 Oct 24
0
Bug#802870: xen: FTBFS: error: array subscript is above array bounds
...ion: 4.4.1-9+deb8u1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
symbols.c: In function ?symbols_lookup?:
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:128:47: note: in expansion of macro ?symbols_address?
while (low &am...
2007 Jan 10
2
[PATCH] the address of ''symbols_addresses'' will always evaluate as ''true''
...-3.0.4.1-3/work/xen-3.0.4-testing.hg/xen/include/asm-x86/mach-generic -I/var/pisi/xen-3.0.4.1-3/work/xen-3.0.4-testing.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -g -D__XEN__ -c
symbols.c -o symbols.o
cc1: warnings being treated as errors
symbols.c: In function ''symbols_lookup'':
symbols.c:97: warning: the address of ''symbols_addresses'' will always evaluate
as ''true''
make[3]: *** [symbols.o] Error 1
make[3]: Leaving directory
`/var/pisi/xen-3.0.4.1-3/work/xen-3.0.4-testing.hg/xen/common''
make[2]: ***
[/var/pisi/xen-...
2015 Jul 21
0
Bug#793132: xen: FTBFS with glibc 2.21 and gcc-5
...undant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /tmp/buildd/xen-4.4.1/debian/build/build-hypervisor_amd64_amd64/xen/include/xen/config.h -nostdinc -DHAS_ACPI -DHAS_GDBSX -DHAS_PASSTHROUGH -DHAS_PCI -DHAS_IOPORTS -MMD -MF .symbols.o.d -c symbols.c -o symbols.o
symbols.c: In function 'symbols_lookup':
symbols.c:23:61: error: array subscript is above array bounds [-Werror=array-bounds]
#define symbols_address(n) (SYMBOLS_ORIGIN + symbols_offsets[n])
^
symbols.c:128:47: note: in expansion of macro 'symbols_address'
wh...