public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/24765] New: [dwz] build warnings with make CC="gcc -m32"
@ 2019-01-01  0:00 vries at gcc dot gnu.org
  2019-01-01  0:00 ` [Bug default/24765] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug default/24765] [dwz] build warnings with make CC="gcc -m32"
  2019-01-01  0:00 [Bug default/24765] New: [dwz] build warnings with make CC="gcc -m32" vries at gcc dot gnu.org
@ 2019-01-01  0:00 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01  0:00 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=24765

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/git/?p=dwz.git;a=commit;h=d55ec4ca064f33f9e46c9d776db6ef1b478f3bc4

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-04  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01  0:00 [Bug default/24765] New: [dwz] build warnings with make CC="gcc -m32" vries at gcc dot gnu.org
2019-01-01  0:00 ` [Bug default/24765] " vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).