HEADS UP: merged llvm/clang 3.4
Dimitry Andric
dim at FreeBSD.org
Fri Mar 28 18:11:21 UTC 2014
On 28 Mar 2014, at 19:02, Ian Lepore <ian at FreeBSD.org> wrote:
> On Fri, 2014-03-28 at 18:51 +0100, Dimitry Andric wrote:
>> On 28 Mar 2014, at 17:51, Larry Baird <lab at maxwell.gta.com> wrote:
>> ...
>>> 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]
>>
>> The default debug info format for clang 3.4 is now DWARF4, which gdb
>> from base cannot handle. So please use gdb from ports, which is much
>> better anyway, or compile with -gdwarf-2.
>>
>> -Dimitry
>>
>
> Something seems very wrong here. We now have a 10-stable in which you
> can't debug an app that crashes without rebuilding the entire system
> with different options or adding non-base tools? That seems... not
> right for a branch with "stable" in its name.
You need to rebuild the system anyway, if you want debug information, so
nothing changed? If you insist on wanting to use the crummy gdb in
base, which should have been axed years ago, then just use
DEBUG_FLAGS=-gdwarf-2, otherwise use ports gdb, which any sensible
person should do.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140328/f473e32b/attachment.sig>
More information about the freebsd-stable
mailing list