Util-Linux package development
 help / color / mirror / Atom feed
* FYI...build "ok", thought some warnings, annoyances in 2.32...
@ 2018-05-02  4:27 L A Walsh
  2018-05-03  8:46 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: L A Walsh @ 2018-05-02  4:27 UTC (permalink / raw)
  To: util-linux

Everything seemed to build, though with warnings and some
annoyances.

It _seems_ most of the warnings are of low importance.

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'?

(The problem of static building isn't unique to utils-linux, FWIW...)

Thanks!
-linda

output during make of warnings follows:


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]
--
libmount/src/monitor.c: In function ‘userspace_monitor_close_fd’:
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]
--
  CCLD     losetup.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     mount.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     umount.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     blkid.static
libtool: warning: complete static linking is impossible in this 
configuration
--
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]
--
  CCLD     fdisk.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     sfdisk.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     unshare.static
libtool: warning: complete static linking is impossible in this 
configuration
--
  CCLD     nsenter.static
libtool: warning: complete static linking is impossible in this 
configuration




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

end of thread, other threads:[~2018-05-03  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox