From owner-freebsd-current@FreeBSD.ORG Fri Jan 17 20:53:02 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63AF8D4C for ; Fri, 17 Jan 2014 20:53:02 +0000 (UTC) Received: from nm3-vm0.bullet.mail.bf1.yahoo.com (nm3-vm0.bullet.mail.bf1.yahoo.com [98.139.212.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EBBC41952 for ; Fri, 17 Jan 2014 20:53:01 +0000 (UTC) Received: from [66.196.81.170] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 20:50:14 -0000 Received: from [98.139.211.195] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 20:50:14 -0000 Received: from [127.0.0.1] by smtp204.mail.bf1.yahoo.com with NNFMP; 17 Jan 2014 20:50:14 -0000 X-Yahoo-Newman-Id: 265402.38391.bm@smtp204.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 0A8OxLYVM1ldSLBhAx65nH7an9Lr2LCif0yN57tt4O4xA.M iiYzFCa3qTwzLEhi.qOqpl0QRfluGbMuJ9dPja_xZzqdQYXc2z.Jvr7pR5Yg ZAkj18DgIpqzlm70uo1hWm3elokbrAEn7izbQkYU4J7p6H8_tCP2vUrnTBu2 i9fbjhu.YEOYqWpk.t4o.Y_tl7.lgv8jK9ctWuMJwn1vz66TYja6wzsIhnNg k9Tw3bHnMbpE5S4CFxRZjBfhjhy6JvZjgBoOt.Vg3urOCqFrR2SlvwtAQawB srNhpVwX4f9IMUE2foLNQmRzUJkZIZClNDW03Wsz.2FO.PodyeIZS711Kzty aPsZve7VFHHjFrZIID_xnk.3vCPFFihHJ.2QY_NRTYlz_6SQoc1znZeMUbgP 9dq71RrXwFfawuN_hS842SYisnNw4OKqPIS_BA4Q7TCORqBg3fhnDjv52DFf SixVkqpIqGg2yE0X5CjZSFUSjYUMlPqKdEHgx7Yguz4ZWtnFBS827OGFxrQc B3rxaSGd.5LNJOb7XzmQzX4PnauX0ptD29L97G60lBixljeHwH8b8eL8- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [63.250.193.228]) by smtp204.mail.bf1.yahoo.com with SMTP; 17 Jan 2014 12:50:14 -0800 PST Message-ID: <52D99783.9020909@FreeBSD.org> Date: Fri, 17 Jan 2014 15:50:11 -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 , current@freebsd.org Subject: Re: svn 260311 breaks gcc builds on releng9 ? References: <20140117201802.GB62555@onelab2.iet.unipi.it> In-Reply-To: <20140117201802.GB62555@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 20:53:02 -0000 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. 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. Pedro.