public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: ariga masahiro <ariga@link-lab.co.jp>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Re: net configuration problem
Date: Fri, 24 Aug 2007 11:38:00 -0000	[thread overview]
Message-ID: <46CEC322.4070409@mlbassoc.com> (raw)
In-Reply-To: <000c01c7e563$78c9e9d0$1c0110ac@ariga>

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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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

  reply	other threads:[~2007-08-24 11:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23  2:29 ariga masahiro
2007-08-23  8:56 ` ariga masahiro
2007-08-24 11:38   ` Gary Thomas [this message]
2007-08-23  2:59 ariga masahiro
2007-08-23  4:04 ariga masahiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46CEC322.4070409@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=ariga@link-lab.co.jp \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).