|
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
Hello!
1. the pie-option patch enforces COMPLETELY_PIC (because it is unsettable
from .config), both occurences can be removed
2. use etdyn should change to use pie, and it is mandatory due to the fact
that if PROFILING is active, libc has text relocations, and won't work
with the current settings (FORCE_SHAREABLE_TEXT_SEGMENTS). The other way
would be to remove COMPLETELY_PIC as requirement from
FORCE_SHAREABLE_TEXT_SEGMENTS (it is unused in the sources, I have
alreaddy proposed it to the uclibc devs), than
FORCE_SHAREABLE_TEXT_SEGMENTS can be set through .config (and the
pie-option patch has to be slightly modified)
the PROFILING option could also be moved to use debug.
3. the DOWNLOAD_LOCALE_PREGENERATED_DATA it first set to no (this is OK),
after that changed. If you copy the tarball to extra/locale dir, than it
is not needed to be downloaded, so I propose to leave it unset, and use it
for x86. If you do not use the pregenerated data, then I had problems
building them within an rpm-build. It works though from the commandline. I
think, the background processing through rpm (this could influence gentoo
building too) is somehow the problem and it segfaults.
4. if you want to build your own data, then LOCALES has to be copied to
locales.txt
5. if you unset UCLIBC_HAS_LOCALE, then all the other related options are
unset (XLOCALE, etc)
6. the pie-option patch is applied again in src_compile
See attached diff to show what I have all meant.
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
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
|
--- gentoo/uclibc-buildroot-20040131.ebuild.mps Sun Feb 1 15:08:03 2004
+++ gentoo/uclibc-buildroot-20040131.ebuild Sun Feb 1 15:25:33 2004
@@ -324,12 +324,12 @@
-e "s,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"${WORKDIR}/linux\"," \
-e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
-e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
- -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
- -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' .config
+ -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' .config
if [ `use debug` ]; then
uclibc_config_option y DODEBUG
uclibc_config_option y PTHREADS_DEBUG_SUPPORT
+ #uclibc_config_option y CONFIG_PROFILING
# Other possibe options for debug use flag
# DOASSERTS
# SUPPORT_LD_DEBUG
@@ -338,6 +338,7 @@
else
uclibc_config_option n DODEBUG
uclibc_config_option n PTHREADS_DEBUG_SUPPORT
+ uclibc_config_option n CONFIG_PROFILING
fi
[ `use ipv6` ] && uclibc_config_option y UCLIBC_HAS_IPV6 || \
@@ -350,15 +351,13 @@
uclibc_config_option n UCLIBC_HAS_MMU
- # Thanks peter for pointing this one out.
- #[ `use etdyn` ] && uclibc_config_option n CONFIG_PROFILING
+ # profiling introduces text relocations into libc
+ [ `use pie` ] && uclibc_config_option n CONFIG_PROFILING
if [ `use pie` ]; then
uclibc_config_option y UCLIBC_PIE_SUPPORT
- uclibc_config_option y UCLIBC_COMPLETELY_PIC
else
uclibc_config_option n UCLIBC_PIE_SUPPORT
- uclibc_config_option n UCLIBC_COMPLETELY_PIC
fi
[ `use propolice` ] && uclibc_config_option y UCLIBC_PROPOLICE || \
@@ -382,13 +381,12 @@
#pregen is for i386 architectures only
if [ ${TARGETARCH}=="i386" ]; then
uclibc_config_option y UCLIBC_PREGENERATED_LOCALE_DATA
- uclibc_config_option y UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
cp ${DISTDIR}/uClibc-locale-030818.tgz ${UCLIBCDIR}/extra/locale
else
uclibc_config_option n UCLIBC_PREGENERATED_LOCALE_DATA
- uclibc_config_option n UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
pushd extra/locale
find charmaps -name "*.pairs" > codesets.txt
+ cp LOCALES locales.txt
emake clean all || die "Could not generate codepages"
popd
fi
@@ -400,13 +398,6 @@
# lots of stuff from uclibc.spec - TODO LATER
else
uclibc_config_option n UCLIBC_HAS_LOCALE
- uclibc_config_option n UCLIBC_PREGENERATED_LOCALE_DATA
- uclibc_config_option n UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
- uclibc_config_option n UCLIBC_HAS_XLOCALE
- uclibc_config_option n UCLIBC_HAS_HEXADECIMAL_FLOATS
- uclibc_config_option n UCLIBC_HAS_GLIBC_DIGIT_GROUPING
- uclibc_config_option n UCLIBC_HAS_SCANF_LENIENT_DIGIT_GROUPING
- uclibc_config_option n UCLIBC_HAS_GETTEXT_AWARENESS
fi
@@ -427,6 +418,7 @@
emake extras-compile
fi
cd ${UCLIBCDIR}
+ # why is this here again?
local patches="uClibc-${PV}-pie-option.patch"
for patch in ${patches} ; do
|
--
gentoo-embedded@g.o mailing list |
|
|
Updated Jun 17, 2009 |
Summary:
Archive of the gentoo-embedded mailing list.
|
|
Donate to support our development efforts.
|
|
|