util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: L A Walsh <lkml@tlinx.org>
Cc: util-linux@vger.kernel.org
Subject: Re: FYI...build "ok", thought some warnings, annoyances in 2.32...
Date: Thu, 3 May 2018 10:46:29 +0200	[thread overview]
Message-ID: <20180503084629.q75x7bjvgw67rrsp@ws.net.home> (raw)
In-Reply-To: <5AE93E2E.9040506@tlinx.org>

On Tue, May 01, 2018 at 09:27:26PM -0700, L A Walsh wrote:
> At the annoyance level: of the 8 utils I tried to build statically,
> 0 worked: "complete static linking is impossible in this configuration".
> I wonder if this is a 'SUSE-ism'?

This is usually glibc issue where for some stuff (like work with
users) is required modules, etc.

> libblkid/src/superblocks/zfs.c: In function ‘probe_zfs’:
> libblkid/src/superblocks/zfs.c:254:14: warning: ‘offset’ may be used
> uninitialized in this function [-Wmaybe-uninitialized]

Fixed.

> libmount/src/monitor.c:202:62: warning: unused parameter ‘mn’
> [-Wunused-parameter]
> --
> libmount/src/monitor.c: In function ‘kernel_monitor_close_fd’:
> libmount/src/monitor.c:433:59: warning: unused parameter ‘mn’
> [-Wunused-parameter]
> --
> libfdisk/src/sun.c: In function ‘fdisk_new_sun_label’:
> libfdisk/src/sun.c:1152:63: warning: unused parameter ‘cxt’
> [-Wunused-parameter]
> --
> libfdisk/src/sgi.c: In function ‘fdisk_new_sgi_label’:
> libfdisk/src/sgi.c:1181:63: warning: unused parameter ‘cxt’
> [-Wunused-parameter]
> --
> libfdisk/src/dos.c: In function ‘fdisk_new_dos_label’:
> libfdisk/src/dos.c:2467:63: warning: unused parameter ‘cxt’
> [-Wunused-parameter]
> --
> libfdisk/src/bsd.c: In function ‘fdisk_new_bsd_label’:
> libfdisk/src/bsd.c:1031:63: warning: unused parameter ‘cxt’
> [-Wunused-parameter]
> --
> libfdisk/src/gpt.c: In function ‘fdisk_new_gpt_label’:
> libfdisk/src/gpt.c:3143:63: warning: unused parameter ‘cxt’
> [-Wunused-parameter]

 --disable-assert right? :-)

Fixed.

> disk-utils/fdisk.c: In function ‘ask_number’:
> disk-utils/fdisk.c:294:11: warning: ‘num’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> --
> disk-utils/fdisk.c: In function ‘ask_number’:
> disk-utils/fdisk.c:294:11: warning: ‘num’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]

Fixed.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2018-05-03  8:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02  4:27 FYI...build "ok", thought some warnings, annoyances in 2.32 L A Walsh
2018-05-03  8:46 ` Karel Zak [this message]

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=20180503084629.q75x7bjvgw67rrsp@ws.net.home \
    --to=kzak@redhat.com \
    --cc=lkml@tlinx.org \
    --cc=util-linux@vger.kernel.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 NNTP newsgroup(s).