Roland Mainz
2013-08-02 15:22:45 UTC
Hi!
----
I'm getting the following strict aliasing warnings when building
ast-open.2013-07-27 (and only on ast-open... ast-ksh doesn't seem to
be affected) on SuSE 12.3/AMD64/64bit: (gcc version is "gcc (SUSE
Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]")
-- snip --
+ cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"'
'-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"'
-DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin
-fstrict-aliasing -Wstrict-aliasing -Wsequence-point -Wno-parentheses
-Wno-unused -Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I.
-I$BUILDROOT/src/lib/libast/vmalloc -I$BUILDR
OOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std -I- -I. -I.
-I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/comp
-I$BUILDROOT/src/lib/libast/std -I$BUIL
DROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c
cc1: note: obsolete option -I- used, please use -iquote instead
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestlistreclaim':
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c:514:3: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
+ cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"'
'-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"'
-DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin -fstrict-aliasing
-Wstrict-aliasing -Wsequence-point -Wno-parentheses -Wno-unused
-Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I.
-I$BUILDROOT/src/lib/libast/vmalloc
-I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std
-I- -I. -I. -I$BUILDROOT/src/lib/libast/include
-I$BUILDROOT/src/lib/libast/comp -I$BUILDROOT/src/lib/libast/std
-I$BUILDROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c
$BUILDROOT/src/lib/libast/vmalloc/vmclear.c
cc1: note: obsolete option -I- used, please use -iquote instead
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestresize':
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c:845:4: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
--snip --
Erm... any idea why this happens for ast-open only ?
----
Bye,
Roland
----
I'm getting the following strict aliasing warnings when building
ast-open.2013-07-27 (and only on ast-open... ast-ksh doesn't seem to
be affected) on SuSE 12.3/AMD64/64bit: (gcc version is "gcc (SUSE
Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]")
-- snip --
+ cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"'
'-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"'
-DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin
-fstrict-aliasing -Wstrict-aliasing -Wsequence-point -Wno-parentheses
-Wno-unused -Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I.
-I$BUILDROOT/src/lib/libast/vmalloc -I$BUILDR
OOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std -I- -I. -I.
-I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/comp
-I$BUILDROOT/src/lib/libast/std -I$BUIL
DROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c
cc1: note: obsolete option -I- used, please use -iquote instead
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestlistreclaim':
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c:514:3: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
+ cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"'
'-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"'
-DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin -fstrict-aliasing
-Wstrict-aliasing -Wsequence-point -Wno-parentheses -Wno-unused
-Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I.
-I$BUILDROOT/src/lib/libast/vmalloc
-I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std
-I- -I. -I. -I$BUILDROOT/src/lib/libast/include
-I$BUILDROOT/src/lib/libast/comp -I$BUILDROOT/src/lib/libast/std
-I$BUILDROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c
$BUILDROOT/src/lib/libast/vmalloc/vmclear.c
cc1: note: obsolete option -I- used, please use -iquote instead
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestresize':
$BUILDROOT/src/lib/libast/vmalloc/vmbest.c:845:4: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
--snip --
Erm... any idea why this happens for ast-open only ?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)