From owner-svn-src-head@freebsd.org Sat Jul 18 14:12:09 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89DA39A3F37 for ; Sat, 18 Jul 2015 14:12:09 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm34-vm5.bullet.mail.bf1.yahoo.com (nm34-vm5.bullet.mail.bf1.yahoo.com [72.30.239.77]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B12A1CA5 for ; Sat, 18 Jul 2015 14:12:08 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1437228347; bh=toSgsdxHhpmzy2IKgyh9GBaccZjb5mpWwdwhpnEDbTI=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=VaoUkY3tuo4a8Z0I1UKnmVLoWhsoBloINDMhe7RodZwxEsNv76rvkeYd3mR67lfGs0CVymOAkBNvIcKoK52ZAZCMm5ZLms+ALn9xp2cjZiIOgZ5tEjQF50j+gOYE5JKKRhbgXTGdaVI5oatH9emC2XnnIYoUv5mi1kagM+1dXBLcFLfHoak/IPu6uJ96UYxLHAax7EDw6BhFZCsfRkbmqCqyCDTXdCnkjBpq7RgZkY+Lj9IGobS9fBFtmrMBkGFz5WrFZUXBBGyavK1cZxCJ97kISCTBHVl2qTF4rPLVbst84/I8fRNzM7UDpVJqsf3u7Dc/fXrZvFVkDaoiudUrZQ== Received: from [66.196.81.172] by nm34.bullet.mail.bf1.yahoo.com with NNFMP; 18 Jul 2015 14:05:47 -0000 Received: from [68.142.230.71] by tm18.bullet.mail.bf1.yahoo.com with NNFMP; 18 Jul 2015 14:05:47 -0000 Received: from [127.0.0.1] by smtp228.mail.bf1.yahoo.com with NNFMP; 18 Jul 2015 14:05:47 -0000 X-Yahoo-Newman-Id: 552347.74922.bm@smtp228.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pDq81QkVM1lWk9NBGAite2JoGtec8P5kuyxpOwfbPercKKJ Kk2cqU1NiKsWuxp55CF7ZQTglNFIfJdzeuuU56kEMPdEL.BapekRdTA6r4H_ GeknGhqxoKILIppvTLhseknZUyeR75n3neq1N0EHxVWGiYBz2wjNI5Gqdk6X 71lLRwulPmmYNZE1UDIM7MAivz9qBDmQZzkJ2aEpAJHBIS6vpedGMsyrDQ3k nVi3VF6Uz58PYreTzzkeZHQi1JynA3KOKYsyuGLSeAiQyS1_s0ayMEWULSqL .uHVByvugo1tBLABr24JrGYgsB6uixYwdh4rGKZjcND5vvBvobwhIZvhb9ot 0AcXKROvxR1DFqfIfEjUgnIRbfBycPpzVg0EV8s3u6qfCz8WX03mG9HQ1vLZ noHrb8eyYD1kNQm_D1WZpJ5oagxWg.NQGtL7vPDUggrl2JRdehNFIhBoGOI5 k3NjjVxkGCczlMpxk6MVK9G7ahuSSpGHM.WaXfy35GuMRCu4PGRIX152r.YS TSuW.CaOsa_agHMC6OM9pvtsZjrNrFIg4 X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <55AA5D53.1030405@FreeBSD.org> Date: Sat, 18 Jul 2015 09:06:11 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Bruce Evans CC: Peter Jeremy , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r285644 - head/contrib/sqlite3 References: <201507162207.t6GM7ECT009955@repo.freebsd.org> <20150717222631.GD36150@server.rulingia.com> <55A98763.1030705@FreeBSD.org> <20150718155507.J876@besplex.bde.org> In-Reply-To: <20150718155507.J876@besplex.bde.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2015 14:12:09 -0000 On 07/18/15 01:26, Bruce Evans wrote: > On Fri, 17 Jul 2015, Pedro Giffuni wrote: > >> ... >> >> The compiler warning is this: >> ... >> ===> lib/libsqlite3 (obj,depend,all,install) >> cc1: warnings being treated as errors >> /scratch/tmp/pfg/head/lib/libsqlite3/../../contrib/sqlite3/sqlite3.c: >> In function 'walIndexWriteHdr': >> /scratch/tmp/pfg/head/lib/libsqlite3/../../contrib/sqlite3/sqlite3.c:49490: >> warning: passing argument 1 of 'memcpy' discards qualifiers from >> pointer target type >> /scratch/tmp/pfg/head/lib/libsqlite3/../../contrib/sqlite3/sqlite3.c:49492: >> warning: passing argument 1 of 'memcpy' discards qualifiers from >> pointer target type >> --- sqlite3.So --- >> *** [sqlite3.So] Error code 1 >> ... >> >> make[6]: stopped in /scratch/tmp/pfg/head/lib/libsqlite3 >> >> It only happens when using the experimental FORTIFY_SOURCE support [1], >> and it only happens with gcc (the base one is the only tested). >> >> Yes, I am suspecting a compiler bug but gcc has been really useful to >> find >> bugs in fortify_source. > > gcc is correct. This has nothing to do with 'const'. aHdr has a > volatile qualifier. > OK, I am testing the patch for this. Thanks! Pedro.