NG-Spice compile error
Hello,
below is an error i got while compiling ng-spice-0.3. I am using the gcc that
with the commercial Code Fusion product from Cygnus Solutions.
It appears to be a problem with the optimazation option(i.e. none of them work
for this compiler). ng-spice compiles fine w/o the optimization. I am not
sure
if this related to the fact that the Code Fusion gcc is supposed to be
optimized for PII processors, where as I am running a PIII.
If someone could shed some light on this that would be helpful, I'll look more
into it also.
-anthony.
-------------- Error Output --------------
gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -g -O2 -Wall -c
ltraload.c
ltraload.c: In function `LTRAload':
ltraload.c:177: warning: implicit declaration of function `LTRAlinInterp'
ltraload.c:28: warning: `v1d' might be used uninitialized in this function
ltraload.c:28: warning: `v2d' might be used uninitialized in this function
ltraload.c:28: warning: `i1d' might be used uninitialized in this function
ltraload.c:28: warning: `i2d' might be used uninitialized in this function
ltraload.c:30: warning: `isaved' might be used uninitialized in this function
ltraload.c:31: warning: `tdover' might be used uninitialized in this function
ltraload.c:33: warning: `max' might be used uninitialized in this function
ltraload.c:33: warning: `min' might be used uninitialized in this function
ltraload.c:855: internal error--unrecognizable insn:
(insn 3364 244 3365 (set (reg:SI 957)
(and:SI (zero_extract:SI (reg:HI 109)
(const_int 8)
(const_int 8))
(const_int 69))) -1 (insn_list 244 (nil))
(expr_list:REG_DEAD (reg:HI 109)
(nil)))
gcc: Internal compiler error: program cc1 got fatal signal 11
make[4]: *** [ltraload.o] Error 1
make[4]: Leaving directory `/srcdev/sourcedev/ng-spice-0.3/src/lib/dev/ltra'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/srcdev/sourcedev/ng-spice-0.3/src/lib/dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/srcdev/sourcedev/ng-spice-0.3/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/srcdev/sourcedev/ng-spice-0.3/s
-------- End Error Output ----------
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Anthony Wilson | Mission Research Corporation
Analog IC Designer | 5001 Indian School RD NE
505.768.7677(W) | Albuquerque, NM 87110
505.768.7601(F) | mailto:awilson@mrcmicroe.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Partial thread listing: