1 |
Em 17-08-2010 12:34, Alan McKinnon escreveu: |
2 |
> On Tuesday 17 August 2010 15:21:35 Peter Ruskin wrote: |
3 |
>> On Tuesday 17 August 2010 09:33:09 Alan McKinnon wrote: |
4 |
>>> Hi, |
5 |
>>> |
6 |
>>> Anyone successfully built and using glibc-2.12.1 yet? |
7 |
>>> |
8 |
>>> I see the tree just pushed an update down from 2.11.2 to 2.12.1, |
9 |
>>> and downgrading that package is decidedly non-trivial. Only |
10 |
>>> comment I can find at this early stage is flameeye's blog, and |
11 |
>>> this makes me quadruple nervous: |
12 |
>>> |
13 |
>>> |
14 |
>>> |
15 |
>>> |
16 |
>>> And if you say that “the new GLIBC works for me”, are you saying |
17 |
>>> that the package itself builds or if it’s actually integrated |
18 |
>>> correctly? Because, you know, I used to rebuild the whole system |
19 |
>>> whenever I made a change to basic system packages when I |
20 |
>>> maintained Gentoo/FreeBSD, and saying that it’s ready for ~arch |
21 |
>>> when you haven’t even rebuilt the system (and you haven’t, or you |
22 |
>>> would have noticed that m4 was broken) is definitely something |
23 |
>>> I’d define as reckless and I’d venture to say you’re not good |
24 |
>>> material to work on the quality assurance status. |
25 |
>>> |
26 |
>>> “correctness” in the case of the system C library would be “it a |
27 |
>>> t least leaves the system set building and running”; glibc 2.12 |
28 |
>>> does not work this way. |
29 |
>> OK here on ~amd64, but you got me worried so I emerged m4 to check |
30 |
>> and that went OK too. |
31 |
>> |
32 |
> |
33 |
> I got a couple of replies, all like this one - positive. |
34 |
> |
35 |
> Thanks, all. I'll start the update later on tonight and let 'er run. |
36 |
> |
37 |
> |
38 |
> |
39 |
I'm trying to upgrade my glibc from 2.10.1-r1 to 2.10.1-r1 or 2.12.1 but |
40 |
i'm blocked with a error on compilation in two c2q machines using x86_64 |
41 |
profile. |
42 |
|
43 |
The CFLAGS and CHOST used are: |
44 |
|
45 |
CHOST="x86_64-pc-linux-gnu" |
46 |
CFLAGS="-march=core2 -mtune=generic -O2 -pipe" |
47 |
CXXFLAGS="${CFLAGS}" |
48 |
|
49 |
And the error in compilation: |
50 |
|
51 |
|
52 |
../sysdeps/i386/i686/multiarch/strcmp.S: Assembler messages: |
53 |
../sysdeps/i386/i686/multiarch/strcmp.S:78: Error: unrecognized symbol |
54 |
type "gnu_indirect_function" |
55 |
make[2]: *** |
56 |
[/var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/string/strcmp.o] |
57 |
Error 1 |
58 |
make[2]: *** Waiting for unfinished jobs.... |
59 |
../sysdeps/i386/i686/multiarch/strcspn.S: Assembler messages: |
60 |
../sysdeps/i386/i686/multiarch/strcspn.S:78: Error: unrecognized symbol |
61 |
type "gnu_indirect_function" |
62 |
make[2]: *** |
63 |
[/var/tmp/portage/sys-libs/glibc-2.12.1/work/build-x86-x86_64-pc-linux-gnu-nptl/string/strcspn.o] |
64 |
Error 1 |
65 |
make[2]: Leaving directory |
66 |
`/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1/string' |
67 |
make[1]: *** [string/subdir_lib] Error 2 |
68 |
make[1]: Leaving directory |
69 |
`/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1' |
70 |
make: *** [all] Error 2 |
71 |
* ERROR: sys-libs/glibc-2.12.1 failed: |
72 |
* make for x86 failed |
73 |
* |
74 |
* Call stack: |
75 |
* ebuild.sh, line 48: Called src_compile |
76 |
* environment, line 3826: Called eblit-run 'src_compile' |
77 |
* environment, line 1215: Called eblit-glibc-src_compile |
78 |
* src_compile.eblit, line 199: Called src_compile |
79 |
* environment, line 3826: Called eblit-run 'src_compile' |
80 |
* environment, line 1215: Called eblit-glibc-src_compile |
81 |
* src_compile.eblit, line 207: Called toolchain-glibc_src_compile |
82 |
* src_compile.eblit, line 123: Called die |
83 |
* The specific snippet of code: |
84 |
* emake || die "make for ${ABI} failed" |
85 |
* |
86 |
* If you need support, post the output of 'emerge --info |
87 |
=sys-libs/glibc-2.12.1', |
88 |
* the complete build log and the output of 'emerge -pqv |
89 |
=sys-libs/glibc-2.12.1'. |
90 |
* The complete build log is located at |
91 |
'/var/tmp/portage/sys-libs/glibc-2.12.1/temp/build.log'. |
92 |
* The ebuild environment file is located at |
93 |
'/var/tmp/portage/sys-libs/glibc-2.12.1/temp/environment'. |
94 |
* S: '/var/tmp/portage/sys-libs/glibc-2.12.1/work/glibc-2.12.1' |
95 |
|
96 |
|
97 |
emerge info: |
98 |
|
99 |
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.10.1-r1, 2.6.34-gentoo-r4-creta x86_64) |
100 |
================================================================= |
101 |
System uname: Linux-2.6.34-gentoo-r4-creta-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-gentoo-2.0.1 |
102 |
Timestamp of tree: Sun, 15 Aug 2010 15:30:01 +0000 |
103 |
distcc 3.1 x86_64-pc-linux-gnu [disabled] |
104 |
ccache version 2.4 [enabled] |
105 |
app-shells/bash: 4.0_p37 |
106 |
dev-lang/python: 2.6.5-r3, 3.1.2-r4 |
107 |
dev-util/ccache: 2.4-r7 |
108 |
sys-apps/baselayout: 2.0.1 |
109 |
sys-apps/openrc: 0.6.0-r1 |
110 |
sys-apps/sandbox: 2.2 |
111 |
sys-devel/autoconf: 2.65 |
112 |
sys-devel/automake: 1.10.3, 1.11.1 |
113 |
sys-devel/binutils: 2.18-r3, 2.20.1-r1 |
114 |
sys-devel/gcc: 4.4.3, 4.4.4-r1 |
115 |
sys-devel/gcc-config: 1.4.1 |
116 |
sys-devel/libtool: 2.2.6b |
117 |
virtual/os-headers: 2.6.34 |
118 |
ACCEPT_KEYWORDS="amd64" |
119 |
ACCEPT_LICENSE="*" |
120 |
CBUILD="x86_64-pc-linux-gnu" |
121 |
CFLAGS="-march=core2 -mtune=generic -O2 -pipe" |
122 |
CHOST="x86_64-pc-linux-gnu" |
123 |
CONFIG_PROTECT="/etc" |
124 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" |
125 |
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe" |
126 |
DISTDIR="/usr/portage/distfiles" |
127 |
FEATURES="assume-digests autoaddcvs ccache distlocks emerge fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" |
128 |
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ http://www.las.ic.unicamp.br/pub/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" |
129 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
130 |
LINGUAS="pt_BR" |
131 |
MAKEOPTS="-j8" |
132 |
PKGDIR="/usr/portage/packages" |
133 |
PORTAGE_CONFIGROOT="/" |
134 |
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" |
135 |
PORTAGE_TMPDIR="/var/tmp" |
136 |
PORTDIR="/usr/portage" |
137 |
SYNC="rsync://dns.liec.ufscar.br/gentoo-portage" |
138 |
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups cxx diskio dri fontforge fortran gd gdbm gpm iconv lapack libffi lm_sensors mfd-rewrites mmx modules mudflap multilib multislot multiuser ncurses nethack nis nls nptl nptlonly objc objc++ objc-gc openmp pam parse-clocks pcre perl pppd profile python python3 readline reflection rrdcgi session spl sse sse2 ssl subversion sysfs tcpd threads unicode utils xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
139 |
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
140 |
|
141 |
|
142 |
I think that i have some misconfiguration in CFLAGS, but i don't know solve this error. |
143 |
|
144 |
Some hint??? |
145 |
|
146 |
Thanks for now. |