On Tue, Nov 6, 2012 at 4:29 PM, Dominique Dhumieres <domi...@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 <saugust...@google.com>

        * dwarf2out.c (output_comdat_type_unit): Check for OBJECT_FORMAT_ELF.

Attachment: newpatch.diff
Description: Binary data

Reply via email to