From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14321 invoked by alias); 23 Apr 2013 01:15:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14311 invoked by uid 89); 23 Apr 2013 01:15:51 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_SM autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Apr 2013 01:15:51 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UURpl-0005dc-Kt from Yao_Qi@mentor.com ; Mon, 22 Apr 2013 18:15:49 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 22 Apr 2013 18:15:49 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Mon, 22 Apr 2013 18:15:31 -0700 Message-ID: <5175E0CE.6050509@codesourcery.com> Date: Tue, 23 Apr 2013 15:49:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: asmwarrior CC: "gdb-patches@sourceware.org" Subject: Re: [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW References: <5175D5A2.3050604@gmail.com> In-Reply-To: <5175D5A2.3050604@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-04/txt/msg00697.txt.bz2 On 04/23/2013 08:28 AM, asmwarrior wrote: > I just get a build error on CVS HEAD: > > mingw32-gcc -O0 -g -D__USE_MINGW_ACCESS -I. -I../../gdb/gdb -I../../gdb/gdb/common -I../../gdb/gdb/config -DLOCALEDIR="\"/mingw/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode -I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/.. -I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include -I../libdecnumber -I../../gdb/gdb/../libdecnumber -I../../gdb/gdb/gnulib/import -Ibuild-gnulib/import -IE:/code/python27/include -IE:/code/python27/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wno-format -Werror -c -o filestuff.o -MT filestuff.o -MMD -MP -MF .deps/filestuff.Tpo ../../gdb/gdb/common/filestuff.c > ../../gdb/gdb/common/filestuff.c:31:24: fatal error: sys/socket.h: No such file or directory I can reproduce this build failure with my mingw32 gcc as well. It is caused by recent committed patch "close-on-exec internal file descriptors". For the reference sake, I've replied the failure in that thread http://sourceware.org/ml/gdb-patches/2013-04/msg00683.html. -- Yao (齐尧)