(th-?)sparc* (Re: [AC] kernel sparc)

Tomasz Mateja tommat w pimpek.one.pl
Nie, 21 Sty 2007, 21:02:14 CET


Jakub Bogusz wrote:
> chrpath musi być zbudowany na architekturę sparc64.
> 
No dobra mam chrpath na sparc64 ale znow babol ktorego nie rozumiem:



[builder w pldmachine SPECS]$ rpmbuild -bb gmp.spec --target=sparc64-pld-linux
[...]
+ ./configure LDFLAGS= CFLAGS=-O2 -m64 -mtune=ultrasparc  CXXFLAGS=-O2 
-m64 -mtune=ultrasparc  FFLAGS=-O2 -m64 -mtune=ultrasparc  CPPFLAGS= 
CC=sparc-pld-linux-gcc CXX=sparc-pld-linux-g++ --host=sparc64-pld-linux 
--build=sparc64-pld-linux --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 
--libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/var/lib 
--mandir=/usr/share/man --infodir=/usr/share/info 
--x-libraries=/usr/X11R6/lib64 --enable-cxx --enable-fft
[...]

rm -fr .libs/libgmp.lax
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
/bin/sh ./libtool --tag=CXX   --mode=compile sparc-pld-linux-g++ 
-DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP    -O2 -m64 -mtune=ultrasparc  -c 
-o dummy.lo `test -f 'cxx/dummy.cc' || echo './'`cxx/dummy.cc
  sparc-pld-linux-g++ -DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP -O2 -m64 
-mtune=ultrasparc -c cxx/dummy.cc  -fPIC -DPIC -o .libs/dummy.o
  sparc-pld-linux-g++ -DHAVE_CONFIG_H -I. -D__GMP_WITHIN_GMP -O2 -m64 
-mtune=ultrasparc -c cxx/dummy.cc -o dummy.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX   --mode=link sparc-pld-linux-g++  -O2 -m64 
-mtune=ultrasparc  -Wc,-m64  -version-info 4:1:1  -o libgmpxx.la -rpath 
/usr/lib64 dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo 
cxx/ismpznw.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo 
cxx/osmpz.lo libgmp.la
sparc-pld-linux-g++ -shared -nostdlib 
/usr/lib64/gcc/sparc64-pld-linux/4.2.0/../../../../lib64/crti.o 
/usr/lib64/gcc/sparc64-pld-linux/4.2.0/crtbeginS.o  .libs/dummy.o 
cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o 
cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o 
cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o  -Wl,--rpath 
-Wl,/home/users/builder/rpm/BUILD/gmp-4.2.1/.libs -Wl,--rpath 
-Wl,/usr/lib64 ./.libs/libgmp.so 
-L/usr/lib64/gcc/sparc64-pld-linux/4.2.0 
-L/usr/lib64/gcc/sparc64-pld-linux/4.2.0/../../../../lib64 
-L/lib/../lib64 -L/usr/lib/../lib64 
-L/usr/lib64/gcc/sparc64-pld-linux/4.2.0/../../.. /usr/lib/libstdc++.so 
-L/usr/lib64/gcc/sparc64-pld-linux/4.2.0/32 -lm -lc -lgcc_s 
/usr/lib64/gcc/sparc64-pld-linux/4.2.0/crtendS.o 
/usr/lib64/gcc/sparc64-pld-linux/4.2.0/../../../../lib64/crtn.o  -m64 
-mtune=ultrasparc -m64 -Wl,-soname -Wl,libgmpxx.so.3 -o 
.libs/libgmpxx.so.3.1.1
/usr/lib/libstdc++.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [libgmpxx.la] Error 1
make[2]: Leaving directory `/home/users/builder/rpm/BUILD/gmp-4.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/builder/rpm/BUILD/gmp-4.2.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.26795 (%build)


RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.26795 (%build)

-- 
T.


Więcej informacji o liście dyskusyjnej pld-devel-pl