Re: FYI...build "ok", thought some warnings, annoyances in 2.32...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux