Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2007 15:58:04 -0600
From:      Scott Long <scottl@samsco.org>
To:        Matteo Riondato <matteo@freebsd.org>
Cc:        i386@freebsd.org, FreeBSD Tinderbox <tinderbox@freebsd.org>, current@freebsd.org
Subject:   Re: [head tinderbox] failure on i386/i386
Message-ID:  <46044D6C.1070304@samsco.org>
In-Reply-To: <20070323214145.GA3822@krapfengeist>
References:  <20070323212254.54F7D73039@freebsd-current.sentex.ca> <20070323214145.GA3822@krapfengeist>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46044D6C.1070304>