This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trouble running ecosconfig under Linux/alpha



jlarmour@cygnus.co.uk said:
> Also you may want to use the version of the host sources in anonymous
> CVS; this change may help you: 

icarus.com % ecosconfig new sh7708
ecos.db, package CYGPKG_NET: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/tcpip'.
ecos.db, package CYGPKG_SNMPLIB: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/snmp/lib'.
ecos.db, package CYGPKG_SNMPAGENT: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/snmp/agent'.
Segmentation fault


Guess not.


jlarmour@cygnus.co.uk said:
> There have been several issues with exception handling in older
> compilers. If it was easy for you to try gcc 2.95.2, and an updated
> libstdc++, that would probably be no bad thing.

Well, I'm a little nervous about that because the compiler I have is known
to compile the linux-2.2.x kernels properly for Linux/alpha. Also, I have
open source projects of my own that are written in C++ and I need to be able
to make RPMS that I can expect 6.2 users be able to run.

Although I'm a relatively experienced programmer, I try to keep things
canonical for my user's sake. But if I must...


(I'm simply amazed by the volume and complexity of the *host* tools for
this embedded O/S. eCos might be a decent O/S, if I can ever get to it:-)

icarus.com % gdb /usr/local/bin/ecosconfig 
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-redhat-linux"...
(gdb) run new sh7708
Starting program: /usr/local/bin/ecosconfig new sh7708
ecos.db, package CYGPKG_NET: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/tcpip'.
ecos.db, package CYGPKG_SNMPLIB: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/snmp/lib'.
ecos.db, package CYGPKG_SNMPAGENT: warning
    This package is not present in the component repository.
    There is no directory `/usr/local/src/ecos-cvs/ecos/packages/net/snmp/agent'.

Program received signal SIGSEGV, Segmentation fault.
0x120086730 in evaluate_subexpr (context=@0x11fffa3a0, expr=0x1203f37e8, 
    subexpr_index=2, result=@0x11fff5bd0)
    at /usr/include/g++-2/std/bastring.h:76
76	    void release () { if (--ref == 0) delete this; }
(gdb) where
#0  0x120086730 in evaluate_subexpr (context=@0x11fffa3a0, expr=0x1203f37e8, 
    subexpr_index=2, result=@0x11fff5bd0)
    at /usr/include/g++-2/std/bastring.h:76
#1  0x12008325c in evaluate_subexpr (context=@0x11fffa3a0, expr=0x1203f37e8, 
    subexpr_index=4, result=@0x11fffa330)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/expr.cxx:1716
#2  0x12009c4c8 in CdlExpressionBody::eval_internal (this=0xa53e0008a75dffff, 
    context=@0x120414712, result=@0x1202a7d2a)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/expr.cxx:2065
#3  0x12009fd64 in CdlExpressionBody::eval (this=0x1203f37e8, 
    context=@0x11fffa3a0, result=@0x11fffa330)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/expr.cxx:2386
#4  0x1201421a8 in CdlValuableBody::calculated_update_handler (
    transaction=0x1203e71b0, source=0x1203fe4d8, prop=0x1203f37a0, 
    dest=0x1202a7d2a, change=CdlUpdate_Init)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/value.cxx:1944
#5  0x1200d29d4 in CdlProperty_ExpressionBody::update (this=0x1203f37a0, 
    transact=0x1203e71b0, source=0x1203fe4d8, dest=0x0, change=CdlUpdate_Init)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/property.cxx:728
#6  0x1200fc084 in CdlLoadableBody::bind (this=0x1204169c8, 
    transaction=0x1203e71b0)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/base.cxx:1245
#7  0x12025bdc0 in CdlConfigurationBody::load_package (this=0x11fffcce0, 
    transaction=0x1203e71b0, name={static npos = 18446744073709551615, 
---Type <return> to continue, or q <return> to quit---
      static nilRep = Cannot access memory at address 0x0
)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/config.cxx:861
#8  0x120261e80 in CdlConfigurationBody::set_hardware (this=0x11fffe108, 
    transaction=0x1203e71b0, target_name={static npos = 18446744073709551615, 
      static nilRep = Cannot access memory at address 0x0
)
    at /usr/local/src/ecos-cvs/ecos/host/libcdl/config.cxx:1075
#9  0x12000d574 in cdl_exec::cmd_new (this=0x11fffe4d0, cdl_hardware={
      static npos = 18446744073709551615, static nilRep = Cannot access memory at address 0x0
)
    at /usr/local/src/ecos-cvs/ecos/host/tools/configtool/standalone/common/cdl_exec.cxx:143
#10 0x120004fa0 in main (argc=3, argv=0x11ffff708)
    at /usr/local/src/ecos-cvs/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx:282
(gdb) 

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]