public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: dwz@sourceware.org
Subject: [Bug default/24765] New: [dwz] build warnings with make CC="gcc -m32"
Date: Tue, 01 Jan 2019 00:00:00 -0000	[thread overview]
Message-ID: <bug-24765-11298@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2019-07-04  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01  0:00 vries at gcc dot gnu.org [this message]
2019-01-01  0:00 ` [Bug default/24765] " vries at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-24765-11298@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=dwz@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).