[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/24765] New: [dwz] build warnings with make CC="gcc -m32"
https://sourceware.org/bugzilla/show_bug.cgi?id=24765
Bug ID: 24765
Summary: [dwz] build warnings with make CC="gcc -m32"
Product: dwz
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: default
Assignee: nobody at sourceware dot org
Reporter: vries at gcc dot gnu.org
CC: dwz at sourceware dot org
Target Milestone: ---
$ make CC="gcc -m32"
make -f /data/dwz/dwz.git/Makefile srcdir=/data/dwz/dwz.git
make[1]: Map '/data/dwz/build' wordt binnengegaan
gcc -m32 -O2 -g -Wall -W -D_FILE_OFFSET_BITS=64 -DDWZ_VERSION='"0.12"' -c -o
dwz.o /data/dwz/dwz.git/dwz.c
/data/dwz/dwz.git/dwz.c: In function ‘calculate_section_distance’:
/data/dwz/dwz.git/dwz.c:10517:47: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 4 has type ‘GElf_Off {aka long long
unsigned int}’ [-Wformat=]
error (0, 0, "Section header table: [0x%lx, 0x%ld)", prev_offset,
~~^
%llx
/data/dwz/dwz.git/dwz.c:10517:54: warning: format ‘%ld’ expects argument of
type ‘long int’, but argument 5 has type ‘GElf_Off {aka long long unsigned
int}’ [-Wformat=]
error (0, 0, "Section header table: [0x%lx, 0x%ld)", prev_offset,
~~^
%lld
prev_offset + prev_size);
~~~~~~~~~~~~~~~~~~~~~~~
/data/dwz/dwz.git/dwz.c:10520:37: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 5 has type ‘GElf_Off {aka long long
unsigned int}’ [-Wformat=]
error (0, 0, "Section %d: [0x%lx, 0x%ld)", j, prev_offset,
~~^
%llx
/data/dwz/dwz.git/dwz.c:10520:44: warning: format ‘%ld’ expects argument of
type ‘long int’, but argument 6 has type ‘GElf_Off {aka long long unsigned
int}’ [-Wformat=]
error (0, 0, "Section %d: [0x%lx, 0x%ld)", j, prev_offset,
~~^
%lld
prev_offset + prev_size);
~~~~~~~~~~~~~~~~~~~~~~~
/data/dwz/dwz.git/dwz.c:10523:46: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 4 has type ‘GElf_Off {aka long long
unsigned int}’ [-Wformat=]
error (0, 0, "Section header table: 0x%lx", offset);
~~^
%llx
/data/dwz/dwz.git/dwz.c:10525:36: warning: format ‘%lx’ expects argument of
type ‘long unsigned int’, but argument 5 has type ‘GElf_Off {aka long long
unsigned int}’ [-Wformat=]
error (0, 0, "Section %d: 0x%lx", j, offset);
~~^
%llx
--
You are receiving this mail because:
You are on the CC list for the bug.