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 install
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
busybox: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
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 (ERROR: empty package
).
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?
Unable to compile glibc-dev / glibc-locale
(4 posts) (3 voices)-
Posted 4 years ago #
-
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 2Use 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
# endifPosted 4 years ago # -
Related thread:
http://forum.slitaz.org/topic/glibc-217-problem#post-48734Posted 4 years ago # -
@ Saipul and mojo,
I'll have a look at it. Thanks a lot at both of you.
Posted 4 years ago #
Reply
You must log in to post.