Skip site navigation (1)Skip section navigation (2)
Date:      28 Mar 2014 16:51:21 -0000
From:      Larry Baird <lab@maxwell.gta.com>
To:        dim@FreeBSD.org (Dimitry Andric)
Cc:        freebsd-stable@freebsd.org
Subject:   Re: HEADS UP: merged llvm/clang 3.4
Message-ID:  <20140328165121.13797.qmail@mailgate.gta.com>
In-Reply-To: <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry,

> I have just merged llvm and clang 3.4 release to stable/10 (r263508) and
> stable/9 (r263509).  This already includes a number of post-3.4 fixes,
> though there are a few that are still awaiting the MFC timeout (e.g. the
> updated Sparc64 backend, and some things that were just fixed the day
> before yesterday).
> 
> Since the most obvious problems have already been addressed in head, I
> expect this to be a fairly smooth upgrade.  If you run into something
> strange anyway, please reply to this message (CC'ing the list).

Could this change have broken gdb?  Created hello.c:

#include <stdio.h>
#include <stdlib.h>

int main( int argc, char *argv[] )
{
    printf( "%s", "hello world\n" );
    exit( 0 );
}

cc --version
FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
Target: i386-unknown-freebsd10.0
Thread model: posix


cc -g hello.c -o hello
gdb ./hello
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr2/lab/6.2/sw/src/hello]




-- 
------------------------------------------------------------------------
Larry Baird
Global Technology Associates, Inc. 1992-2012 	| http://www.gta.com
Celebrating Twenty Years of Software Innovation | Orlando, FL
Email: lab@gta.com                 		| TEL 407-380-0220



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