[X-Unix] "Bad CPU type"
Victor Eijkhout
eijkhout at cs.utk.edu
Mon Jun 14 07:05:45 PDT 2004
At 23:28 -0400 2004/06/13, Alexandre Gauthier wrote:
>Very strange, it's the first time I'm seeing this...
>How was it compiled, exactly?
I've found mention of that message on
<http://www.hmug.org/man/2/intro.html> but that doesn't help me any.
All .o and .a files were compiled by me, and I think it all uses the
same gcc.
I know which the offending library is, and unfortunately it's
generated by autoconf shit that is way too clever for its own good.
Output below. Let me know if you see anything suspicious.
make all-recursive
Making all in Library
source='aca.c' object='aca.lo' libtool=yes \
depfile='.deps/aca.Plo' tmpdepfile='.deps/aca.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-fast -Wall -Wno-unknown-pragmas -pedantic -c -o aca.lo `test -f
'aca.c' || echo './'`aca.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall -Wno-unknown-pragmas
-pedantic -c aca.c -MT aca.lo -MD -MP -MF .deps/aca.TPlo -o aca.o
echo timestamp > aca.lo
source='basic.c' object='basic.lo' libtool=yes \
depfile='.deps/basic.Plo' tmpdepfile='.deps/basic.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-fast -Wall -Wno-unknown-pragmas -pedantic -c -o basic.lo `test -f
'basic.c' || echo './'`basic.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall -Wno-unknown-pragmas
-pedantic -c basic.c -MT basic.lo -MD -MP -MF .deps/basic.TPlo -o
basic.o
echo timestamp > basic.lo
[whole bunch of similar lines deleted]
source='uniformmatrix.c' object='uniformmatrix.lo' libtool=yes \
depfile='.deps/uniformmatrix.Plo' tmpdepfile='.deps/uniformmatrix.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-fast -Wall -Wno-unknown-pragmas -pedantic -c -o uniformmatrix.lo
`test -f 'uniformmatrix.c' || echo './'`uniformmatrix.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall -Wno-unknown-pragmas
-pedantic -c uniformmatrix.c -MT uniformmatrix.lo -MD -MP -MF
.deps/uniformmatrix.TPlo -o uniformmatrix.o
echo timestamp > uniformmatrix.lo
/bin/sh ../libtool --mode=link gcc -fast -Wall
-Wno-unknown-pragmas -pedantic -release 1.2 -o libhmatrix.la -rpath
/usr/local/lib aca.lo basic.lo bem3d.lo blockcluster.lo cluster.lo
clusterbasis.lo curvebem.lo fem2d.lo fullmatrix.lo graphics.lo
h2conversion.lo h2virtual.lo hcoarsening.lo ie1d.lo krylov.lo
lapack.lo net3d.lo quadrature1d.lo quadrature2d.lo rkmatrix.lo
solver.lo sparsematrix.lo supermatrix.lo surfacebem.lo
uniformmatrix.lo
mkdir .libs
rm -fr .libs/libhmatrix.la .libs/libhmatrix.* .libs/libhmatrix-1.2.*
ar cru .libs/libhmatrix.a aca.o basic.o bem3d.o blockcluster.o
cluster.o clusterbasis.o curvebem.o fem2d.o fullmatrix.o graphics.o
h2conversion.o h2virtual.o hcoarsening.o ie1d.o krylov.o lapack.o
net3d.o quadrature1d.o quadrature2d.o rkmatrix.o solver.o
sparsematrix.o supermatrix.o surfacebem.o uniformmatrix.o
ranlib .libs/libhmatrix.a
creating libhmatrix.la
(cd .libs && rm -f libhmatrix.la && ln -s ../libhmatrix.la libhmatrix.la)
Making all in Contrib
source='netcdfsupport.c' object='netcdfsupport.lo' libtool=yes \
depfile='.deps/netcdfsupport.Plo' tmpdepfile='.deps/netcdfsupport.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-fast -Wall -Wno-unknown-pragmas -pedantic -I../Library -c -o
netcdfsupport.lo `test -f 'netcdfsupport.c' || echo
'./'`netcdfsupport.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall -Wno-unknown-pragmas
-pedantic -I../Library -c netcdfsupport.c -MT netcdfsupport.lo -MD
-MP -MF .deps/netcdfsupport.TPlo -o netcdfsupport.o
netcdfsupport.c:2129: warning: conflicting types for `netcdf_read_cluster'
netcdfsupport.c:2114: warning: previous declaration of `netcdf_read_cluster'
netcdfsupport.c:2144: warning: conflicting types for `netcdf_read_cluster'
netcdfsupport.c:2129: warning: previous declaration of `netcdf_read_cluster'
netcdfsupport.c:2159: warning: conflicting types for `netcdf_read_cluster'
netcdfsupport.c:2144: warning: previous declaration of `netcdf_read_cluster'
echo timestamp > netcdfsupport.lo
/bin/sh ../libtool --mode=link gcc -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -o libhcontrib.la
-rpath /usr/local/lib netcdfsupport.lo
mkdir .libs
rm -fr .libs/libhcontrib.la .libs/libhcontrib.* .libs/libhcontrib.*
ar cru .libs/libhcontrib.a netcdfsupport.o
ranlib .libs/libhcontrib.a
creating libhcontrib.la
(cd .libs && rm -f libhcontrib.la && ln -s ../libhcontrib.la libhcontrib.la)
source='example_netcdf.c' object='example_netcdf.o' libtool=no \
depfile='.deps/example_netcdf.Po' tmpdepfile='.deps/example_netcdf.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -c `test -f
'example_netcdf.c' || echo './'`example_netcdf.c
/bin/sh ../libtool --mode=link gcc -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -o example_netcdf
example_netcdf.o libhcontrib.la ../Library/libhmatrix.la
/System/Library/Frameworks/vecLib.framework/vecLib -lm
gcc -fast -Wall -Wno-unknown-pragmas -pedantic -I../Library -o
example_netcdf example_netcdf.o
/System/Library/Frameworks/vecLib.framework/vecLib
./.libs/libhcontrib.a ../Library/.libs/libhmatrix.a -lm
Making all in Examples
source='example_simplefem.c' object='example_simplefem.o' libtool=no \
depfile='.deps/example_simplefem.Po' tmpdepfile='.deps/example_simplefem.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -c `test -f
'example_simplefem.c' || echo './'`example_simplefem.c
/bin/sh ../libtool --mode=link gcc -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -static -o
example_simplefem example_simplefem.o ../Library/libhmatrix.la
/System/Library/Frameworks/vecLib.framework/vecLib -lm
mkdir .libs
gcc -fast -Wall -Wno-unknown-pragmas -pedantic -I../Library -o
example_simplefem example_simplefem.o
/System/Library/Frameworks/vecLib.framework/vecLib
../Library/.libs/libhmatrix.a -lm
[more of the same deleted]
/bin/sh ../libtool --mode=link gcc -fast -Wall
-Wno-unknown-pragmas -pedantic -I../Library -static -o
example_direct example_direct.o ../Library/libhmatrix.la
/System/Library/Frameworks/vecLib.framework/vecLib -lm
gcc -fast -Wall -Wno-unknown-pragmas -pedantic -I../Library -o
example_direct example_direct.o
/System/Library/Frameworks/vecLib.framework/vecLib
../Library/.libs/libhmatrix.a -lm
Making all in Viewer
Making all in pixmaps
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
--
Victor Eijkhout <eijkhout at cs.utk.edu>, 329 Claxton, Comp Sci, UT,
Knoxville TN 37996.
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
More information about the X-Unix
mailing list