<86>Apr 14 01:30:36 userdel[32650]: delete user 'rooter' <86>Apr 14 01:30:36 userdel[32650]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:30:36 userdel[32650]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:30:36 groupadd[32779]: group added to /etc/group: name=rooter, GID=621 <86>Apr 14 01:30:36 groupadd[32779]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:30:36 groupadd[32779]: new group: name=rooter, GID=621 <86>Apr 14 01:30:36 useradd[32881]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Apr 14 01:30:36 userdel[33047]: delete user 'builder' <86>Apr 14 01:30:36 userdel[33047]: removed group 'builder' owned by 'builder' <86>Apr 14 01:30:36 userdel[33047]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:30:36 groupadd[33111]: group added to /etc/group: name=builder, GID=622 <86>Apr 14 01:30:36 groupadd[33111]: group added to /etc/gshadow: name=builder <86>Apr 14 01:30:36 groupadd[33111]: new group: name=builder, GID=622 <86>Apr 14 01:30:36 useradd[33150]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash Installing make-initrd-busybox-1.24.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98168 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf make-initrd-busybox-1.24.1 + echo 'Source #0 (make-initrd-busybox-1.24.1.tar):' Source #0 (make-initrd-busybox-1.24.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/make-initrd-busybox-1.24.1.tar + cd make-initrd-busybox-1.24.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -f -- busybox-config busybox/.config + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.98168 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd make-initrd-busybox-1.24.1 + cd busybox + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/make-initrd-busybox-1.24.1/busybox' GEN include/applets.h GEN include/usage.h GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN util-linux/volume_id/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN shell/Kbuild GEN shell/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN scripts/Kbuild GEN runit/Kbuild GEN runit/Config.in GEN procps/Kbuild GEN procps/Config.in GEN printutils/Kbuild GEN printutils/Config.in GEN networking/Kbuild GEN networking/Config.in GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN networking/libiproute/Kbuild GEN modutils/Kbuild GEN modutils/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN loginutils/Kbuild GEN loginutils/Config.in GEN libpwdgrp/Kbuild GEN libbb/Kbuild GEN libbb/Config.in GEN init/Kbuild GEN init/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN editors/Kbuild GEN editors/Config.in GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN console-tools/Kbuild GEN console-tools/Config.in GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN applets/Kbuild HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc scripts/basic/split-include.c: In function 'main': scripts/basic/split-include.c:134:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(old_line, buffer_size, fp_target); ^ HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function 'conf_askvalue': scripts/kconfig/conf.c:106:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, stdin); ^ scripts/kconfig/conf.c: In function 'conf_choice': scripts/kconfig/conf.c:354:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, 128, stdin); ^ HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c scripts/kconfig/mconf.c: In function 'show_textbox': scripts/kconfig/mconf.c:847:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, text, strlen(text)); ^ scripts/kconfig/mconf.c: In function 'exec_conf': scripts/kconfig/mconf.c:481:2: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(pipefd); ^ HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:152:0: scripts/kconfig/zconf.hash.c:155:43: warning: 'kconf_id_strings_contents' is static but used in inline function 'kconf_id_lookup' which is not static #define kconf_id_strings ((const char *) &kconf_id_strings_contents) ^ scripts/kconfig/zconf.hash.c:222:44: note: in expansion of macro 'kconf_id_strings' register const char *s = o + kconf_id_strings; ^ scripts/kconfig/zconf.hash.c:215:26: warning: 'kconf_id_hash' is static but used in inline function 'kconf_id_lookup' which is not static register int key = kconf_id_hash (str, len); ^ scripts/kconfig/zconf.hash.c:171:26: warning: 'wordlist' is static but declared in inline function 'kconf_id_lookup' which is not static static struct kconf_id wordlist[] = ^ HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s Config.in # # using defaults found in .config # SPLIT include/autoconf.h -> include/config/* HOSTCC applets/usage HOSTCC applets/applet_tables GEN include/bbconfigopts.h applets/applet_tables.c: In function 'main': applets/applet_tables.c:161:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line_old, sizeof(line_old), fp); ^ applets/usage.c: In function 'main': applets/usage.c:52:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1); ^ GEN include/applet_tables.h HOSTCC applets/usage_pod GEN include/usage_compressed.h CC applets/applets.o LD applets/built-in.o DOC busybox.pod DOC BusyBox.txt /bin/sh: pod2text: command not found make: [docs/BusyBox.txt] Error 127 (ignored) DOC busybox.1 /bin/sh: pod2man: command not found make: [docs/busybox.1] Error 127 (ignored) /bin/sh: pod2html: command not found make: [docs/busybox.net/BusyBox.html] Error 127 (ignored) DOC BusyBox.html LD archival/built-in.o CC archival/tar.o LD archival/libarchive/built-in.o CC archival/libarchive/data_align.o CC archival/libarchive/data_extract_all.o CC archival/libarchive/data_extract_to_command.o CC archival/libarchive/data_extract_to_stdout.o CC archival/libarchive/data_skip.o CC archival/libarchive/decompress_bunzip2.o LD console-tools/built-in.o CC console-tools/chvt.o CC archival/libarchive/filter_accept_all.o archival/libarchive/data_extract_all.c: In function 'data_extract_all': archival/libarchive/data_extract_all.c:189:4: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(file_header->name, uid, gid); ^ CC archival/libarchive/filter_accept_list.o CC archival/libarchive/filter_accept_reject_list.o CC archival/libarchive/find_list_entry.o AR archival/lib.a CC archival/libarchive/get_header_tar.o CC archival/libarchive/header_list.o CC archival/libarchive/header_skip.o CC archival/libarchive/header_verbose_list.o LD coreutils/built-in.o CC coreutils/basename.o LD coreutils/libcoreutils/built-in.o CC coreutils/libcoreutils/cp_mv_stat.o CC coreutils/cat.o CC archival/libarchive/init_handle.o LD debianutils/built-in.o CC debianutils/mktemp.o CC archival/libarchive/open_transformer.o CC console-tools/clear.o CC archival/libarchive/seek_by_jump.o CC coreutils/libcoreutils/getopt_mk_fifo_nod.o CC coreutils/chgrp.o CC coreutils/chmod.o CC coreutils/chown.o CC coreutils/chroot.o CC archival/libarchive/seek_by_read.o CC archival/libarchive/unsafe_prefix.o AR coreutils/libcoreutils/lib.a CC console-tools/deallocvt.o CC console-tools/fgconsole.o CC coreutils/comm.o CC coreutils/cp.o CC debianutils/which.o CC console-tools/openvt.o CC console-tools/reset.o AR archival/libarchive/lib.a CC console-tools/setconsole.o LD e2fsprogs/built-in.o CC console-tools/setlogcons.o AR e2fsprogs/lib.a CC coreutils/cut.o CC coreutils/date.o AR debianutils/lib.a CC coreutils/dd.o CC coreutils/df.o LD editors/built-in.o CC coreutils/du.o CC editors/cmp.o LD findutils/built-in.o CC findutils/find.o AR console-tools/lib.a CC findutils/grep.o CC findutils/xargs.o CC coreutils/echo.o CC coreutils/env.o CC coreutils/false.o CC coreutils/fold.o CC editors/sed.o CC coreutils/fsync.o CC coreutils/head.o CC coreutils/install.o CC coreutils/ln.o CC coreutils/ls.o editors/sed.c: In function 'sed_main': editors/sed.c:1568:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(nonstdoutfd, statbuf.st_uid, statbuf.st_gid); ^ CC editors/vi.o LD init/built-in.o AR init/lib.a LD libbb/built-in.o CC libbb/appletlib.o CC coreutils/mkdir.o CC coreutils/mkfifo.o AR findutils/lib.a editors/vi.c: In function 'file_write': editors/vi.c:2979:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, charcnt); ^ CC coreutils/mknod.o LD libpwdgrp/built-in.o CC libpwdgrp/uidgid_get.o CC coreutils/mv.o CC libbb/ask_confirmation.o CC coreutils/nice.o CC coreutils/nohup.o CC coreutils/od.o CC coreutils/printenv.o CC coreutils/printf.o CC libbb/auto_string.o AR libpwdgrp/lib.a CC coreutils/pwd.o CC coreutils/readlink.o CC libbb/bb_askpass.o CC libbb/bb_bswap_64.o CC coreutils/realpath.o CC coreutils/rm.o CC coreutils/rmdir.o LD loginutils/built-in.o CC loginutils/getty.o CC libbb/bb_do_delay.o CC libbb/bb_pwd.o CC libbb/bb_qsort.o CC coreutils/seq.o CC coreutils/sleep.o loginutils/getty.c: In function 'open_tty': loginutils/getty.c:203:3: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(0, 0, 0); /* 0:0 */ ^ CC coreutils/sort.o CC coreutils/split.o CC coreutils/stat.o CC coreutils/stty.o CC coreutils/sum.o CC loginutils/sulogin.o CC libbb/bb_strtonum.o CC coreutils/tac.o loginutils/sulogin.c: In function 'sulogin_main': loginutils/sulogin.c:34:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(xopen(argv[0], O_RDWR)); ^ loginutils/sulogin.c:36:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); ^ CC coreutils/tail.o AR loginutils/lib.a CC libbb/bbunit.o LD mailutils/built-in.o AR mailutils/lib.a CC libbb/change_identity.o CC coreutils/tee.o CC coreutils/touch.o CC coreutils/tr.o AR editors/lib.a CC libbb/chomp.o CC libbb/compare_string_array.o CC libbb/concat_path_file.o CC coreutils/true.o CC libbb/concat_subpath_file.o CC libbb/copy_file.o LD miscutils/built-in.o CC libbb/copyfd.o CC miscutils/mountpoint.o CC coreutils/truncate.o LD modutils/built-in.o CC libbb/correct_password.o AR modutils/lib.a CC libbb/crc32.o CC coreutils/tty.o LD networking/built-in.o CC networking/arp.o AR miscutils/lib.a CC coreutils/uname.o CC coreutils/uniq.o CC libbb/default_error_retval.o CC networking/arping.o CC coreutils/unlink.o In file included from networking/arp.c:34:0: networking/arp.c: In function 'arp_show': include/libbb.h:194:30: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result] # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ networking/arp.c:419:2: note: in expansion of macro 'fgets' fgets(line, sizeof(line), fp); ^ CC libbb/device_open.o CC libbb/dump.o CC coreutils/wc.o LD networking/libiproute/built-in.o CC networking/libiproute/ip_parse_common_args.o CC networking/brctl.o CC libbb/endofname.o CC networking/hostname.o CC libbb/executable.o CC libbb/fclose_nonstdin.o CC libbb/fflush_stdout_and_exit.o CC networking/libiproute/ipaddress.o AR coreutils/lib.a CC libbb/fgets_str.o CC networking/interface.o LD networking/udhcp/built-in.o CC networking/ip.o CC networking/udhcp/arpping.o In file included from networking/interface.c:34:0: networking/interface.c: In function 'if_readlist_proc': include/libbb.h:194:30: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result] # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ networking/interface.c:562:2: note: in expansion of macro 'fgets' fgets(buf, sizeof buf, fh); /* eat line */ ^ include/libbb.h:194:30: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result] # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ networking/interface.c:563:2: note: in expansion of macro 'fgets' fgets(buf, sizeof buf, fh); ^ CC libbb/find_mount_point.o CC libbb/find_pid_by_name.o CC libbb/find_root_device.o CC libbb/full_write.o CC networking/ipcalc.o CC networking/udhcp/common.o CC libbb/get_console.o CC libbb/get_last_path_component.o CC libbb/get_line_from_file.o CC libbb/get_shell_name.o CC networking/nameif.o CC networking/netstat.o CC libbb/get_volsize.o CC networking/libiproute/iplink.o CC networking/udhcp/d6_dhcpc.o CC libbb/getopt32.o LD printutils/built-in.o AR printutils/lib.a CC libbb/getpty.o CC networking/udhcp/d6_packet.o LD procps/built-in.o CC procps/fuser.o CC networking/udhcp/d6_socket.o In file included from networking/udhcp/d6_dhcpc.c:32:0: networking/udhcp/d6_dhcpc.c: In function 'new_env': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:135:2: note: in expansion of macro 'client6_data' client6_data.env_ptr = xrealloc_vector(client6_data.env_ptr, 3, client6_data.env_idx); ^ In file included from networking/udhcp/common.h:11:0, from networking/udhcp/d6_dhcpc.c:29: networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ include/libbb.h:743:26: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ networking/udhcp/d6_dhcpc.c:135:41: note: in expansion of macro 'client6_data' client6_data.env_ptr = xrealloc_vector(client6_data.env_ptr, 3, client6_data.env_idx); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ include/libbb.h:743:44: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ networking/udhcp/d6_dhcpc.c:135:41: note: in expansion of macro 'client6_data' client6_data.env_ptr = xrealloc_vector(client6_data.env_ptr, 3, client6_data.env_idx); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ include/libbb.h:743:74: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ networking/udhcp/d6_dhcpc.c:135:66: note: in expansion of macro 'client6_data' client6_data.env_ptr = xrealloc_vector(client6_data.env_ptr, 3, client6_data.env_idx); ^ In file included from networking/udhcp/d6_dhcpc.c:32:0: networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:136:10: note: in expansion of macro 'client6_data' return &client6_data.env_ptr[client6_data.env_idx++]; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:136:31: note: in expansion of macro 'client6_data' return &client6_data.env_ptr[client6_data.env_idx++]; ^ networking/udhcp/d6_dhcpc.c: In function 'fill_envp': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:230:2: note: in expansion of macro 'client6_data' client6_data.env_ptr = NULL; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:231:2: note: in expansion of macro 'client6_data' client6_data.env_idx = 0; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:238:16: note: in expansion of macro 'client6_data' envp = curr = client6_data.env_ptr; ^ networking/udhcp/d6_dhcpc.c: In function 'send_d6_discover': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:412:7: note: in expansion of macro 'client6_data' free(client6_data.ia_na); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:414:2: note: in expansion of macro 'client6_data' client6_data.ia_na = xzalloc(len); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:415:2: note: in expansion of macro 'client6_data' client6_data.ia_na->code = D6_OPT_IA_NA; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:416:2: note: in expansion of macro 'client6_data' client6_data.ia_na->len = len - 4; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:417:14: note: in expansion of macro 'client6_data' *(uint32_t*)client6_data.ia_na->data = rand(); /* IAID */ ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:417:14: note: in expansion of macro 'client6_data' *(uint32_t*)client6_data.ia_na->data = rand(); /* IAID */ ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:419:38: note: in expansion of macro 'client6_data' struct d6_option *iaaddr = (void*)(client6_data.ia_na->data + 4+4+4); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:424:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, len); ^ networking/udhcp/d6_dhcpc.c: In function 'send_d6_select': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:475:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:475:59: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:477:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:477:55: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_dhcpc.c: In function 'send_d6_renew': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:544:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:544:59: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:546:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:546:55: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_dhcpc.c: In function 'send_d6_release': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:572:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:572:59: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.server_id, client6_data.server_id->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:574:35: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:574:55: note: in expansion of macro 'client6_data' opt_ptr = d6_store_blob(opt_ptr, client6_data.ia_na, client6_data.ia_na->len + 2+2); ^ networking/udhcp/d6_dhcpc.c: In function 'udhcpc6_main': networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1324:10: note: in expansion of macro 'client6_data' free(client6_data.server_id); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1325:5: note: in expansion of macro 'client6_data' client6_data.server_id = option; ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1420:10: note: in expansion of macro 'client6_data' free(client6_data.ia_na); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1421:5: note: in expansion of macro 'client6_data' client6_data.ia_na = d6_copy_option(packet.d6_options, packet_end, D6_OPT_IA_NA); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1422:10: note: in expansion of macro 'client6_data' if (!client6_data.ia_na) { ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1426:9: note: in expansion of macro 'client6_data' if (client6_data.ia_na->len < (4 + 4 + 4) + (2 + 2 + 16 + 4 + 4)) { ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1427:57: note: in expansion of macro 'client6_data' bb_error_msg("IA_NA option is too short:%d bytes", client6_data.ia_na->len); ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1430:29: note: in expansion of macro 'client6_data' iaaddr = d6_find_option(client6_data.ia_na->data + 4 + 4 + 4, ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1431:7: note: in expansion of macro 'client6_data' client6_data.ia_na->data + client6_data.ia_na->len, ^ networking/udhcp/d6_common.h:96:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) ^ networking/udhcp/d6_dhcpc.c:1431:34: note: in expansion of macro 'client6_data' client6_data.ia_na->data + client6_data.ia_na->len, ^ CC libbb/hash_md5_sha.o CC networking/libiproute/iproute.o CC networking/nslookup.o CC networking/udhcp/dhcpc.o CC networking/udhcp/domain_codec.o CC networking/udhcp/packet.o CC procps/kill.o CC procps/lsof.o CC networking/ping.o CC networking/udhcp/signalpipe.o CC networking/udhcp/socket.o CC procps/pidof.o CC libbb/herror_msg.o CC networking/libiproute/iprule.o CC networking/telnet.o CC libbb/human_readable.o CC libbb/in_ether.o CC networking/libiproute/iptunnel.o CC procps/ps.o AR networking/udhcp/lib.a CC networking/telnetd.o LD runit/built-in.o In file included from networking/libiproute/ip_common.h:5:0, from networking/libiproute/iptunnel.c:65: networking/libiproute/iptunnel.c: In function 'do_tunnels_list': include/libbb.h:194:30: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result] # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ networking/libiproute/iptunnel.c:480:2: note: in expansion of macro 'fgets' fgets(buf, sizeof(buf), fp); ^ include/libbb.h:194:30: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result] # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ networking/libiproute/iptunnel.c:481:2: note: in expansion of macro 'fgets' fgets(buf, sizeof(buf), fp); ^ AR runit/lib.a CC networking/libiproute/libnetlink.o LD selinux/built-in.o AR selinux/lib.a CC networking/libiproute/ll_addr.o CC libbb/inet_cksum.o CC libbb/inet_common.o LD shell/built-in.o AR shell/lib.a CC networking/traceroute.o CC networking/wget.o LD sysklogd/built-in.o CC sysklogd/syslogd_and_logger.o CC networking/libiproute/ll_map.o networking/wget.c: In function 'retrieve_file_data': networking/wget.c:850:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(G.output_fd, pos); ^ CC procps/top.o CC networking/libiproute/ll_proto.o CC networking/libiproute/ll_types.o CC libbb/info_msg.o procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:188:28: note: in expansion of macro 'G' char BUG_G_too_big[sizeof(G) <= COMMON_BUFSIZE ? 1 : -1]; ^ procps/top.c: In function 'mult_lvl_cmp': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:257:15: note: in expansion of macro 'sort_function' cmp_val = (*sort_function[i])(a, b); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:194:27: note: in expansion of macro 'G' #define inverted (G.inverted ) ^ procps/top.c:261:9: note: in expansion of macro 'inverted' return inverted ? -cmp_val : cmp_val; ^ In file included from procps/top.c:107:0: procps/top.c: In function 'read_cpu_jiffy': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:194:45: note: in definition of macro 'fgets' # define fgets(s, n, stream) fgets_unlocked(s, n, stream) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:273:13: note: in expansion of macro 'line_buf' if (!fgets(line_buf, LINE_BUF_SIZE, fp) || line_buf[0] != 'c' /* not "cpu" */) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:273:45: note: in expansion of macro 'line_buf' if (!fgets(line_buf, LINE_BUF_SIZE, fp) || line_buf[0] != 'c' /* not "cpu" */) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:275:15: note: in expansion of macro 'line_buf' ret = sscanf(line_buf, fmt, ^ procps/top.c: In function 'get_jiffy_counts': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:201:27: note: in expansion of macro 'G' #define prev_jif (G.prev_jif ) ^ procps/top.c:295:2: note: in expansion of macro 'prev_jif' prev_jif = cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:295:13: note: in expansion of macro 'cur_jif' prev_jif = cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:296:26: note: in expansion of macro 'cur_jif' if (read_cpu_jiffy(fp, &cur_jif) < 4) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:303:7: note: in expansion of macro 'smp_cpu_info' if (!smp_cpu_info) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:308:7: note: in expansion of macro 'num_cpus' if (!num_cpus) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:313:4: note: in expansion of macro 'cpu_jif' cpu_jif = xrealloc_vector(cpu_jif, 1, num_cpus); ^ In file included from procps/top.c:107:0: procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:26: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:313:30: note: in expansion of macro 'cpu_jif' cpu_jif = xrealloc_vector(cpu_jif, 1, num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:44: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:313:30: note: in expansion of macro 'cpu_jif' cpu_jif = xrealloc_vector(cpu_jif, 1, num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:74: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:313:42: note: in expansion of macro 'num_cpus' cpu_jif = xrealloc_vector(cpu_jif, 1, num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:314:28: note: in expansion of macro 'cpu_jif' if (read_cpu_jiffy(fp, &cpu_jif[num_cpus]) <= 4) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:314:36: note: in expansion of macro 'num_cpus' if (read_cpu_jiffy(fp, &cpu_jif[num_cpus]) <= 4) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:316:4: note: in expansion of macro 'num_cpus' num_cpus++; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:318:7: note: in expansion of macro 'num_cpus' if (num_cpus == 0) /* /proc/stat with only "cpu ..." line?! */ ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:319:4: note: in expansion of macro 'smp_cpu_info' smp_cpu_info = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:321:3: note: in expansion of macro 'cpu_prev_jif' cpu_prev_jif = xzalloc(sizeof(cpu_prev_jif[0]) * num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:321:33: note: in expansion of macro 'cpu_prev_jif' cpu_prev_jif = xzalloc(sizeof(cpu_prev_jif[0]) * num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:321:52: note: in expansion of macro 'num_cpus' cpu_prev_jif = xzalloc(sizeof(cpu_prev_jif[0]) * num_cpus); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:330:9: note: in expansion of macro 'cpu_prev_jif' tmp = cpu_prev_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:331:3: note: in expansion of macro 'cpu_prev_jif' cpu_prev_jif = cpu_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:331:18: note: in expansion of macro 'cpu_jif' cpu_prev_jif = cpu_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:332:3: note: in expansion of macro 'cpu_jif' cpu_jif = tmp; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:335:19: note: in expansion of macro 'num_cpus' for (i = 0; i < num_cpus; i++) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:336:24: note: in expansion of macro 'cpu_jif' read_cpu_jiffy(fp, &cpu_jif[i]); ^ procps/top.c: In function 'do_stats': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:205:27: note: in expansion of macro 'G' #define total_pcpu (G.total_pcpu ) ^ procps/top.c:350:2: note: in expansion of macro 'total_pcpu' total_pcpu = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:352:43: note: in expansion of macro 'ntop' new_hist = xmalloc(sizeof(new_hist[0]) * ntop); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:358:18: note: in expansion of macro 'ntop' for (n = 0; n < ntop; n++) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:359:9: note: in expansion of macro 'top' cur = top + n; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:199:27: note: in expansion of macro 'G' #define prev_hist_count (G.prev_hist_count ) ^ procps/top.c:374:7: note: in expansion of macro 'prev_hist_count' if (prev_hist_count) do { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:375:8: note: in expansion of macro 'prev_hist' if (prev_hist[i].pid == pid) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:376:30: note: in expansion of macro 'prev_hist' cur->pcpu = cur->ticks - prev_hist[i].ticks; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:205:27: note: in expansion of macro 'G' #define total_pcpu (G.total_pcpu ) ^ procps/top.c:377:5: note: in expansion of macro 'total_pcpu' total_pcpu += cur->pcpu; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:199:27: note: in expansion of macro 'G' #define prev_hist_count (G.prev_hist_count ) ^ procps/top.c:380:16: note: in expansion of macro 'prev_hist_count' i = (i+1) % prev_hist_count; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:389:7: note: in expansion of macro 'prev_hist' free(prev_hist); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:390:2: note: in expansion of macro 'prev_hist' prev_hist = new_hist; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:199:27: note: in expansion of macro 'G' #define prev_hist_count (G.prev_hist_count ) ^ procps/top.c:391:2: note: in expansion of macro 'prev_hist_count' prev_hist_count = ntop; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:391:20: note: in expansion of macro 'ntop' prev_hist_count = ntop; ^ procps/top.c: In function 'display_cpus': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:457:16: note: in expansion of macro 'smp_cpu_info' n_cpu_lines = smp_cpu_info ? num_cpus : 1; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:457:31: note: in expansion of macro 'num_cpus' n_cpu_lines = smp_cpu_info ? num_cpus : 1; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:462:12: note: in expansion of macro 'cpu_jif' p_jif = &cpu_jif[i]; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:463:17: note: in expansion of macro 'cpu_prev_jif' p_prev_jif = &cpu_prev_jif[i]; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:481:6: note: in expansion of macro 'smp_cpu_info' (smp_cpu_info ? utoa(i) : ""), ^ procps/top.c: In function 'display_process_list': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:640:14: note: in expansion of macro 'cur_jif' busy_jifs = cur_jif.busy - prev_jif.busy; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:201:27: note: in expansion of macro 'G' #define prev_jif (G.prev_jif ) ^ procps/top.c:640:29: note: in expansion of macro 'prev_jif' busy_jifs = cur_jif.busy - prev_jif.busy; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:205:27: note: in expansion of macro 'G' #define total_pcpu (G.total_pcpu ) ^ procps/top.c:643:6: note: in expansion of macro 'total_pcpu' if (total_pcpu < busy_jifs) total_pcpu = busy_jifs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:205:27: note: in expansion of macro 'G' #define total_pcpu (G.total_pcpu ) ^ procps/top.c:643:30: note: in expansion of macro 'total_pcpu' if (total_pcpu < busy_jifs) total_pcpu = busy_jifs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:661:28: note: in expansion of macro 'cur_jif' tmp_unsigned = (uint16_t)(cur_jif.total - prev_jif.total) * total_pcpu; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:201:27: note: in expansion of macro 'G' #define prev_jif (G.prev_jif ) ^ procps/top.c:661:44: note: in expansion of macro 'prev_jif' tmp_unsigned = (uint16_t)(cur_jif.total - prev_jif.total) * total_pcpu; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:205:27: note: in expansion of macro 'G' #define total_pcpu (G.total_pcpu ) ^ procps/top.c:661:62: note: in expansion of macro 'total_pcpu' tmp_unsigned = (uint16_t)(cur_jif.total - prev_jif.total) * total_pcpu; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:675:18: note: in expansion of macro 'ntop' if (lines_rem > ntop - G_scroll_ofs) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:675:25: note: in expansion of macro 'G_scroll_ofs' if (lines_rem > ntop - G_scroll_ofs) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:676:15: note: in expansion of macro 'ntop' lines_rem = ntop - G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:676:22: note: in expansion of macro 'G_scroll_ofs' lines_rem = ntop - G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:677:6: note: in expansion of macro 'top' s = top + G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:677:12: note: in expansion of macro 'G_scroll_ofs' s = top + G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:690:18: note: in expansion of macro 'line_buf' col = snprintf(line_buf, scr_width, ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:702:17: note: in expansion of macro 'line_buf' read_cmdline(line_buf + col, scr_width - col, s->pid, s->comm); ^ In file included from procps/top.c:107:0: procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:196:42: note: in definition of macro 'fputs' # define fputs(s, stream) fputs_unlocked(s, stream) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:703:9: note: in expansion of macro 'line_buf' fputs(line_buf, stdout); ^ procps/top.c: In function 'clearmems': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:720:7: note: in expansion of macro 'top' free(top); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:721:2: note: in expansion of macro 'top' top = NULL; ^ procps/top.c: In function 'reset_term': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:196:27: note: in expansion of macro 'G' #define initial_settings (G.initial_settings ) ^ procps/top.c:729:28: note: in expansion of macro 'initial_settings' tcsetattr_stdin_TCSANOW(&initial_settings); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:733:8: note: in expansion of macro 'prev_hist' free(prev_hist); ^ procps/top.c: In function 'topmem_sort': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:193:27: note: in expansion of macro 'G' #define sort_field (G.sort_field ) ^ procps/top.c:776:40: note: in expansion of macro 'sort_field' n = offsetof(topmem_status_t, vsz) + (sort_field * sizeof(mem_t)); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:194:27: note: in expansion of macro 'G' #define inverted (G.inverted ) ^ procps/top.c:786:9: note: in expansion of macro 'inverted' return inverted ? -n : n; ^ procps/top.c: In function 'display_topmem_header': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:796:11: note: in expansion of macro 'line_buf' snprintf(line_buf, LINE_BUF_SIZE, ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:802:70: note: in expansion of macro 'line_buf' printf(OPT_BATCH_MODE ? "%.*s\n" : "\033[H\033[J%.*s\n", scr_width, line_buf); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:804:11: note: in expansion of macro 'line_buf' snprintf(line_buf, LINE_BUF_SIZE, ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:811:30: note: in expansion of macro 'line_buf' printf("%.*s\n", scr_width, line_buf); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:813:11: note: in expansion of macro 'line_buf' snprintf(line_buf, LINE_BUF_SIZE, ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:817:30: note: in expansion of macro 'line_buf' printf("%.*s\n", scr_width, line_buf); ^ procps/top.c: In function 'display_topmem_process_list': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:832:29: note: in expansion of macro 'topmem' const topmem_status_t *s = topmem + G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:832:38: note: in expansion of macro 'G_scroll_ofs' const topmem_status_t *s = topmem + G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:835:9: note: in expansion of macro 'line_buf' strcpy(line_buf, HDR_STR " COMMAND"); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:836:2: note: in expansion of macro 'line_buf' line_buf[11 + sort_field * 6] = "^_"[inverted]; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:193:27: note: in expansion of macro 'G' #define sort_field (G.sort_field ) ^ procps/top.c:836:16: note: in expansion of macro 'sort_field' line_buf[11 + sort_field * 6] = "^_"[inverted]; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:194:27: note: in expansion of macro 'G' #define inverted (G.inverted ) ^ procps/top.c:836:39: note: in expansion of macro 'inverted' line_buf[11 + sort_field * 6] = "^_"[inverted]; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:837:64: note: in expansion of macro 'line_buf' printf(OPT_BATCH_MODE ? "%.*s" : "\e[7m%.*s\e[0m", scr_width, line_buf); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:840:18: note: in expansion of macro 'ntop' if (lines_rem > ntop - G_scroll_ofs) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:840:25: note: in expansion of macro 'G_scroll_ofs' if (lines_rem > ntop - G_scroll_ofs) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:841:15: note: in expansion of macro 'ntop' lines_rem = ntop - G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:841:22: note: in expansion of macro 'G_scroll_ofs' lines_rem = ntop - G_scroll_ofs; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:844:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->pid , &line_buf[0*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:845:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->vsz , &line_buf[1*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:846:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->vszrw , &line_buf[2*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:847:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->rss , &line_buf[3*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:848:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->rss_sh , &line_buf[4*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:849:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->dirty , &line_buf[5*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:850:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->dirty_sh, &line_buf[6*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:851:35: note: in expansion of macro 'line_buf' ulltoa6_and_space(s->stack , &line_buf[7*6]); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:852:3: note: in expansion of macro 'line_buf' line_buf[8*6] = '\0'; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:854:18: note: in expansion of macro 'line_buf' read_cmdline(&line_buf[8*6], scr_width - MIN_WIDTH, s->pid, s->comm); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:206:27: note: in expansion of macro 'G' #define line_buf (G.line_buf ) ^ procps/top.c:856:33: note: in expansion of macro 'line_buf' printf("\n""%.*s", scr_width, line_buf); ^ procps/top.c: In function 'handle_input': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:904:30: note: in expansion of macro 'G' c = read_key(STDIN_FILENO, G.kbd_input, interval * 1000); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:196:27: note: in expansion of macro 'G' #define initial_settings (G.initial_settings ) ^ procps/top.c:912:12: note: in expansion of macro 'initial_settings' if (c == initial_settings.c_cc[VINTR]) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:196:27: note: in expansion of macro 'G' #define initial_settings (G.initial_settings ) ^ procps/top.c:914:12: note: in expansion of macro 'initial_settings' if (c == initial_settings.c_cc[VEOF]) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:918:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs--; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:922:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs++; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:926:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:930:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs = ntop - G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:930:19: note: in expansion of macro 'ntop' G_scroll_ofs = ntop - G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:930:26: note: in expansion of macro 'G' G_scroll_ofs = ntop - G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:934:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs -= G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:934:20: note: in expansion of macro 'G' G_scroll_ofs -= G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:938:4: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs += G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:938:20: note: in expansion of macro 'G' G_scroll_ofs += G.lines / 2; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:940:8: note: in expansion of macro 'G_scroll_ofs' if (G_scroll_ofs >= ntop) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:940:24: note: in expansion of macro 'ntop' if (G_scroll_ofs >= ntop) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:941:5: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs = ntop - 1; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:941:20: note: in expansion of macro 'ntop' G_scroll_ofs = ntop - 1; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:942:8: note: in expansion of macro 'G_scroll_ofs' if (G_scroll_ofs < 0) ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:160:22: note: in expansion of macro 'G' #define G_scroll_ofs G.scroll_ofs ^ procps/top.c:943:5: note: in expansion of macro 'G_scroll_ofs' G_scroll_ofs = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:953:4: note: in expansion of macro 'sort_function' sort_function[0] = pid_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:958:4: note: in expansion of macro 'sort_function' sort_function[0] = mem_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:960:4: note: in expansion of macro 'sort_function' sort_function[1] = pcpu_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:961:4: note: in expansion of macro 'sort_function' sort_function[2] = time_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:976:4: note: in expansion of macro 'sort_function' sort_function[0] = pcpu_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:977:4: note: in expansion of macro 'sort_function' sort_function[1] = mem_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:978:4: note: in expansion of macro 'sort_function' sort_function[2] = time_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:983:4: note: in expansion of macro 'sort_function' sort_function[0] = time_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:984:4: note: in expansion of macro 'sort_function' sort_function[1] = mem_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:985:4: note: in expansion of macro 'sort_function' sort_function[2] = pcpu_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:991:9: note: in expansion of macro 'prev_hist' free(prev_hist); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:198:27: note: in expansion of macro 'G' #define prev_hist (G.prev_hist ) ^ procps/top.c:992:4: note: in expansion of macro 'prev_hist' prev_hist = NULL; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:199:27: note: in expansion of macro 'G' #define prev_hist_count (G.prev_hist_count ) ^ procps/top.c:993:4: note: in expansion of macro 'prev_hist_count' prev_hist_count = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:193:27: note: in expansion of macro 'G' #define sort_field (G.sort_field ) ^ procps/top.c:994:4: note: in expansion of macro 'sort_field' sort_field = (sort_field + 1) % NUM_SORT_FIELD; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:193:27: note: in expansion of macro 'G' #define sort_field (G.sort_field ) ^ procps/top.c:994:18: note: in expansion of macro 'sort_field' sort_field = (sort_field + 1) % NUM_SORT_FIELD; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:194:27: note: in expansion of macro 'G' #define inverted (G.inverted ) ^ procps/top.c:999:4: note: in expansion of macro 'inverted' inverted ^= 1; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:1006:8: note: in expansion of macro 'smp_cpu_info' if (smp_cpu_info) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:1007:10: note: in expansion of macro 'cpu_prev_jif' free(cpu_prev_jif); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:1008:10: note: in expansion of macro 'cpu_jif' free(cpu_jif); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:1009:5: note: in expansion of macro 'cpu_jif' cpu_jif = &cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:1009:16: note: in expansion of macro 'cur_jif' cpu_jif = &cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:1010:5: note: in expansion of macro 'cpu_prev_jif' cpu_prev_jif = &prev_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:201:27: note: in expansion of macro 'G' #define prev_jif (G.prev_jif ) ^ procps/top.c:1010:21: note: in expansion of macro 'prev_jif' cpu_prev_jif = &prev_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:1013:5: note: in expansion of macro 'cpu_jif' cpu_jif = cpu_prev_jif = NULL; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:1013:15: note: in expansion of macro 'cpu_prev_jif' cpu_jif = cpu_prev_jif = NULL; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:204:27: note: in expansion of macro 'G' #define num_cpus (G.num_cpus ) ^ procps/top.c:1015:4: note: in expansion of macro 'num_cpus' num_cpus = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:1016:4: note: in expansion of macro 'smp_cpu_info' smp_cpu_info = !smp_cpu_info; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:195:27: note: in expansion of macro 'G' #define smp_cpu_info (G.smp_cpu_info ) ^ procps/top.c:1016:20: note: in expansion of macro 'smp_cpu_info' smp_cpu_info = !smp_cpu_info; ^ procps/top.c: In function 'top_main': procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:202:27: note: in expansion of macro 'G' #define cpu_jif (G.cpu_jif ) ^ procps/top.c:1097:2: note: in expansion of macro 'cpu_jif' cpu_jif = &cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:200:27: note: in expansion of macro 'G' #define cur_jif (G.cur_jif ) ^ procps/top.c:1097:13: note: in expansion of macro 'cur_jif' cpu_jif = &cur_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:203:27: note: in expansion of macro 'G' #define cpu_prev_jif (G.cpu_prev_jif ) ^ procps/top.c:1098:2: note: in expansion of macro 'cpu_prev_jif' cpu_prev_jif = &prev_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:201:27: note: in expansion of macro 'G' #define prev_jif (G.prev_jif ) ^ procps/top.c:1098:18: note: in expansion of macro 'prev_jif' cpu_prev_jif = &prev_jif; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:1126:2: note: in expansion of macro 'sort_function' sort_function[0] = pcpu_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:1127:2: note: in expansion of macro 'sort_function' sort_function[1] = mem_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:197:27: note: in expansion of macro 'G' #define sort_function (G.sort_function ) ^ procps/top.c:1128:2: note: in expansion of macro 'sort_function' sort_function[2] = time_sort; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:196:27: note: in expansion of macro 'G' #define initial_settings (G.initial_settings ) ^ procps/top.c:1138:26: note: in expansion of macro 'initial_settings' tcgetattr(0, (void *) &initial_settings); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:196:27: note: in expansion of macro 'G' #define initial_settings (G.initial_settings ) ^ procps/top.c:1139:26: note: in expansion of macro 'initial_settings' memcpy(&new_settings, &initial_settings, sizeof(new_settings)); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1155:4: note: in expansion of macro 'G' G.lines = INT_MAX; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1158:4: note: in expansion of macro 'G' G.lines = 24; /* default */ ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1162:52: note: in expansion of macro 'G' get_terminal_width_height(STDOUT_FILENO, &col, &G.lines); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1163:8: note: in expansion of macro 'G' if (G.lines < 5 || col < 10) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1173:3: note: in expansion of macro 'ntop' ntop = 0; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1180:9: note: in expansion of macro 'ntop' n = ntop; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1181:5: note: in expansion of macro 'top' top = xrealloc_vector(top, 6, ntop++); ^ In file included from procps/top.c:107:0: procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:26: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1181:27: note: in expansion of macro 'top' top = xrealloc_vector(top, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:44: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1181:27: note: in expansion of macro 'top' top = xrealloc_vector(top, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:74: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1181:35: note: in expansion of macro 'ntop' top = xrealloc_vector(top, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1182:5: note: in expansion of macro 'top' top[n].pid = p->pid; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1183:5: note: in expansion of macro 'top' top[n].ppid = p->ppid; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1184:5: note: in expansion of macro 'top' top[n].vsz = p->vsz; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1186:5: note: in expansion of macro 'top' top[n].ticks = p->stime + p->utime; ^ AR sysklogd/lib.a procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1188:5: note: in expansion of macro 'top' top[n].uid = p->uid; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1189:12: note: in expansion of macro 'top' strcpy(top[n].state, p->state); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1190:12: note: in expansion of macro 'top' strcpy(top[n].comm, p->comm); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1192:5: note: in expansion of macro 'top' top[n].last_seen_on_cpu = p->last_seen_on_cpu; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1199:9: note: in expansion of macro 'ntop' n = ntop; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1201:5: note: in expansion of macro 'top' top = xrealloc_vector(topmem, 6, ntop++); ^ In file included from procps/top.c:107:0: procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:26: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1201:27: note: in expansion of macro 'topmem' top = xrealloc_vector(topmem, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:44: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1201:27: note: in expansion of macro 'topmem' top = xrealloc_vector(topmem, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ include/libbb.h:743:74: note: in definition of macro 'xrealloc_vector' xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1201:38: note: in expansion of macro 'ntop' top = xrealloc_vector(topmem, 6, ntop++); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1202:12: note: in expansion of macro 'topmem' strcpy(topmem[n].comm, p->comm); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1203:5: note: in expansion of macro 'topmem' topmem[n].pid = p->pid; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1204:5: note: in expansion of macro 'topmem' topmem[n].vsz = p->smaps.mapped_rw + p->smaps.mapped_ro; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1205:5: note: in expansion of macro 'topmem' topmem[n].vszrw = p->smaps.mapped_rw; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1206:5: note: in expansion of macro 'topmem' topmem[n].rss_sh = p->smaps.shared_clean + p->smaps.shared_dirty; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1207:5: note: in expansion of macro 'topmem' topmem[n].rss = p->smaps.private_clean + p->smaps.private_dirty + topmem[n].rss_sh; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1207:76: note: in expansion of macro 'topmem' topmem[n].rss = p->smaps.private_clean + p->smaps.private_dirty + topmem[n].rss_sh; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1208:5: note: in expansion of macro 'topmem' topmem[n].dirty = p->smaps.private_dirty + p->smaps.shared_dirty; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1209:5: note: in expansion of macro 'topmem' topmem[n].dirty_sh = p->smaps.shared_dirty; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1210:5: note: in expansion of macro 'topmem' topmem[n].stack = p->smaps.stack; ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1214:7: note: in expansion of macro 'ntop' if (ntop == 0) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:199:27: note: in expansion of macro 'G' #define prev_hist_count (G.prev_hist_count ) ^ procps/top.c:1221:9: note: in expansion of macro 'prev_hist_count' if (!prev_hist_count) { ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:1229:10: note: in expansion of macro 'top' qsort(top, ntop, sizeof(top_status_t), (void*)mult_lvl_cmp); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1229:15: note: in expansion of macro 'ntop' qsort(top, ntop, sizeof(top_status_t), (void*)mult_lvl_cmp); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:191:27: note: in expansion of macro 'G' #define top (G.top ) ^ procps/top.c:767:35: note: in expansion of macro 'top' #define topmem ((topmem_status_t*)top) ^ procps/top.c:1236:10: note: in expansion of macro 'topmem' qsort(topmem, ntop, sizeof(topmem_status_t), (void*)topmem_sort); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:192:27: note: in expansion of macro 'G' #define ntop (G.ntop ) ^ procps/top.c:1236:18: note: in expansion of macro 'ntop' qsort(topmem, ntop, sizeof(topmem_status_t), (void*)topmem_sort); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1240:25: note: in expansion of macro 'G' display_process_list(G.lines, col); ^ procps/top.c:186:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define G (*(struct globals*)&bb_common_bufsiz1) ^ procps/top.c:1243:32: note: in expansion of macro 'G' display_topmem_process_list(G.lines, col); ^ LD util-linux/built-in.o CC util-linux/dmesg.o CC libbb/inode_hash.o CC networking/libiproute/rt_names.o CC networking/libiproute/rtm_map.o CC libbb/isdirectory.o LD util-linux/volume_id/built-in.o AR util-linux/volume_id/lib.a CC networking/libiproute/utils.o AR networking/lib.a CC util-linux/flock.o CC libbb/kernel_version.o CC libbb/last_char_is.o CC libbb/lineedit.o AR procps/lib.a CC util-linux/getopt.o CC util-linux/hexdump.o CC util-linux/uevent.o CC libbb/lineedit_ptr_hack.o CC libbb/llist.o CC libbb/login.o CC libbb/make_directory.o util-linux/uevent.c:34:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] MAX_ENV = COMMON_BUFSIZE / sizeof(env[0]) - 1, ^ AR networking/libiproute/lib.a CC libbb/makedev.o CC libbb/match_fstype.o CC libbb/messages.o CC libbb/missing_syscalls.o AR util-linux/lib.a CC libbb/mode_string.o CC libbb/nuke_str.o CC libbb/parse_config.o CC libbb/parse_mode.o CC libbb/percent_decode.o CC libbb/perror_msg.o CC libbb/perror_nomsg.o CC libbb/perror_nomsg_and_die.o CC libbb/pidfile.o CC libbb/platform.o CC libbb/print_flags.o CC libbb/printable.o CC libbb/printable_string.o CC libbb/process_escape_sequence.o CC libbb/procps.o CC libbb/progress.o CC libbb/ptr_to_globals.o CC libbb/pw_encrypt.o CC libbb/read.o CC libbb/read_key.o CC libbb/read_printf.o CC libbb/recursive_action.o CC libbb/remove_file.o CC libbb/replace.o CC libbb/run_shell.o CC libbb/safe_gethostname.o CC libbb/safe_poll.o CC libbb/safe_strncpy.o CC libbb/safe_write.o CC libbb/setup_environment.o CC libbb/signals.o CC libbb/simplify_path.o CC libbb/single_argv.o CC libbb/skip_whitespace.o CC libbb/speed_table.o CC libbb/str_tolower.o CC libbb/strrstr.o CC libbb/sysconf.o CC libbb/time.o CC libbb/trim.o CC libbb/u_signal_names.o CC libbb/udp_io.o CC libbb/unicode.o CC libbb/utmp.o CC libbb/uuencode.o CC libbb/vdprintf.o CC libbb/verror_msg.o CC libbb/vfork_daemon_rexec.o CC libbb/warn_ignoring_args.o CC libbb/wfopen.o CC libbb/wfopen_input.o CC libbb/write.o CC libbb/xatonum.o CC libbb/xconnect.o CC libbb/xfunc_die.o CC libbb/xfuncs.o CC libbb/xfuncs_printf.o CC libbb/xgetcwd.o CC libbb/xgethostbyname.o libbb/xfuncs_printf.c: In function 'generate_uuid': libbb/xfuncs_printf.c:623:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(i, buf, 16); ^ CC libbb/xreadlink.o CC libbb/xrealloc_vector.o CC libbb/xregcomp.o AR libbb/lib.a LINK busybox_unstripped Trying libraries: crypt m Library crypt is needed, can't exclude it (yet) Library m is not needed, excluding it Library crypt is needed, can't exclude it (yet) Final link with: crypt make: Leaving directory `/usr/src/RPM/BUILD/make-initrd-busybox-1.24.1/busybox' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.47094 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/make-initrd-busybox-buildroot + : + /bin/rm -rf -- /usr/src/tmp/make-initrd-busybox-buildroot + cd make-initrd-busybox-1.24.1 + mkdir -p -- /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd/var/run + cd busybox + make install CONFIG_PREFIX=/usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd make: Entering directory `/usr/src/RPM/BUILD/make-initrd-busybox-1.24.1/busybox' /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/cat -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/chgrp -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/chmod -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/chown -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/cp -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/date -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/dd -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/df -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/dmesg -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/dnsdomainname -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/echo -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/egrep -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/false -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/fgrep -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/fsync -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/getopt -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/grep -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/hostname -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ipcalc -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/kill -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ln -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ls -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/mkdir -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/mknod -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/mktemp -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/mountpoint -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/mv -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/netstat -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/nice -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/pidof -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ping -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ping6 -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/printenv -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/ps -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/pwd -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/rm -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/rmdir -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/sed -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/sleep -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/stat -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/stty -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/tar -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/touch -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/true -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/uname -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//bin/vi -> busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/arp -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/getty -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/ip -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/ipaddr -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/iplink -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/iproute -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/iprule -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/iptunnel -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/nameif -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/setconsole -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/sulogin -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/udhcpc -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//sbin/uevent -> ../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/basename -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/chvt -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/clear -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/cmp -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/comm -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/cut -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/deallocvt -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/du -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/env -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/fgconsole -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/find -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/flock -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/fold -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/fuser -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/hd -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/head -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/hexdump -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/install -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/killall -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/logger -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/lsof -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/mkfifo -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/nohup -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/nslookup -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/od -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/openvt -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/printf -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/readlink -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/realpath -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/reset -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/seq -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/sort -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/split -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/sum -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/tac -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/tail -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/tee -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/telnet -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/top -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/tr -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/traceroute -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/traceroute6 -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/truncate -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/tty -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/udhcpc6 -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/uniq -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/unit -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/unlink -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/wc -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/wget -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/which -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/bin/xargs -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/arping -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/brctl -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/chroot -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/killall5 -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/setlogcons -> ../../bin/busybox /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd//usr/sbin/telnetd -> ../../bin/busybox -------------------------------------------------- You will probably need to make your busybox binary setuid root to ensure all configured applets will work properly. -------------------------------------------------- make: Leaving directory `/usr/src/RPM/BUILD/make-initrd-busybox-1.24.1/busybox' + cd /usr/src/tmp/make-initrd-busybox-buildroot/lib/initrd + ln -s ../usr/bin/readlink bin/readlink + ln -s ../usr/sbin/chroot sbin/chroot + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/make-initrd-busybox-buildroot (auto) Verifying and fixing files in /usr/src/tmp/make-initrd-busybox-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/make-initrd-busybox-buildroot (auto) Adjusting library links in /usr/src/tmp/make-initrd-busybox-buildroot ./lib: Verifying ELF objects in /usr/src/tmp/make-initrd-busybox-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: make-initrd-busybox-1.24.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OgyugG find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YJAyEZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: make-initrd >= 0.8.2-alt1, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), libcrypt.so.1()(64bit) >= set:hguT2, libcrypt.so.1(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.E125IO Wrote: /usr/src/RPM/RPMS/x86_64/make-initrd-busybox-1.24.1-alt1.x86_64.rpm 30.60user 10.10system 0:29.17elapsed 139%CPU (0avgtext+0avgdata 48096maxresident)k 0inputs+0outputs (0major+4280936minor)pagefaults 0swaps 31.58user 11.84system 0:32.42elapsed 133%CPU (0avgtext+0avgdata 48096maxresident)k 0inputs+0outputs (0major+4410828minor)pagefaults 0swaps