Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Daniel <dragonheart@...>, <solar@g.o>
From: "Peter S. Mazinger" <ps.m@...>
Subject: Re: uclibc buildroot/ toolchain
Date: Mon, 15 Dec 2003 00:37:55 +0100 (CET)
On Sun, 14 Dec 2003, Peter S. Mazinger wrote:

> I had also following scenario (I do not know how to simulate this in a
> glibc env, setlocale() has to be somehow disabled to test):
> clean uClibc environment (no glibc) built w/o locale, rebuilding uClibc w/ 
> locale, if XLOCALE is enabled it will fail, so the only way to get the 
> XLOCALE option is to build already the toolchain with it, afterwards (I 
> mean building for the target) it is too late.

Forget the above part about XLOCALE. Correctly it is:
clean uClibc env (no glibc) built w/o locale, rebuilding uClibc w/ locale, 
binary compatibility remains, you can use the libraries instead of the 
non-locale version. If you want to add XLOCALE, (you definitely need the 
attached ldconfig patch, w/o it you can't build ldconfig, because it uses 
the installed library, not the built one) you loose binary compatibility, 
so the only option for XLOCALE is to enable it already in the toolchain.

I have also attached the patch to remove COMPLETELY_PIC, not needed and 
used, only disturbing.

Peter

---
Peter S. Mazinger <ps.m@...>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
--- uClibc-0.9.23/extra/Configs/Config.in.mps	Wed Nov 19 15:51:08 2003
+++ uClibc-0.9.23/extra/Configs/Config.in	Wed Nov 19 15:51:25 2003
@@ -164,7 +164,7 @@
 
 config FORCE_SHAREABLE_TEXT_SEGMENTS
 	bool "Only load shared libraries which can share their text segment"
-	depends on BUILD_UCLIBC_LDSO && UCLIBC_COMPLETELY_PIC
+	depends on BUILD_UCLIBC_LDSO
 	default n
 	help
 	  If you answer Y here, the uClibc native shared library loader will
--- utils/Makefile.mps	2003-12-14 22:50:16.000000000 +0100
+++ utils/Makefile	2003-12-14 22:50:33.000000000 +0100
@@ -53,7 +53,7 @@
 	$(CC) $(CFLAGS) $(XXFLAGS) -Wl,-s -static \
 		-DUCLIBC_RUNTIME_PREFIX=$(R_PREFIX) \
 		-DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
-		$^ -o $@ $(LDADD_LIBFLOAT)
+		$^ -o $@ $(LDADD_LIBFLOAT) -L../lib
 	$(STRIPTOOL) -x -R .note -R .comment $@
 
 ldd:	ldd.c
--
gentoo-embedded@g.o mailing list
References:
Re: uclibc buildroot/ toolchain
-- Peter S. Mazinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: uclibc buildroot/ toolchain
Next by thread:
status of project
Previous by date:
Re: uclibc buildroot/ toolchain
Next by date:
new to gentoo-embedded


Updated Jun 17, 2009

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.