Juha Heinanen writes:
I have the same. Perhaps it has to do with some other
defines. Do you
remember what to add to debian/rules in order to see all gcc parameters
during compilation?
I did 'apt-get dist-upgrade'. The following packages were upgraded and
the mem/tlsf_malloc.c warnings went away:
apt apt-utils base-files gnupg gpgv libapt-inst1.5 libapt-pkg4.12
libc-bin libc-dev-bin libc6 libc6-dev libcurl3 libcurl4-openssl-dev
libgcrypt20 libglib2.0-0 libglib2.0-bin libglib2.0-dev libgssapi-krb5-2
libhogweed2 libk5crypto3 libkrb5-3 libkrb5support0 libmysqlclient-dev
libmysqlclient18 libnettle4 libpam-modules libpam-modules-bin libpam0g
libpcre3 libpcre3-dev libpcrecpp0 libssh2-1 libssl-dev libssl1.0.0
libsystemd0 libtiff5 libtiff5-dev libtiffxx5 libudev1 linux-libc-dev
multiarch-support mysql-common openssl perl perl-base perl-modules
systemd systemd-sysv tzdata udev
Sorry about the noise. Now the once below (plus tls module ones)
remain. They appeared already before 4.4.
-- Juha
CC (gcc) [sip-proxy] cfg/cfg_ctx.o
cfg/cfg_ctx.c: In function 'cfg_set_now':
cfg/cfg_ctx.c:485:5: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
group_inst = (cfg_group_inst_t *)translate_pointer((char *)new_array,
^
cfg/cfg_ctx.c:489:5: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
CFG_GROUP_META(block, group)->array = new_array;
^
cfg/cfg_ctx.c:559:4: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
if (block && (CFG_GROUP_META(block, group)->array !=
CFG_GROUP_META(*cfg_global, group)->array))
^
cfg/cfg_ctx.c:559:4: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
cfg/cfg_ctx.c:560:5: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
new_array = CFG_GROUP_META(block, group)->array;
^
cfg/cfg_ctx.c:579:5: warning: dereferencing type-punned pointer will break strict-aliasing
rules [-Wstrict-aliasing]
replaced[i] = CFG_GROUP_META(*cfg_global, group)->array;
^
cfg/cfg_ctx.c: In function 'cfg_commit':
cfg/cfg_ctx.c:1120:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
if (!(CFG_GROUP_META(block, group)->array =
^
cfg/cfg_ctx.c:1128:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
replaced[replaced_num] = CFG_GROUP_META(*cfg_global, group)->array;
^
cfg/cfg_ctx.c:1180:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
&& (CFG_GROUP_META(block, changed->group)->array !=
CFG_GROUP_META(*cfg_global, changed->group)->array)
^
cfg/cfg_ctx.c:1180:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
cfg/cfg_ctx.c:1185:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
replaced[replaced_num] = CFG_GROUP_META(*cfg_global, group)->array;
^
cfg/cfg_ctx.c:1220:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
if (CFG_GROUP_META(block, group)->array
^
cfg/cfg_ctx.c:1221:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
&& (CFG_GROUP_META(block, group)->array != CFG_GROUP_META(*cfg_global,
group)->array)
^
cfg/cfg_ctx.c:1221:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
cfg/cfg_ctx.c:1223:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
shm_free(CFG_GROUP_META(block, group)->array);
^
cfg/cfg_ctx.c: In function 'cfg_add_group_inst':
cfg/cfg_ctx.c:1577:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
CFG_GROUP_META(block, group)->array = new_array;
^
cfg/cfg_ctx.c:1578:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
CFG_GROUP_META(block, group)->num++;
^
cfg/cfg_ctx.c:1580:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
if (CFG_GROUP_META(*cfg_global, group)->array) {
^
cfg/cfg_ctx.c:1589:3: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
replaced[0] = CFG_GROUP_META(*cfg_global, group)->array;
^
cfg/cfg_ctx.c: In function 'cfg_del_group_inst':
cfg/cfg_ctx.c:1673:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
CFG_GROUP_META(block, group)->array = new_array;
^
cfg/cfg_ctx.c:1674:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
CFG_GROUP_META(block, group)->num--;
^
cfg/cfg_ctx.c:1676:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
if (CFG_GROUP_META(*cfg_global, group)->array) {
^
cfg/cfg_ctx.c:1687:5: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
&& (*(char **)(group_inst->vars + var->offset) != NULL)
^
cfg/cfg_ctx.c:1705:6: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
&& (*(char **)(group_inst->vars + var->offset) != NULL)
^
cfg/cfg_ctx.c:1707:6: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
replaced[num] = *(char **)(group_inst->vars + var->offset);
^
cfg/cfg_ctx.c:1713:3: warning: dereferencing type-punned pointer will break
strict-aliasing rules [-Wstrict-aliasing]
replaced[num] = CFG_GROUP_META(*cfg_global, group)->array;
^