bugzilla-daemon at bugzilla.mindrot.org
2010-May-27 11:00 UTC
[Bug 1772] New: There are some strict-aliasing warnings during the compillation
https://bugzilla.mindrot.org/show_bug.cgi?id=1772 Summary: There are some strict-aliasing warnings during the compillation Product: Portable OpenSSH Version: 5.5p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: unassigned-bugs at mindrot.org ReportedBy: jchadima at redhat.com The gcc's strict-aliasing warnings may lead to problems in optimization time, especially in newer versions of the compiler. there are the occurences of the warnings: channels.c : ((struct in_addr *)&dest_addr)->s_addr = INADDR_ANY; monitor_fdpass.c: *(int *)CMSG_DATA(cmsg) = fd; fd = (*(int *)CMSG_DATA(cmsg)); umac.c: *(UINT32 *)tmp_nonce_lo = ((UINT32 *)nonce)[1]; if ( (((UINT32 *)tmp_nonce_lo)[0] != ((UINT32 *)pc->nonce)[1]) || (((UINT32 *)nonce)[0] != ((UINT32 *)pc->nonce)[0]) ) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-May-28 03:49 UTC
[Bug 1772] There are some strict-aliasing warnings during the compillation
https://bugzilla.mindrot.org/show_bug.cgi?id=1772 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #1 from Damien Miller <djm at mindrot.org> --- We set -fno-strict-aliasing already for gcc4: if test "$GCC" = "yes" || test "$GCC" = "egcs"; then CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wuninitialized" GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` case $GCC_VER in 1.*) no_attrib_nonnull=1 ;; 2.8* | 2.9*) CFLAGS="$CFLAGS -Wsign-compare" no_attrib_nonnull=1 ;; 2.*) no_attrib_nonnull=1 ;; 3.*) CFLAGS="$CFLAGS -Wsign-compare -Wformat-security" ;; 4.*) CFLAGS="$CFLAGS -Wsign-compare -Wno-pointer-sign -Wformat-s ecurity -fno-strict-aliasing" ;; *) ;; esac Is there something in your environment that is skipping this test? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-22 12:49 UTC
[Bug 1772] There are some strict-aliasing warnings during the compillation
https://bugzilla.mindrot.org/show_bug.cgi?id=1772 jchadima at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jchadima at redhat.com Status|NEW |RESOLVED Resolution| |WORKSFORME -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:33 UTC
[Bug 1772] There are some strict-aliasing warnings during the compillation
https://bugzilla.mindrot.org/show_bug.cgi?id=1772 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> 2011-01-24 12:33:41 EST --- Move resolved bugs to CLOSED after 5.7 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.