On 25 August 2017 at 14:07, Ryan Libby <[email protected]> wrote: > On Wed, Aug 23, 2017 at 4:30 PM, John Baldwin <[email protected]> wrote: >> Author: jhb >> Date: Wed Aug 23 23:30:25 2017 >> New Revision: 322824 >> URL: https://svnweb.freebsd.org/changeset/base/322824 >> >> Log: >> Improve the coverage of debug symbols for MK_DEBUG_FILES. >> ... > This causes llvm to emit hundreds of new warnings [1] for > "DWARF2 only supports one section per compilation unit" > > Are these expected? Are they a concern? Should we silence them? > Is this an upstream llvm bug [2]?
I'm not sure they were "expected" but I guess are an unsurprising consequence of building more things with debug. In any case they're not a concern. It is an llvm bug (the warning really ought not be emitted for empty sections), but upstream is probably not too concerned as (most? all) other platforms are not using dwarf2. The right answer for us is likely to just stop defaulting to dwarf2 (and specifying it via CFLAGS for kernel if necessary). _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
