Hi,

I am trying to cross compile freetype-2.3.4-r2 onto an
x86-pc-linux-uclibc host. My build system is an i686-pc-linux-gnu
system. The ebuild fails at the ft2demos part. Is there a
gentoo-embedded workaround? I am tempted to write my own ebuild that
skips the ft2demos.

I am using crossdev-0.9.18-r3, the xmerge script, gcc-4.1.2,
uclibc-0.9.28.3, portage-2.1.3.9 and binutils-2.17-r1. The full output
of "xmerge --info" is pasted at the bottom.

Here is the error message:

/usr/libexec/gcc/i686-pc-linux-uclibc/ld: warning: libc.so.0, needed by
/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/freetype-2.3.4/objs/.libs/libfreetype.so,
may conflict with libc.so.6
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: errno@@GLIBC_PRIVATE: TLS
definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition
in /usr/i686-pc-linux-uclibc/lib/libc.so.0 section .bss
/usr/i686-pc-linux-uclibc/lib/libc.so.0: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: ***
[/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/ft2demos-2.3.4/bin/ftmulti]
Error 1
make: *** Waiting for unfinished jobs....
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: warning: libc.so.0, needed by
/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/freetype-2.3.4/objs/.libs/libfreetype.so,
may conflict with libc.so.6
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: errno@@GLIBC_PRIVATE: TLS
definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition
in /usr/i686-pc-linux-uclibc/lib/libc.so.0 section .bss
/usr/i686-pc-linux-uclibc/lib/libc.so.0: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: ***
[/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/ft2demos-2.3.4/bin/ftview]
Error 1
 *
 * ERROR: media-libs/freetype-2.3.4-r2 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   freetype-2.3.4-r2.ebuild, line 102:   Called die
 *
 * ft2demos emake failed
 * If you need support, post the topmost build error, and the call stack
if relevant.
 * A complete build log is located at
'/var/tmp/portage/media-libs/freetype-2.3.4-r2/temp/build.log'.
 *


Thanks,
~Dan

xmerge --info
Portage 2.1.3.9 (uclibc/x86, gcc-4.1.2, unavailable, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) XP 1600+
Timestamp of tree: Sat, 22 Sep 2007 10:00:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686  -msse -mmmx -mfpmath=sse  -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc
noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo";
MAKEOPTS="-j2"
PKGDIR="/opt/dmb-binary-packages/i686-pc-linux-uclibc"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/dmb-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi aiglx alsa avahi bitmap-fonts cle266 cli cracklib dri dts
lm_sensors midi mmx mudflap ncurses openmp pcre readline reflection sdl
session spl sse symlink truetype truetype-fonts type1 type1-fonts uclibc
unichrome v4l vorbis x86 xcb xorg xv xvmc zlib" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mulaw multi null plug rate route share shm
softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" USERLAND="GNU" VIDEO_CARDS="via fbdev vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


-- 
[EMAIL PROTECTED] mailing list

Reply via email to