1 |
Hello! |
2 |
|
3 |
Some proposals for uclibc.ebuild 20031206 (reading it only, not tested): |
4 |
|
5 |
1. do not activate SYS_SIGLIST (and SYS_ERRLIST), they are obsoleted and |
6 |
no SuSv3 requirement, probably will be removed, and they are easy to replace |
7 |
(using sed if you like), there are not so many packages until now where I |
8 |
needed it to patch. |
9 |
|
10 |
sys_siglist[sig] = strsignal(sig) /* util-linux */ |
11 |
sys_errlist[err] = strerror(err) /* iputils, tcp_wrappers */ |
12 |
|
13 |
2. use busybox and tinylogin cvs snapshots (or at least 1.0.0-pre4 for |
14 |
busybox), the changes from 0.60.5 are massive. |
15 |
|
16 |
3. I do not understand why WGET has to be set to true, if you have all |
17 |
the needed files in sources/dl (DL_DIR), nothing will be downloaded. |
18 |
|
19 |
4. check uclibc.config and -locale, they are not always in sync (as |
20 |
of this writing UNIX98PTY_ONLY is different). My build procedure runs make |
21 |
defconfig (getting defaults for arch), after that I add echo |
22 |
"CONFIG_<option>=y/n" >> .config and rerun make oldconfig (look in |
23 |
uclibc.spec). Easier though is to have only the locale config, copy to |
24 |
.config ,echo "CONFIG_LOCALE=n" >> .config, make oldconfig to get |
25 |
nonlocal. |
26 |
|
27 |
5. No comment on src_install, do not know gentoo requirements, but check |
28 |
the files in $ROOT/usr/lib/gcc-lib/*/version/include, I had here a |
29 |
"fixed" zutil.h and linux/nls.h, there could be others too (my build |
30 |
system was minimal at that moment) and it looks like all these get higher |
31 |
priority as those installed in $ROOT/usr/include subdir (and you'll end up |
32 |
building against different version of headers and libs) |
33 |
|
34 |
6. My changes to (non-locale) config are: |
35 |
- CONFIG_PROFILING=n (for "use etdyn" it should be a requirement due to |
36 |
TEXTREL in libc.so, checked up to cvs) |
37 |
- PTHREADS_DEBUG_SUPPORT=n if non-debugging |
38 |
- MALLOC_GLIBC_COMPAT=n |
39 |
- UNIX98PTY_ONLY=y |
40 |
- UCLIBC_HAS_SCANF_GLIBC_GLIBC_A_FLAG=n /* not really implemented */ |
41 |
- UCLIBC_HAS_TZ_FILE_READ_MANY=n /* we change only once /etc/TZ */ |
42 |
|
43 |
Best regards, Peter |
44 |
|
45 |
files Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI |
46 |
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 |
47 |
|
48 |
|
49 |
____________________________________________________________________ |
50 |
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. |
51 |
Probald ki most! http://www.freestart.hu |
52 |
|
53 |
-- |
54 |
gentoo-embedded@g.o mailing list |