cross-kompilacja na sparca64, problem

sparky w pld-linux.org sparky w pld-linux.org
Pią, 27 Paź 2006, 21:33:28 CEST


pomyslalem ze skodo jackass sie bawi to mu zrobie busyboxa na sparca,
wiec sprobowalem do skompilowac pod 64-bity

zrobilem crosssparc64-uClibc, podbilem crosssparc64-gcc do 4.1.1 a mimo
to kazde linkowanie konczy sie mniej wiecej tak:


$ sparc64-uclibc-gcc -I/home/users/sparky/rpm/BUILD/busybox-1.2.2/include -I/home/users/sparky/rpm/BUILD/busybox-1.2.2/include -I/home/users/sparky/rpm/BUILD/busybox-1.2.2/libbb -D_GNU_SOURCE -Wall -Wstrict-prototypes -Wshadow -funsigned-char -fno-builtin-strlen -DNDEBUG -Os -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -Wstrict-prototypes -Wshadow -funsigned-char -fno-builtin-strlen -static -o busybox_unstripped -Wl,--start-group /home/users/sparky/rpm/BUILD/busybox-1.2.2/applets/applets.c /home/users/sparky/rpm/BUILD/busybox-1.2.2/applets/busybox.c /home/users/sparky/rpm/BUILD/busybox-1.2.2/applets/version.c /home/users/sparky/rpm/BUILD/busybox-1.2.2/applets/applets.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/archival/libunarchive/libunarchive.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/coreutils/coreutils.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/editors/editors.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/init/init.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/modutils/modutils.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/networking/networking.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/shell/shell.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/util-linux/util-linux.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/libpwdgrp/libpwdgrp.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/coreutils/libcoreutils/libcoreutils.a /home/users/sparky/rpm/BUILD/busybox-1.2.2/libbb/libbb.a -lm /usr/lib/gcc/sparc64-pld-linux/4.1.1/libgcc.a -Wl,--end-group

/usr/sparc64-linux-uclibc/usr/lib/libc.a(vfprintf.os): In function `vfprintf':
vfprintf.c:(.text+0x474): undefined reference to `_Qp_dtoq'
/usr/sparc64-linux-uclibc/usr/lib/libc.a(strtod.os): In function
`strtod':
strtod.c:(.text+0x28): undefined reference to `_Qp_qtod'
strtod.c:(.text+0x38): undefined reference to `_Qp_dtoq'
/usr/sparc64-linux-uclibc/usr/lib/libc.a(__strtofpmax.os): In function
`__strtofpmax':
__strtofpmax.c:(.text+0xf4): undefined reference to `_Qp_mul'
__strtofpmax.c:(.text+0x110): undefined reference to `_Qp_itoq'
__strtofpmax.c:(.text+0x138): undefined reference to `_Qp_add'
__strtofpmax.c:(.text+0x1fc): undefined reference to `_Qp_dtoq'
__strtofpmax.c:(.text+0x39c): undefined reference to `_Qp_feq'
__strtofpmax.c:(.text+0x404): undefined reference to `_Qp_div'
__strtofpmax.c:(.text+0x438): undefined reference to `_Qp_mul'
__strtofpmax.c:(.text+0x46c): undefined reference to `_Qp_mul'
__strtofpmax.c:(.text+0x4bc): undefined reference to `_Qp_mul'
__strtofpmax.c:(.text+0x4e8): undefined reference to `_Qp_feq'
/usr/sparc64-linux-uclibc/usr/lib/libc.a(__fp_range_check.os): In
function `__fp_range_check':
__fp_range_check.c:(.text+0x70): undefined reference to `_Qp_mul'
__fp_range_check.c:(.text+0x94): undefined reference to `_Qp_feq'
__fp_range_check.c:(.text+0xb4): undefined reference to `_Qp_fne'
__fp_range_check.c:(.text+0xe0): undefined reference to `_Qp_mul'
__fp_range_check.c:(.text+0x10c): undefined reference to `_Qp_feq'
/usr/sparc64-linux-uclibc/usr/lib/libc.a(_fpmaxtostr.os): In function
`_fpmaxtostr':
_fpmaxtostr.c:(.text+0xbc): undefined reference to `_Qp_fne'
_fpmaxtostr.c:(.text+0xf0): undefined reference to `_Qp_feq'
_fpmaxtostr.c:(.text+0x138): undefined reference to `_Qp_div'
_fpmaxtostr.c:(.text+0x15c): undefined reference to `_Qp_flt'
_fpmaxtostr.c:(.text+0x190): undefined reference to `_Qp_flt'
_fpmaxtostr.c:(.text+0x208): undefined reference to `_Qp_mul'
_fpmaxtostr.c:(.text+0x23c): undefined reference to `_Qp_feq'
_fpmaxtostr.c:(.text+0x2dc): undefined reference to `_Qp_flt'
_fpmaxtostr.c:(.text+0x314): undefined reference to `_Qp_mul'
_fpmaxtostr.c:(.text+0x34c): undefined reference to `_Qp_flt'
_fpmaxtostr.c:(.text+0x38c): undefined reference to `_Qp_div'
_fpmaxtostr.c:(.text+0x3b0): undefined reference to `_Qp_fge'
_fpmaxtostr.c:(.text+0x418): undefined reference to `_Qp_fge'
_fpmaxtostr.c:(.text+0x460): undefined reference to `_Qp_div'
_fpmaxtostr.c:(.text+0x490): undefined reference to `_Qp_qtoux'
_fpmaxtostr.c:(.text+0x4a0): undefined reference to `_Qp_uxtoq'
_fpmaxtostr.c:(.text+0x4d0): undefined reference to `_Qp_sub'
_fpmaxtostr.c:(.text+0x50c): undefined reference to `_Qp_mul'
/usr/sparc64-linux-uclibc/usr/lib/libc.a(__psfs_do_numeric.os): In
function `__psfs_do_numeric':
__psfs_do_numeric.c:(.text+0x600): undefined reference to `_Qp_qtod'
__psfs_do_numeric.c:(.text+0x614): undefined reference to `_Qp_qtos'
collect2: ld returned 1 exit status




jakies pomysly ?

-- 
 ____  Sparky{PI] -- Przemyslaw _  ___  _  _  ........... LANG...Pl..Ca..Es..En
/____) ___  ___  _ _ || Iskra  |  | _ \| |  | : WWW........ppcrcd.pld-linux.org
\____\| -_)'___| ||^'||//\\// <   |  _/| |  | : JID......sparky<at>jabberes.org
(____/||   (_-_|_||  ||\\ ||   |_ |_|  |_| _| : Mail....sparky<at>pld-linux.org


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