From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12374 invoked by alias); 24 Aug 2007 11:38:33 -0000 Received: (qmail 12342 invoked by uid 22791); 24 Aug 2007 11:38:32 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Aug 2007 11:38:27 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id EC36C195020F; Fri, 24 Aug 2007 05:38:24 -0600 (MDT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 6C6FA195020D; Fri, 24 Aug 2007 05:38:22 -0600 (MDT) Message-ID: <46CEC322.4070409@mlbassoc.com> Date: Fri, 24 Aug 2007 11:38:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: ariga masahiro CC: ecos-discuss@ecos.sourceware.org References: <001501c7e52d$797c0b50$1c0110ac@ariga> <000c01c7e563$78c9e9d0$1c0110ac@ariga> In-Reply-To: <000c01c7e563$78c9e9d0$1c0110ac@ariga> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: net configuration problem X-SW-Source: 2007-08/txt/msg00134.txt.bz2 ariga masahiro wrote: > Hi everyone, > > I tinik that the cause of previous reported Segmentation fault > error entered in my mind. > So I should relate it to you. > > --previous reported Segmentation fault >> make[1]: Leaving directory >> `/ecos-c/cygwin/home/LINK/inserter20070823-for-nc_test_slave-OPENBSD/untitled1_build/net/tcpip/v2_0' >> >> /opt/ecos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/netinet/tcp_input.c: >> In function `tcp_input': >> make: Leaving directory >> `/ecos-c/cygwin/home/LINK/inserter20070823-for-nc_test_slave-OPENBSD/untitled1_build' >> >> /opt/ecos/ecos-2.0/packages/net/tcpip/v2_0/src/sys/netinet/tcp_input.c:2136: >> internal error: Segmentation fault >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See for instructions. >> make[1]: *** [src/sys/netinet/tcp_input.o.d] Error 1 >> make: *** [build] Error 2 > > When I build RedBoot,I discovered that if I > include cdl_option CYGFUN_LIBC_STRING_BSD_FUNCS's > next line > implements CYGINT_ISO_STRING_BSD_FUNCS > I was encountered next errors. > > -- error log > /ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/hal_sh_sh77x9_inserter.h:41:1: > warning: "CYG_HAL_STARTUP_RAM" redefined > In file included from > /ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/infra.h:12, > > from > /ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/cyg/infra/cyg_ass.h:66, > > from > /ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/cyg/libc/stdio/stream.hxx:63, > > from > /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:100: > > /ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_install/include/pkgconf/system.h:33:1: > warning: this is the location of the previous definition > make[1]: Leaving directory > `/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_build/language/c/libc/stdio/v2_0' > > /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx: > In > make: Leaving directory > `/ecos-c/cygwin/home/LINK/inserter20070823-oldnet-from0803-NOKOME/untitled1_build' > > function `int vfnprintf(CYG_ADDRESS (*)[9999], unsigned int, const char*, > void*)': > /opt/ecos/ecos-2.0/packages/language/c/libc/stdio/v2_0/src/output/vfnprintf.cxx:675: > internal > error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make[1]: *** [src/output/vfnprintf.o.d] Error 1 > make: *** [build] Error 2 > > There appeared Resolve Conflicts > CYGINT_ISO_STRING_BSD_FUNCS Unsatisfied Requires > 1>=CYGINT_ISO_STRING_BSD_FUNCS > and, > Proposed solution: > CYGFUN_LIBC_TIME_POSIX Disabled > CYGIMP_LIBC_TIME_ASCTIME_R_INLINE Disabled > CYGIMP_LIBC_TIME_CTIME_R_INLINE Disabled > CYGIMP_LIBC_TIME_GMTIME_R_INLINE Disabled > CYGIMP_LIBC_TIME_LOCALTIME_R_INLINE Disabled > CYGFUN_LIBC_STRING_BSD_FUNCS Disabled > but I couldn't understand these so I relied auto amendment. > > I couldn't resolve this error > so I cheated myself and commented that line. > > Now I think this is my original sin. > I think it may resolve by editing CDL files. > > Or as Andrew suggests, > this is also eCos version problem ? > > Masahiro Ariga > > > What version of GCC are you using? The problem you are having has really nothing to do with eCos (it builds fine, given working tools) - rather with the toolchain that you are using. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss