[Dwarf Fission] Implement Fission Proposal (issue6305113)

Sterling Augustine saugustine@google.com
Wed Nov 7 00:45:00 GMT 2012


On Tue, Nov 6, 2012 at 4:29 PM, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
>> Committed as attached. Thanks everyone.
>
> This (r193267) breaks bootstrap on x86_64-apple-darwin10:
>
> ...
> g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -I. -I../../work/gcc -I../../work/gcc/. -I../../work/gcc/../include -I./../intl -I../../work/gcc/../libcpp/include -I/opt/mp/include  -I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd -I../libdecnumber -I../../work/gcc/../libbacktrace -DCLOOG_INT_GMP  -I/opt/mp/include  ../../work/gcc/dwarf2out.c -o dwarf2out.o
> ../../work/gcc/dwarf2out.c: In function 'void output_comdat_type_unit(comdat_type_node*)':
> ../../work/gcc/dwarf2out.c:8839:38: error: 'comdat_key' was not declared in this scope
>                                       comdat_key);
>                                       ^
> ...
>
> targetm.asm_out.named_section at line 8837 is not protected by an
> #if defined (OBJECT_FORMAT_ELF)
> as elsewhere.
>
> TIA
>
> Dominique

I'm testing the enclosed patch on my end. Does it happen to work for you?

Sterling

2012-11-06  Sterling Augustine <saugustine@google.com>

	* dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newpatch.diff
Type: application/octet-stream
Size: 596 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121107/f436511f/attachment.obj>


More information about the Gcc-patches mailing list