Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 15:50:11 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        Luigi Rizzo <rizzo@iet.unipi.it>, current@freebsd.org
Subject:   Re: svn 260311 breaks gcc builds on releng9 ?
Message-ID:  <52D99783.9020909@FreeBSD.org>
In-Reply-To: <20140117201802.GB62555@onelab2.iet.unipi.it>
References:  <20140117201802.GB62555@onelab2.iet.unipi.it>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D99783.9020909>