From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13105 invoked by alias); 15 Mar 2013 12:52:33 -0000 Received: (qmail 13096 invoked by uid 22791); 15 Mar 2013 12:52:31 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mout2.freenet.de (HELO mout2.freenet.de) (195.4.92.92) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Mar 2013 12:52:26 +0000 Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout2.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.80.1 #2) id 1UGU7S-0006Ei-C1; Fri, 15 Mar 2013 13:52:22 +0100 Received: from localhost ([::1]:50391 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #2) id 1UGU7S-0005Eo-7A; Fri, 15 Mar 2013 13:52:22 +0100 Received: from [195.4.92.14] (port=41172 helo=4.mx.freenet.de) by mjail2.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #2) id 1UGU4i-00059J-9G; Fri, 15 Mar 2013 13:49:32 +0100 Received: from hsi-kbw-109-193-026-150.hsi7.kabel-badenwuerttemberg.de ([109.193.26.150]:41117 helo=[192.168.1.104]) by 4.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (port 587) (Exim 4.80.1 #2) id 1UGU4i-0001WR-1m; Fri, 15 Mar 2013 13:49:32 +0100 Message-ID: <514318D8.8050309@rtems.org> Date: Fri, 15 Mar 2013 12:52:00 -0000 From: Ralf Corsepius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 MIME-Version: 1.0 To: Joel Sherrill CC: "gdb@sourceware.org" Subject: [gdb-7.5.91] mips sim fails to build on mingw32 References: <20130312231727.GF31629@adacore.com> <5140894E.6000308@oarcorp.com> In-Reply-To: <5140894E.6000308@oarcorp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-03/txt/msg00019.txt.bz2 Hi, The mips sim fails to build on mingw: ... x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT -DWITH_TARGET_WORD_BITSIZE=32 -DWITH_TARGET_WORD_MSB=31 -DWITH_DEFAULT_TARGET_BYTE_ORDER=BIG_ENDIAN -DWITH_FLOATING_POINT=HARD_FLOATING_POINT -DWITH_TARGET_FLOATING_POINT_BITSIZE=32 -DWITH_HW=0 -DWITH_HOST_BYTE_ORDER=0 -DDEFAULT_INLINE=0 -DWITH_RESERVED_BITS=1 -DWITH_SMP=0 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wno-format -DMIPS_MACH_DEFAULT=bfd_mach_mips8000 -I. -I../../../gdb-7.5.91/sim/mips -I../common -I../../../gdb-7.5.91/sim/mips/../common -I../../include -I../../../gdb-7.5.91/sim/mips/../..//include -I../../bfd -I../../../gdb-7.5.91/sim/mips/../..//bfd -I../../opcodes -I../../../gdb-7.5.91/sim/mips/../..//opcodes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -D__USE_MINGW_ACCESS -c -o interp.o -MT interp.o -MMD -MP -MF .deps/interp.Tpo ../../../gdb-7.5.91/sim/mips/interp.c ../../../gdb-7.5.91/sim/mips/../common/dv-sockser.c:44:24: fatal error: netinet/in.h: No such file or directory ATM, I assume this patch to be the cause (sim/mips): 2012-09-03 Joel Sherrill * configure.ac: Always link against dv-sockser.o. * configure: Regenerate. From what I can gather from comparing sim/mips/configure.ac to other sim/*/configure.ac (e.g. bfin/configure.ac), dv-sockser.o needs to be suppressed for mingw32-* targets? Ralf