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
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
To: "Peter S. Mazinger" <ps.m@...>, gentoo-embedded@g.o
From: Daniel <dragonheart@...>
Subject: Re: Re: uclibc buildroot/ toolchain
Date: Sun, 14 Dec 2003 11:14:43 +0930
Hash: SHA1

> Some proposals for uclibc.ebuild 20031206 (reading it only, not tested):
> 1. do not activate SYS_SIGLIST (and SYS_ERRLIST), they are obsoleted and
> no SuSv3 requirement, probably will be removed, and they are easy to
> replace (using sed if you like), there are not so many packages until now
> where I needed it to patch.
> sys_siglist[sig] = strsignal(sig) /* util-linux */
> sys_errlist[err] = strerror(err)  /* iputils, tcp_wrappers */

The only reason I put these is was because the busybox 0.60.5 used one of 

> 2. use busybox and tinylogin cvs snapshots (or at least 1.0.0-pre4 for
> busybox), the changes from 0.60.5 are massive.

Sounds good - that will fix #1.

> 3. I do not understand why WGET has to be set to true, if you have all
> the needed files in sources/dl (DL_DIR), nothing will be downloaded.

Its basically to remove the dependancy that wget exists. Someone may have 
removed this and I did want to put it as a dependancy since it realy didn't 
get used. The portage system will downloads the files from the SRC_URI.

> 4. check uclibc.config and -locale, they are not always in sync (as
> of this writing UNIX98PTY_ONLY is different). My build procedure runs make
> defconfig (getting defaults for arch), after that I add echo
> "CONFIG_<option>=y/n" >> .config and rerun make oldconfig (look in
> uclibc.spec). Easier though is to have only the locale config, copy to
> .config ,echo "CONFIG_LOCALE=n" >> .config, make oldconfig to get
> nonlocal.

This is great. I was looking for the way to remove interactivity ;-).

> 5. No comment on src_install, do not know gentoo requirements, 

Gentoo creates a image before the install at 
${D} /var/tmp/portage/uclibc-buildroot-0.9.23/image and this is forced to be 
empty at the start of src_install. I've sort of got to copy from staging_dir 
to ${D} which is a bit of a waste of space and time. More makefile hacking to 
fix this.

> but check
> the files in $ROOT/usr/lib/gcc-lib/*/version/include, I had here a
> "fixed" zutil.h and linux/nls.h, there could be others too (my build
> system was minimal at that moment) 

I've got that as a symlink like:
/usr/lib/gcc-lib/i386-uclibc/0.9.23 -> /usr/i386-uclibc/lib

The gcc-config (gentoo wrapper gcc/g++ that maps to specific compilers) looked 
for something in /usr/lib/... so I just symlinked an that seems to work. I 
need to verify this later.

The linux/nls.h and the zutil.h are the standard kernel headers. I found a 
zutil.h in toolchain_build_$(ARCH)/gcc-3.3.2/zlib/zutil.h have you modified 
this one?

> and it looks like all these get higher
> priority as those installed in $ROOT/usr/include subdir (and you'll end up
> building against different version of headers and libs)

If you're cross compiling isn't this the desired behaviour? Yes I do need to 
somehow handle different kernel versions somehow - will think about later.

I'm not sure totaly what you're refering to here but I will look into it a 

I'm intested in incorportating your fixed files along the etdyn and 
propolice(?)  patches ones that Ned is also trying to get off you.

> 6. My changes to (non-locale) config are:
> - CONFIG_PROFILING=n (for "use etdyn" it should be a requirement due to
> TEXTREL in, checked up to cvs)
> - PTHREADS_DEBUG_SUPPORT=n if non-debugging
> - UCLIBC_HAS_SCANF_GLIBC_GLIBC_A_FLAG=n /* not really implemented */
> - UCLIBC_HAS_TZ_FILE_READ_MANY=n /* we change only once /etc/TZ */

Ok will incorporate this. A locale config would be the same right? or is there 
some other weird dependancy.

> Best regards, Peter

Thankyou kindly

- -- 

Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
Version: GnuPG v1.2.3 (GNU/Linux)


gentoo-embedded@g.o mailing list

Re: uclibc buildroot/ toolchain
-- Peter S. Mazinger
Re: uclibc buildroot/ toolchain
-- Peter S. Mazinger
Re: uclibc buildroot/ toolchain
-- Peter S. Mazinger
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: uclibc buildroot/ toolchain
Next by thread:
Re: uclibc buildroot/ toolchain
Previous by date:
Re: uclibc buildroot/ toolchain
Next by date:
Re: uclibc buildroot/ toolchain

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.