Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] błąd kompilacji glibc-2.4-r1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
waldek
n00b
n00b


Joined: 06 Dec 2005
Posts: 32
Location: Warszawa

PostPosted: Tue May 02, 2006 3:25 pm    Post subject: [SOLVED] błąd kompilacji glibc-2.4-r1 Reply with quote

Witam, nie mogę zbudować glibc
Code:

/var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.a(_itoa.os): In function `_itoa':
_itoa.c:(.text+0xf0): multiple definition of `_itoa'
/var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os:: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `_itoa' changed from 181 in /var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/dl-allobjs.os to 505 in /var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.a(_itoa.os)
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.4-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/librtld.map] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r1/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r1 failed.
Call stack:
  ebuild.sh, line 1521:   Called dyn_compile
  ebuild.sh, line 924:   Called src_compile
  glibc-2.4-r1.ebuild, line 1234:   Called src_compile
  glibc-2.4-r1.ebuild, line 1245:   Called toolchain-glibc_src_compile
  glibc-2.4-r1.ebuild, line 259:   Called die

!!! make for x86 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

moje ustawienia
Code:

univac ~ # emerge --info
Portage 2.1_pre10 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -m3dnow -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac acl alsa amd amuled ao aotuv apache2 arts asf audiofile authfile avi bash-completion berkdb bidi bitmap-fonts bittorrent bl bzip2 c++ ccache cdparanoia cdr cli corba cpudetection cpulimit cracklib crypt css ctype cups customlog cvs cvsgraph daap dar64 dba dbus dga dlloader dpms dri dvb dvd dvdr dvdread elf elibc_glibc emboss encode esd ethereal exif expat fam fame fastbuild fat ffmpeg firefox flash fltk foomaticdb force-cgi-redirect fortran fping fpx ftp gd gdbm gecko-sdk gif glut glx gmp gphoto2 gpm gstreamer gtk gtk2 guile gvim gzip hal hardened hardenedphp idn imagemagick imlib imlib2 iproute2 ipv6 isdnlog jabber java javascript jpeg jpeg2k kde kernel_linux lame lcms libg++ libwww lzw lzw-tiff mad make-symlinks memlimit mikmod mime mng motif mp3 mp4live mpd-mad mpeg mpeg2 mplayer mysql ncurses nis nls no-old-linux nptl nptlonly nsplugin ogg openal opengl pam pcre pdf pdflib perl pheaders php player png posix pppd python qt quicktime rar rdesktop readline reflection reiserfs sdl sendmail session simplexml slang snmp soap sockets speech speex spell spl ssl stream subtitles svg sysfs syslog tcltk tcpd tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vfat videos vlm voice vorbis wma wxgtk1 wxwindows x264 xanim xine xml xml2 xmms xorg xpm xscreensaver xsl xv xvid xvmc zip zlib input_devices_ati input_devices_fglrx linguas_pl video_cards_ati video_cards_fglrx"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS

Jakieś pomysły ??? Czemu wypisuje x86 skoro moja architektura to x86_64 ???

[/quote]Pozdrawiam


Last edited by waldek on Thu May 04, 2006 6:35 am; edited 1 time in total
Back to top
View user's profile Send private message
waldek
n00b
n00b


Joined: 06 Dec 2005
Posts: 32
Location: Warszawa

PostPosted: Thu May 04, 2006 6:33 am    Post subject: Reply with quote

Ok, problem rozwiązałem usuwając flagi hardened hardenedphp z pliku make.conf

Pozdrawiam
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum