Gentoo Archives: gentoo-embedded

From: jozef maslik <jmaslik@×××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] error building uclibc-0.9.28.1
Date: Sat, 17 Feb 2007 23:50:39
Message-Id: b027306a0702171549laa3c6e8xd53bda12c7486ba7@mail.gmail.com
In Reply to: Re: [gentoo-embedded] error building uclibc-0.9.28.1 by Vitaly Ivanov
1 mmm ... i try this:
2
3 # mkdir test_chroot
4 # cd test_chroot
5 # tar xpf ../stage3-x86-uclibc-2006.1.tar.bz2
6
7 # mount --bind /dev/ ./dev/
8 # mount --bind /usr/portage/ ./usr/portage/
9 # mount -t proc none ./proc/
10
11 # chroot ./
12
13 (chroot)# ln -snf /usr/portage/profiles/uclibc/x86 /etc/make.profile
14 (optional ;) )
15 (chroot)# env-update && source /etc/profile
16 (chroot)# emerge uclibc (sys-libs/uclibc-0.9.28.1)
17
18 emerge done without any problem...
19
20 i do not change anything...
21
22 make.conf...
23 CFLAGS="-Os -pipe"
24 CHOST="i386-gentoo-linux-uclibc"
25 CXXFLAGS="-Os -pipe"
26 LDFLAGS="-Wl,-z,relro"
27
28 # emerge --info
29 Portage 2.1-r2 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28.1-r0,
30 2.6.19-suspend2-r1 i686)
31 =================================================================
32 System uname: 2.6.19-suspend2-r1 i686 Intel(R) Pentium(R) M processor 2.13GHz
33 Gentoo Base System version 1.12.4
34 app-admin/eselect-compiler: [Not Present]
35 dev-java/java-config: [Not Present]
36 dev-lang/python: 2.4.3-r1
37 dev-python/pycrypto: 2.0.1-r5
38 dev-util/ccache: [Not Present]
39 dev-util/confcache: [Not Present]
40 sys-apps/sandbox: 1.2.17
41 sys-devel/autoconf: 2.13, 2.59-r7
42 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
43 sys-devel/binutils: 2.16.1-r3
44 sys-devel/gcc-config: 1.3.13-r3
45 sys-devel/libtool: 1.5.22
46 virtual/os-headers: 2.4.26-r1
47 ACCEPT_KEYWORDS="x86"
48 AUTOCLEAN="yes"
49 CBUILD="i386-gentoo-linux-uclibc"
50 CFLAGS="-Os -pipe"
51 CHOST="i386-gentoo-linux-uclibc"
52 CONFIG_PROTECT="/etc /usr/share/X11/xkb"
53 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
54 CXXFLAGS="-Os -pipe"
55 DISTDIR="/usr/portage/distfiles"
56 FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman
57 sandbox sfperms strict"
58 GENTOO_MIRRORS="http://distfiles.gentoo.org
59 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
60 LDFLAGS="-Wl,-z,relro"
61 PKGDIR="/usr/portage/packages"
62 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
63 --compress --force --whole-file --delete --delete-after --stats
64 --timeout=180 --exclude='/distfiles' --exclude='/local'
65 --exclude='/packages'"
66 PORTAGE_TMPDIR="/var/tmp"
67 PORTDIR="/usr/portage"
68 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
69 USE="x86 bitmap-fonts cli cracklib dlloader dri midi ncurses pcre
70 readline reflection session spl truetype-fonts type1-fonts uclibc xorg
71 zlib alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw
72 alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix
73 alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty
74 alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks
75 alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug
76 alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
77 alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
78 alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
79 alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
80 alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_uclibc
81 input_devices_keyboard input_devices_mouse input_devices_evdev
82 kernel_linux lcd_devices_bayrad lcd_devices_cfontz
83 lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780
84 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb
85 lcd_devices_ncurses lcd_devices_text userland_GNU video_cards_dummy
86 video_cards_fbdev video_cards_v4l"
87 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
88 LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
89
90
91
92 On 2/17/07, Vitaly Ivanov <im@×××.ru> wrote:
93 > jozef maslik wrote:
94 > > Hello!
95 > >
96 > > Problem is in gcc 4 and uclibc. You must use gcc 3 or patch uclibc for
97 > > gcc 4.
98 > >
99 > >
100 > > On 2/17/07, Vitaly Ivanov <im@×××.ru> wrote:
101 > >> Lorenzo Marussi wrote:
102 > >> > Hi list
103 > >> >
104 > >> > I use stage3-x86-uclibc-2006.1 , then I enter chroot, and I make a
105 > >> system
106 > >> > update. ( I mounted proc e portage, I make env-update && source
107 > >> > /etc/profile)
108 > >> >
109 > >> > When I try to update uclibc to 0.9.28.1 version I get this error:
110 > >> >
111 > >> > [skip]
112 > >> >
113 > >>
114 > >> I have such problems too
115 > >>
116 > >>
117 > Tried
118 > gcc-4.1.1
119 > gcc-3.4.6
120 > gcc-3.4.4-r1
121 > problem still present
122 > --
123 > gentoo-embedded@g.o mailing list
124 >
125 >
126 --
127 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] error building uclibc-0.9.28.1 Vitaly Ivanov <im@×××.ru>