You are not logged in.
Pages: 1
I would to compile glibc and its dependencies. I work from a chroot created with tazdev (last Rolling-core updated)
First, although I don't use the [c]install[/c] option, the cooked packages are installed (this doesn't happen with Rolling-core64). So, I had to modify /usr/bin/cook to avoid this because installing glibc breaks the chroot: messages
[c]busybox: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory[/c]
each time I use cook or tazpkg.
This done, glibc and glibc-base seem to be compiled and packaged correctly despite some error messages, it is not possible to compile glibc-dev and glibc-locale ([c]ERROR: empty package[/c]).
I compiled a few other packages for test; I can see sometimes some error messages but packages are created.
Where can the problem come from for glibc-dev an glibc-locale?
Offline
Your "output-cook-glibc.txt" containing error with newer binutils from >=2.31:
/tmp/cchDxqrf.s: Assembler messages:
/tmp/cchDxqrf.s: Error: `_obstack@GLIBC_2.0' can't be versioned to common symbol '_obstack_compat'
make[2]: *** [../o-iterator.mk:9: /home/slitaz/wok/glibc/source/glibc-build/malloc/obstack.os] Error 1
make[2]: Leaving directory '/home/slitaz/wok/glibc/source/glibc-2.14.1/malloc'
make[1]: *** [Makefile:221: malloc/subdir_lib] Error 2
make[1]: Leaving directory '/home/slitaz/wok/glibc/source/glibc-2.14.1'
make: *** [Makefile:12: all] Error 2
Use this patch for build with newer binutils:
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 5786da0aa4..c27a422077 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -116,7 +116,7 @@ int obstack_exit_failure = EXIT_FAILURE;
/* A looong time ago (before 1994, anyway; we're not sure) this global variable
was used by non-GNU-C macros to avoid multiple evaluation. The GNU C
library still exports it because somebody might use it. */
-struct obstack *_obstack_compat;
+struct obstack *_obstack_compat = 0;
compat_symbol (libc, _obstack_compat, _obstack, GLIBC_2_0);
# endif
# endif
Offline
Related thread:
http://forum.slitaz.org/topic/glibc-217-problem#post-48734
Offline
@ Saipul and mojo,
I'll have a look at it. Thanks a lot at both of you.
Offline
Pages: 1
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]