From owner-freebsd-current@FreeBSD.ORG Fri Jan 17 21:26:42 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FF8ADB9 for ; Fri, 17 Jan 2014 21:26:42 +0000 (UTC) Received: from nm28.bullet.mail.bf1.yahoo.com (nm28.bullet.mail.bf1.yahoo.com [98.139.212.187]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F29081D28 for ; Fri, 17 Jan 2014 21:26:41 +0000 (UTC) Received: from [66.196.81.172] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 21:26:34 -0000 Received: from [98.139.211.201] by tm18.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 21:26:34 -0000 Received: from [127.0.0.1] by smtp210.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 21:26:34 -0000 X-Yahoo-Newman-Id: 182345.83763.bm@smtp210.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: p.3z1VkVM1lp.mssArkAwnUXdKLGLUN2.33.pfXeRUTeqzJ vsjBQRw7JEONfY0207rOWc.OgasOWAsV399C8_ee._jC3CZa6n.J9nzeJBcC 5Ov1I1enCWlA5eAGamasJgWPqIUxBccAgAzCehNsbsRs6u1uiU8kbYblPfT9 EpVqL4r04ZYUZH9UBjjZj8NzlcY4QVWmm4D1BPDkAWDZJU4REP0gn3.g_c3o bS1Yy7u5XBPHzfj2dXIA6cyziBOhpwMavUljcHZbOTMjY54jby1qFF4bHOEr L7JmVhDEJQG3UYHMNEoz9goPjt7Xsh94cNol5RHxhQfE4HKxEGW2PgWUg8hN 405W9pRe7DFnQCBb8vXqSv4iiQsMjebf12iWDQGowl7Ns6qPsg_FYwFCLD98 cajOZPUsrWM_ittrsG2lH5cmEL6ZPa4vBcpyraABH90D7AlzVDX.OyceGaFC 29.gxSwkF3s54obBC1g.d8kqR8wyvxGOlzhDIgkiRa3fWCSN6iHyp_BbED1a QZZWFYlsb38PYZ4easR4uy7vre52SV4P87PqxZEpR9iSABzy5tQ3WiYo- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [63.250.193.228]) by smtp210.mail.bf1.yahoo.com with SMTP; 17 Jan 2014 13:26:34 -0800 PST Message-ID: <52D9A006.70106@FreeBSD.org> Date: Fri, 17 Jan 2014 16:26:30 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Luigi Rizzo Subject: Re: svn 260311 breaks gcc builds on releng9 ? References: <20140117201802.GB62555@onelab2.iet.unipi.it> <52D99783.9020909@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 21:26:42 -0000 On 17.01.2014 16:07, Luigi Rizzo wrote: > > > > On Fri, Jan 17, 2014 at 12:50 PM, Pedro Giffuni > wrote: > > Hello Luigi; > > > On 17.01.2014 15:18, Luigi Rizzo wrote: > > Hi, > I am seeing an odd problem which seems to be triggered by > svn260311 > > I have two machines running snapshots of stable/9 from last fall > (one 255898 sep.26, the other 258126 nov.14). All is amd64 > > Build a recent head (260311 and newer) with gcc fails on the > sep.26 machine: > > ... > 19:51:22 ===> gnu/usr.bin/cc/cc1plus (all) > PROG CC > /media/bsd10/usr/home/luigi/FreeBSD/head/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/main.c > ... > PROG CC > /media/bsd10/usr/home/luigi/FreeBSD/head/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/except.c > parser.o: In function > `cp_parser_objc_tentative_protocol_refs_opt': > parser.c:(.text+0x14665): undefined reference to > `cp_objc_protocol_id_list' > *** [cc1plus-dummy] Error code 1 > 1 error > > but works on the newer one. > > svn 260310 builds on both. > > I am a bit unclear on what is going on because the missing symbol > (cp_objc_protocol_id_list) only appears in the source file > parser.c > and in a ChangeLog.apple file, so maybe it is generated and > the actual failure is at some earlier stage. > > Thanks for the report. > > Of course gcc can also have bugs but it would look like you may > not be doing a clean build or that some how object code from two > different builds got mixed up. > > > i thought so too, but i am building in a completely new dir > and i retried some 10 times rm -rf on the output dir, > resyncing the repo and checking diffs, etc. > > Also it is very suspicious that going back to 260310 makes > the problem disappear, and 260311 brings it back in. > > Anyways, it is very confusing indeed. > > > > JIC, the cp_obj_protocol_id_list stuff is obviously objc stuff > that we don't need at all and that crept in along with other > changes from Apple so I will remove it to see if it helps somehow. > > > ok thanks. > let me know if you want me to test a patch before committing, > since I have a way to reproduce the error (i am not upgrading > the offending system on purpose). > The Apple change was incomplete so I guess the compiler in head is not being strict enough. I removed the dead code and rebuilt. Should be fixed as r260831. Thank you for the report! Pedro.