Gentoo Archives: gentoo-embedded

From: Lorenzo Marussi <lorenzo@×××××××××××××××.it>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] error building uclibc-0.9.28.1
Date: Fri, 16 Feb 2007 10:56:42
Message-Id: abb9c91cc7bd37815b3b986c03f67c73@aurora
1 Hi list
2
3 I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a system
4 update. ( I mounted proc e portage, I make env-update && source
5 /etc/profile)
6
7 When I try to update uclibc to 0.9.28.1 version I get this error:
8
9
10
11 make[2]: Entering directory
12 `/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc/unistd'
13 make[2]: Nothing to be done for `all'.
14 make[2]: Leaving directory
15 `/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc/unistd'
16 rm -f libc.a shared_libc.a
17 objs=`cat obj.*` ; \
18 i386-gentoo-linux-uclibc-ar cr libc.a $objs && \
19 i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs && \
20 i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs
21 i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
22 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
23 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
24 i386-gentoo-linux-uclibc-ar cr libc.a obj.string
25 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
26 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
27 cp libc.a shared_libc.a
28 i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
29 i386-gentoo-linux-uclibc-ranlib libc.a
30 i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
31 -z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
32 --whole-archive shared_libc.a \
33 ../libc/misc/internals/interp.o --no-whole-archive \
34 -init __uClibc_init ../lib/ld-uClibc.so.0
35 /usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
36 shared_libc.a(difftime.o): In function `difftime':
37 time.c:(.text+0x16): undefined reference to `__floatsidf'
38 time.c:(.text+0x2e): undefined reference to `__subdf3'
39 shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
40 _fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
41 _fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
42 _fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
43 _fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
44 _fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
45 _fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
46 _fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
47 _fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
48 _fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
49 shared_libc.a(vfprintf.o): In function `vfprintf':
50 vfprintf.c:(.text+0x44c): undefined reference to `__extenddfxf2'
51 shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
52 scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
53 scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
54 shared_libc.a(strtof.o): In function `strtof':
55 strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
56 shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
57 strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
58 make[1]: *** [shared] Error 1
59 make[1]: Leaving directory
60 `/var/tmp/portage/sys-libs/uclibc-0.9.28.1/work/uClibc-0.9.28.1/libc'
61 make: *** [shared] Error 2
62
63 !!! ERROR: sys-libs/uclibc-0.9.28.1 failed.
64 Call stack:
65 ebuild.sh, line 1614: Called dyn_compile
66 ebuild.sh, line 971: Called qa_call 'src_compile'
67 environment, line 3360: Called src_compile
68 uclibc-0.9.28.1.ebuild, line 386: Called die
69
70 !!! make failed
71 !!! If you need support, post the topmost build error, and the call stack if
72 relevant.
73 !!! A complete build log is located at
74 '/var/tmp/portage/sys-libs/uclibc-0.9.28.1/temp/build.log'.
75
76
77
78 If I update to 0.9.28-r2 I get this error:
79
80
81 make[2]: Leaving directory
82 `/var/tmp/portage/sys-libs/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/unistd'
83 rm -f libc.a shared_libc.a
84 objs=`cat obj.*` ; \
85 i386-gentoo-linux-uclibc-ar cr libc.a $objs && \
86 i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs && \
87 i386-gentoo-linux-uclibc-ar dN 2 libc.a $objs
88 i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
89 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
90 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
91 i386-gentoo-linux-uclibc-ar cr libc.a obj.string
92 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
93 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
94 cp libc.a shared_libc.a
95 i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
96 i386-gentoo-linux-uclibc-ranlib libc.a
97 i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
98 -z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
99 --whole-archive shared_libc.a \
100 ../libc/misc/internals/interp.o --no-whole-archive \
101 -init __uClibc_init ../lib/ld-uClibc.so.0
102 /usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
103 shared_libc.a(difftime.o): In function `difftime':
104 time.c:(.text+0x16): undefined reference to `__floatsidf'
105 time.c:(.text+0x2e): undefined reference to `__subdf3'
106 shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
107 _fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
108 _fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
109 _fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
110 _fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
111 _fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
112 _fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
113 _fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
114 _fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
115 _fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
116 shared_libc.a(vfprintf.o): In function `vfprintf':
117 vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
118 shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
119 scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
120 scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
121 shared_libc.a(strtof.o): In function `strtof':
122 strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
123 shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
124 strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
125 make[1]: *** [shared] Error 1
126 make[1]: Leaving directory
127 `/var/tmp/portage/sys-libs/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc'
128 make: *** [shared] Error 2
129
130 !!! ERROR: sys-libs/uclibc-0.9.28-r2 failed.
131 Call stack:
132 ebuild.sh, line 1614: Called dyn_compile
133 ebuild.sh, line 971: Called qa_call 'src_compile'
134 environment, line 3359: Called src_compile
135 uclibc-0.9.28-r2.ebuild, line 385: Called die
136
137 !!! make failed
138 !!! If you need support, post the topmost build error, and the call stack if
139 relevant.
140 !!! A complete build log is located at
141 '/var/tmp/portage/sys-libs/uclibc-0.9.28-r2/temp/build.log'.
142
143
144 This is for uclibc-0.9.28-r1
145
146 cp libc.a shared_libc.a
147 i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
148 i386-gentoo-linux-uclibc-ranlib libc.a
149 i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
150 -z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
151 --whole-archive shared_libc.a \
152 ../libc/misc/internals/interp.o --no-whole-archive \
153 -init __uClibc_init ../lib/ld-uClibc.so.0
154 /usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
155 shared_libc.a(difftime.o): In function `difftime':
156 time.c:(.text+0x16): undefined reference to `__floatsidf'
157 time.c:(.text+0x2e): undefined reference to `__subdf3'
158 shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
159 _fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
160 _fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
161 _fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
162 _fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
163 _fpmaxtostr.c:(.text+0x1cf): undefined reference to `__mulxf3'
164 _fpmaxtostr.c:(.text+0x46c): undefined reference to `__gexf2'
165 _fpmaxtostr.c:(.text+0x560): undefined reference to `__floatsixf'
166 _fpmaxtostr.c:(.text+0x579): undefined reference to `__addxf3'
167 _fpmaxtostr.c:(.text+0x58d): undefined reference to `__subxf3'
168 shared_libc.a(vfprintf.o): In function `vfprintf':
169 vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
170 shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
171 scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
172 scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
173 shared_libc.a(strtof.o): In function `strtof':
174 strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
175 shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
176 strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
177 make[1]: *** [shared] Error 1
178 make[1]: Leaving directory
179 `/var/tmp/portage/sys-libs/uclibc-0.9.28-r1/work/uClibc-0.9.28/libc'
180 make: *** [shared] Error 2
181
182 !!! ERROR: sys-libs/uclibc-0.9.28-r1 failed.
183 Call stack:
184 ebuild.sh, line 1614: Called dyn_compile
185 ebuild.sh, line 971: Called qa_call 'src_compile'
186 environment, line 3359: Called src_compile
187 uclibc-0.9.28-r1.ebuild, line 385: Called die
188
189 !!! make failed
190 !!! If you need support, post the topmost build error, and the call stack if
191 relevant.
192 !!! A complete build log is located at
193 '/var/tmp/portage/sys-libs/uclibc-0.9.28-r1/temp/build.log'.
194
195 this is for 0.9.28:
196
197 i386-gentoo-linux-uclibc-ar cr libc.a obj.signal
198 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.generic
199 i386-gentoo-linux-uclibc-ar cr libc.a obj.string.i386
200 i386-gentoo-linux-uclibc-ar cr libc.a obj.string
201 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.common
202 i386-gentoo-linux-uclibc-ar cr libc.a obj.sysdeps.i386
203 cp libc.a shared_libc.a
204 i386-gentoo-linux-uclibc-ar cr libc.a misc/internals/static.o
205 i386-gentoo-linux-uclibc-ranlib libc.a
206 i386-gentoo-linux-uclibc-ld -shared --warn-common --warn-once -z combreloc
207 -z defs -s -z relro -soname=libc.so.0 -o libuClibc-0.9.28.so \
208 --whole-archive shared_libc.a \
209 ../libc/misc/internals/interp.o --no-whole-archive \
210 -init __uClibc_init ../lib/ld-uClibc.so.0
211 /usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.1/libgcc.a
212 shared_libc.a(difftime.o): In function `difftime':
213 time.c:(.text+0x16): undefined reference to `__floatsidf'
214 time.c:(.text+0x2e): undefined reference to `__subdf3'
215 shared_libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
216 _fpmaxtostr.c:(.text+0xbe): undefined reference to `__nexf2'
217 _fpmaxtostr.c:(.text+0xe8): undefined reference to `__eqxf2'
218 _fpmaxtostr.c:(.text+0x10d): undefined reference to `__divxf3'
219 _fpmaxtostr.c:(.text+0x11e): undefined reference to `__ltxf2'
220 _fpmaxtostr.c:(.text+0x201): undefined reference to `__mulxf3'
221 _fpmaxtostr.c:(.text+0x49e): undefined reference to `__gexf2'
222 _fpmaxtostr.c:(.text+0x55a): undefined reference to `__floatsixf'
223 _fpmaxtostr.c:(.text+0x573): undefined reference to `__addxf3'
224 _fpmaxtostr.c:(.text+0x587): undefined reference to `__subxf3'
225 shared_libc.a(vfprintf.o): In function `vfprintf':
226 vfprintf.c:(.text+0x43a): undefined reference to `__extenddfxf2'
227 shared_libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
228 scanf.c:(.text+0x51f): undefined reference to `__truncxfdf2'
229 scanf.c:(.text+0x540): undefined reference to `__truncxfsf2'
230 shared_libc.a(strtof.o): In function `strtof':
231 strtod.c:(.text+0x42): undefined reference to `__extendsfxf2'
232 shared_libc.a(__strtofpmax.o): In function `__strtofpmax':
233 strtod.c:(.text+0x1f8): undefined reference to `__divdf3'
234 make[1]: *** [shared] Error 1
235 make[1]: Leaving directory
236 `/var/tmp/portage/sys-libs/uclibc-0.9.28/work/uClibc-0.9.28/libc'
237 make: *** [shared] Error 2
238
239 !!! ERROR: sys-libs/uclibc-0.9.28 failed.
240 Call stack:
241 ebuild.sh, line 1614: Called dyn_compile
242 ebuild.sh, line 971: Called qa_call 'src_compile'
243 environment, line 3359: Called src_compile
244 uclibc-0.9.28.ebuild, line 385: Called die
245
246 !!! make failed
247 !!! If you need support, post the topmost build error, and the call stack if
248 relevant.
249 !!! A complete build log is located at
250 '/var/tmp/portage/sys-libs/uclibc-0.9.28/temp/build.log'.
251
252
253
254 this is my make.conf:
255
256 CFLAGS="-Os -pipe"
257 CHOST="i386-gentoo-linux-uclibc"
258 CXXFLAGS="-Os -pipe"
259 LDFLAGS="-Wl,-z,relro"
260
261 FEATURES="ccache buildpkg"
262 USE="minimal nodoc noman noinfo uclibc"
263 PKGDIR="${PORTDIR}/packages/uclibc" # Store .tbz2's in their own directory
264 UCLIBC_CPU="386"
265
266
267 emerge --info:
268
269 Portage 2.1.2-r9 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28-r0, 2.6.19-gentoo-r4
270 x86_64)
271 =================================================================
272 System uname: 2.6.19-gentoo-r4 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz
273 Gentoo Base System version 1.12.6
274 Timestamp of tree: Thu, 15 Feb 2007 21:50:01 +0000
275 ccache version 2.4 [enabled]
276 dev-lang/python: 2.4.3-r4
277 dev-python/pycrypto: 2.0.1-r5
278 dev-util/ccache: 2.4-r6
279 sys-apps/sandbox: 1.2.17
280 sys-devel/autoconf: 2.60
281 sys-devel/automake: 1.6.3, 1.9.6-r2, 1.10
282 sys-devel/binutils: 2.16.1-r3
283 sys-devel/gcc-config: 1.3.13-r4
284 sys-devel/libtool: 1.5.22
285 virtual/os-headers: 2.6.17-r2
286 ACCEPT_KEYWORDS="x86"
287 AUTOCLEAN="yes"
288 CBUILD="i386-gentoo-linux-uclibc"
289 CFLAGS="-Os -pipe"
290 CHOST="i386-gentoo-linux-uclibc"
291 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
292 /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
293 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
294 CXXFLAGS="-Os -pipe"
295 DISTDIR="/usr/portage/distfiles"
296 FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc
297 noinfo noman sandbox sfperms strict"
298 GENTOO_MIRRORS="http://distfiles.gentoo.org
299 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
300 LDFLAGS="-Wl,-z,relro"
301 PKGDIR="/packages/uclibc"
302 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
303 --compress --force --whole-file --delete --delete-after --stats
304 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
305 PORTAGE_TMPDIR="/var/tmp"
306 PORTDIR="/usr/portage"
307 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
308 USE="bitmap-fonts cli cracklib dlloader dri midi minimal ncurses nodoc
309 noinfo noman pcre readline reflection session spl truetype-fonts type1-fonts
310 uclibc x86 xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
311 dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
312 mulaw multi null plug rate route share shm softvol" ELIBC="uclibc"
313 INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad
314 cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
315 USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
316 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
317 MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
318
319
320 if I switch to this make.conf:
321
322
323 CFLAGS="-Os -pipe"
324 CHOST="i686-gentoo-linux-uclibc"
325 CXXFLAGS="-Os -pipe"
326 LDFLAGS="-Wl,-z,relro"
327
328 FEATURES="ccache buildpkg"
329 USE="minimal nodoc noman noinfo uclibc"
330 PKGDIR="${PORTDIR}/packages/uclibc" # Store .tbz2's in their own directory
331 UCLIBC_CPU="686"
332
333
334 Using 686 instead of 386 nothing changes....
335
336 Where is the error?? I didn't understand...
337
338 thanks
339
340
341
342 --
343 Lorenzo Marussi
344
345
346 --
347 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] error building uclibc-0.9.28.1 Vitaly Ivanov <im@×××.ru>