1 |
Hi, |
2 |
|
3 |
I am trying to cross compile freetype-2.3.4-r2 onto an |
4 |
x86-pc-linux-uclibc host. My build system is an i686-pc-linux-gnu |
5 |
system. The ebuild fails at the ft2demos part. Is there a |
6 |
gentoo-embedded workaround? I am tempted to write my own ebuild that |
7 |
skips the ft2demos. |
8 |
|
9 |
I am using crossdev-0.9.18-r3, the xmerge script, gcc-4.1.2, |
10 |
uclibc-0.9.28.3, portage-2.1.3.9 and binutils-2.17-r1. The full output |
11 |
of "xmerge --info" is pasted at the bottom. |
12 |
|
13 |
Here is the error message: |
14 |
|
15 |
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: warning: libc.so.0, needed by |
16 |
/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/freetype-2.3.4/objs/.libs/libfreetype.so, |
17 |
may conflict with libc.so.6 |
18 |
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: errno@@GLIBC_PRIVATE: TLS |
19 |
definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition |
20 |
in /usr/i686-pc-linux-uclibc/lib/libc.so.0 section .bss |
21 |
/usr/i686-pc-linux-uclibc/lib/libc.so.0: could not read symbols: Bad value |
22 |
collect2: ld returned 1 exit status |
23 |
make: *** |
24 |
[/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/ft2demos-2.3.4/bin/ftmulti] |
25 |
Error 1 |
26 |
make: *** Waiting for unfinished jobs.... |
27 |
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: warning: libc.so.0, needed by |
28 |
/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/freetype-2.3.4/objs/.libs/libfreetype.so, |
29 |
may conflict with libc.so.6 |
30 |
/usr/libexec/gcc/i686-pc-linux-uclibc/ld: errno@@GLIBC_PRIVATE: TLS |
31 |
definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition |
32 |
in /usr/i686-pc-linux-uclibc/lib/libc.so.0 section .bss |
33 |
/usr/i686-pc-linux-uclibc/lib/libc.so.0: could not read symbols: Bad value |
34 |
collect2: ld returned 1 exit status |
35 |
make: *** |
36 |
[/var/tmp/portage/media-libs/freetype-2.3.4-r2/work/ft2demos-2.3.4/bin/ftview] |
37 |
Error 1 |
38 |
* |
39 |
* ERROR: media-libs/freetype-2.3.4-r2 failed. |
40 |
* Call stack: |
41 |
* ebuild.sh, line 1654: Called dyn_compile |
42 |
* ebuild.sh, line 990: Called qa_call 'src_compile' |
43 |
* ebuild.sh, line 44: Called src_compile |
44 |
* freetype-2.3.4-r2.ebuild, line 102: Called die |
45 |
* |
46 |
* ft2demos emake failed |
47 |
* If you need support, post the topmost build error, and the call stack |
48 |
if relevant. |
49 |
* A complete build log is located at |
50 |
'/var/tmp/portage/media-libs/freetype-2.3.4-r2/temp/build.log'. |
51 |
* |
52 |
|
53 |
|
54 |
Thanks, |
55 |
~Dan |
56 |
|
57 |
xmerge --info |
58 |
Portage 2.1.3.9 (uclibc/x86, gcc-4.1.2, unavailable, 2.6.22-gentoo-r5 i686) |
59 |
================================================================= |
60 |
System uname: 2.6.22-gentoo-r5 i686 AMD Athlon(tm) XP 1600+ |
61 |
Timestamp of tree: Sat, 22 Sep 2007 10:00:09 +0000 |
62 |
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) |
63 |
[disabled] |
64 |
ccache version 2.4 [enabled] |
65 |
app-shells/bash: 3.2_p17 |
66 |
dev-java/java-config: 1.3.7, 2.0.33-r1 |
67 |
dev-lang/python: 2.3.5-r3, 2.4.4-r5 |
68 |
dev-python/pycrypto: 2.0.1-r6 |
69 |
dev-util/ccache: 2.4-r7 |
70 |
sys-apps/baselayout: 1.12.9-r2 |
71 |
sys-apps/sandbox: 1.2.17 |
72 |
sys-devel/autoconf: 2.13, 2.61-r1 |
73 |
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 |
74 |
sys-devel/binutils: 2.17-r1 |
75 |
sys-devel/gcc-config: 1.3.16 |
76 |
sys-devel/libtool: 1.5.24 |
77 |
virtual/os-headers: 2.6.21 |
78 |
ACCEPT_KEYWORDS="x86" |
79 |
CBUILD="i686-pc-linux-gnu" |
80 |
CFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe |
81 |
-fomit-frame-pointer" |
82 |
CHOST="i686-pc-linux-uclibc" |
83 |
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config |
84 |
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" |
85 |
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf |
86 |
/etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" |
87 |
CXXFLAGS="-O2 -march=i686 -msse -mmmx -mfpmath=sse -pipe |
88 |
-fomit-frame-pointer" |
89 |
DISTDIR="/usr/portage/distfiles" |
90 |
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc |
91 |
noinfo noman sandbox sfperms strict" |
92 |
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo" |
93 |
MAKEOPTS="-j2" |
94 |
PKGDIR="/opt/dmb-binary-packages/i686-pc-linux-uclibc" |
95 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
96 |
--compress --force --whole-file --delete --delete-after --stats |
97 |
--timeout=180 --exclude='/distfiles' --exclude='/local' |
98 |
--exclude='/packages'" |
99 |
PORTAGE_TMPDIR="/var/tmp" |
100 |
PORTDIR="/usr/portage" |
101 |
PORTDIR_OVERLAY="/usr/local/dmb-portage" |
102 |
SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
103 |
USE="X acpi aiglx alsa avahi bitmap-fonts cle266 cli cracklib dri dts |
104 |
lm_sensors midi mmx mudflap ncurses openmp pcre readline reflection sdl |
105 |
session spl sse symlink truetype truetype-fonts type1 type1-fonts uclibc |
106 |
unichrome v4l vorbis x86 xcb xorg xv xvmc zlib" ALSA_PCM_PLUGINS="adpcm |
107 |
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug |
108 |
ladspa lfloat linear meter mulaw multi null plug rate route share shm |
109 |
softvol" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" |
110 |
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb |
111 |
ncurses text" USERLAND="GNU" VIDEO_CARDS="via fbdev vesa" |
112 |
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, |
113 |
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, |
114 |
PORTAGE_RSYNC_EXTRA_OPTS |
115 |
|
116 |
|
117 |
-- |
118 |
gentoo-embedded@g.o mailing list |