Re: [head tinderbox] failure on i386/i386

From: Scott Long <scottl_at_samsco.org>
Date: Fri, 23 Mar 2007 15:58:04 -0600
Matteo Riondato wrote:
> On Fri, Mar 23, 2007 at 04:22:54PM -0500, FreeBSD Tinderbox wrote:
>>>>> stage 4.4: building everything
>> [...]
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/dos.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/floppy.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/ftp.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/globals.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/http.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /src/usr.sbin/sysinstall/index.c
>> /src/usr.sbin/sysinstall/index.c: In function `index_menu':
>> /src/usr.sbin/sysinstall/index.c:628: warning: dereferencing type-punned pointer will break strict-aliasing rules
>> *** Error code 1
>>
>> Stop in /src/usr.sbin/sysinstall.
>> *** Error code 1
> 
> If this error is caused by my recent commit, why didn't it show up
> when I tested the build before committing? 
> 
> Best Regards

The tinderboxes have stricter compile flags than the normal buildworld
environment.  The hope is that we'll be able to go to -O2 as the default
optimization someday, which requires the stricter flags.  I think what
you're missing here is the -fstrict-aliasing flag.

Scott
Received on Fri Mar 23 2007 - 20:58:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC