From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20762 invoked by alias); 1 May 2010 15:26:18 -0000 Received: (qmail 20706 invoked by uid 48); 1 May 2010 15:26:03 -0000 Date: Sat, 01 May 2010 15:26:00 -0000 Message-ID: <20100501152603.20705.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/43729] Mach-O LTO support needed for darwin In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00039.txt.bz2 ------- Comment #22 from dominiq at lps dot ens dot fr 2010-05-01 15:26 ------- Sorry to bother you, but with the patch in comment #19 bootstrap fails at stage 2 with the infamous "all warnings being treated as errors": ... /opt/gcc/build_w/./prev-gcc/xgcc -B/opt/gcc/build_w/./prev-gcc/ -B/opt/gcc/gcc4.6w/x86_64-apple-darwin10/bin/ -B/opt/gcc/gcc4.6w/x86_64-apple-darwin10/bin/ -B/opt/gcc/gcc4.6w/x86_64-apple-darwin10/lib/ -isystem /opt/gcc/gcc4.6w/x86_64-apple-darwin10/include -isystem /opt/gcc/gcc4.6w/x86_64-apple-darwin10/sys-include -c -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Ilto -I../../work/gcc -I../../work/gcc/lto -I../../work/gcc/../include -I../../work/gcc/../libcpp/include -I/opt/sw64/include -I/opt/sw64/include -I../../work/gcc/../libdecnumber -I../../work/gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/sw64/include -I/opt/sw64/include -DCLOOG_PPL_BACKEND -I/opt/sw64/include ../../work/gcc/lto/lto-macho.c -o lto/lto-macho.o In file included from ../../work/gcc/lto/lto-macho.c:31:0: ../../work/gcc/lto/lto-macho.h:221:33: error: using 'lto_mach_o_data' as both a typedef and a tag is invalid in C++ [-Werror=c++-compat] ../../work/gcc/lto/lto-macho.h:205:8: note: originally defined here ../../work/gcc/lto/lto-macho.h:255:36: error: using 'lto_mach_o_section' as both a typedef and a tag is invalid in C++ [-Werror=c++-compat] ../../work/gcc/lto/lto-macho.h:206:8: note: originally defined here cc1: all warnings being treated as errors -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43729