Gentoo Archives: gentoo-embedded

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