[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: New gnucap development snapshot



On 10 Dec 2006, at 4:07 pm, Colin Hall wrote:

On 10 Dec 2006, at 1:10 pm, Colin Hall wrote:

On 10 Dec 2006, at 5:56 am, al davis wrote:

On Saturday 09 December 2006 05:23, Colin Hall wrote:
[iMacG4:~] cgh% which gnucap
/Users/cgh/bin/gnucap

I tried to run it:

[iMacG4:~] cgh% gnucap
incorrect link order
Abort
[iMacG4:~] cgh%

Looks like the Mac OSX loader failed. I thought I would send
this before investigating the load error any further.

To help me .. Tell more about what you have, in particular:

1. The compiler version "g++ --version" if you are using the gnu
compiler, otherwise what are you using?

[iMacG4:~/gnucap-2006-12-04] cgh% [iMacG4:~/gnucap-2006-12-04] cgh% g++ --version g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495) Copyright (C) 2002 Free Software Foundation, Inc.


2. The actual text spew you get from "configure" and from "make", especially the link stage, which is probably the last "g++" command, the one that lists all the files.

[iMacG4:~/gnucap-2006-12-04] cgh% make install > make_install_out.lg g++: unrecognized option `-rdynamic' g++: unrecognized option `-rdynamic' [iMacG4:~/gnucap-2006-12-04] cgh%

Here's the link phase from that re-directed stdout:

g++ -g -O2 -rdynamic -o gnucap d_bjt.o d_mos1.o d_mos2.o d_mos3.o d_mos4.o d_mos5.o d_mos6.o d_mos7.o d_mos8.o
The configure output is large. Would you like me to email it to you?

I was wrong, the configure output isn't all that huge. Here it is:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no

Here's what I learned from a session with gdb. Looks like it was trying to install something called "NPN".


[iMacG4:~] cgh% pwd
/Users/cgh
[iMacG4:~] cgh% which gnucap
/Users/cgh/bin/gnucap
[iMacG4:~] cgh% gdb `which gnucap`
GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003)
Copyright 2003 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 "powerpc-apple-darwin".
Reading symbols for shared libraries ... done
(gdb) run
Starting program: /Users/cgh/bin/gnucap
Reading symbols for shared libraries . done
incorrect link order


Program received signal SIGABRT, Aborted.
0x9004312c in kill ()
(gdb) bt
#0 0x9004312c in kill ()
#1 0x9009fb9c in abort ()
#2 0x00150540 in DISPATCHER<MODEL_CARD>::install(std::string const&, MODEL_CARD const*) (this=0x1d9ac4, s=@0x215280, p=0x214dc0) at l_dispatcher.h:46
#3 0x0019cb94 in __static_initialization_and_destruction_0(int, int) (__initialize_p=1, __priority=65535) at l_dispatcher.h:94
#4 0x8fe17754 in __dyld_call_module_initializers_for_objects ()
#5 0x8fe1721c in __dyld_call_module_initializers ()
#6 0x8fe14348 in __dyld__dyld_make_delayed_module_initializer_calls ()
#7 0x0000232c in _call_mod_init_funcs () at /SourceCache/Csu/Csu-46/crt.c:299
#8 0x00002208 in _start (argc=1, argv=0xbffffd6c, envp=0xbffffd74) at /SourceCache/Csu/Csu-46/crt.c:217
#9 0x00002168 in start () at u_status.h:73
(gdb) frame 2
#2 0x00150540 in DISPATCHER<MODEL_CARD>::install(std::string const&, MODEL_CARD const*) (this=0x1d9ac4, s=@0x215280, p=0x214dc0) at l_dispatcher.h:46
46 abort();
(gdb) info args
this = (DISPATCHER<MODEL_CARD> * const) 0x1d9ac4
s = (const basic_string<char,std::char_traits<char>,std::allocator<char> > &) @0x215280: {
static npos = 4294967295,
_M_dataplus = {
<allocator<char>> = {<No data fields>},
members of _Alloc_hider:
_M_p = 0x200023c "NPN"
},
static _S_empty_rep_storage = {0, 0, 67, 0}
}
p = (const MODEL_CARD *) 0x214dc0
(gdb) The program is running. Exit anyway? (y or n) y
[iMacG4:~] cgh%
[iMacG4:~] cgh%




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user