Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLU] [sys-libs/glibc-2.5-r2] - Pb compil
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
jacques_h
n00b
n00b


Joined: 16 May 2005
Posts: 71

PostPosted: Sat May 12, 2007 11:29 am    Post subject: [RESOLU] [sys-libs/glibc-2.5-r2] - Pb compil Reply with quote

bonjour,

suite à un emerge world -DvuN

la compilation de la glibc provoque une erreur !!

Code:
6-pc-linux-gnu-nptl/posix/_exit.o
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c: In function '__libc_fork':
../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:207: error: can't find a register in class 'BREG' while reloading 'asm'
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r2/work/build-default-i686-pc-linux-gnu-nptl/posix/fork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r2/work/glibc-2.5/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r2/work/glibc-2.5'
make: *** [all] Error 2


pour info
Code:

# emerge --info
Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 12 May 2007 10:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe -mno-tls-direct-seg-refs -fPIC"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe -mno-tls-direct-seg-refs -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://cs.ubishops.ca/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /usr/portage/local/layman/enlightenment /home/jacques/opt/xgl-overlay /usr/local/overlays /usr/local/overlays/xeffects"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3d X a52 acl acpi admin aiglx alsa animation apache2 artworkextra bash-completion battery bench berkdb bitmap-fonts bluetooth border branding browserplugin bs bzip2 cairo cdda cddb cdr cli copacity cracklib crypt ctype cups dbus dock dri dts dvb dvd dvdr dvdread eds emboss encode esd evo exemples fam fat ffmpeg firefox flac fontconfig foomaticdb fortran ftp gd gdbm gif gimpprint glitz glut gnome gpm group gstreamer gtk gtk2 hal hfs httpd iconv imap ipod ipv6 isdnlog java java5 javascript jfs jikes jpeg junit kerberos ldap libg++ live logrotate mad matroska midi mikmod mono mozilla mp3 mpeg mssql musepack mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nautilus ncurses new-login nls nntp nptl nptlonly nsplugin nsplugins ntfs oci8-instant-client offensive ogg openal opengl optimisememory oracle pam pcmcia pcre pda pdf pdo perl plugins png portage pppd python qt3support qt4 quicktime radius readline real reflection reiser4 reiserfs rtc rtsp samba sdk sdl seamonkey session shout showdesktop simplexml skins snmp soap sockets spell spl ssl startup-notification state stream svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode upnp v4l vlm vorbis wallpaper webdav widget wifi win32codecs wxgtk1 wxwindows x86 xcomposite xfs xine xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xsl xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="fglrx vmware vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



une idée d'où cela peut venir...

merci d'avance.


Last edited by jacques_h on Sat May 12, 2007 7:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
_droop_
l33t
l33t


Joined: 30 May 2004
Posts: 957

PostPosted: Sat May 12, 2007 4:59 pm    Post subject: Reply with quote

Bonjour,

Code:
CFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe -mno-tls-direct-seg-refs -fPIC"


Le "-mno-tls-direct-seg-refs" c'est un peu bizarre mais ça doit pas poser de problème (enfin je suis pas sûr, je vois pas trop à quoi ça sert). Par contre, le "-fPIC" ça me parait bizarre, c'est peut être celà qui te pose problème (en tout cas il y a une note à ce propos sur cette page)...

Pourquoi as tu activé ces cflags ?

Bon courage.
Back to top
View user's profile Send private message
jacques_h
n00b
n00b


Joined: 16 May 2005
Posts: 71

PostPosted: Sat May 12, 2007 7:49 pm    Post subject: Reply with quote

merci pour cette doc !!

en effet -fPic etait un test que je n'est pas retiré... :oops: j'lé oublié...
par contre (pour info) -mno-tls-direct-seg-refs m'a servi pour la configuration de l'environnement XEN (http://wiki.xensource.com/xenwiki/XenSpecificGlibc) ; il ne devrait pas géner...

recompilation OK

Merci pour ton aide.. c toujours mieux avec un oeil neuf exterieur
Back to top
View user's profile Send private message
_droop_
l33t
l33t


Joined: 30 May 2004
Posts: 957

PostPosted: Sat May 12, 2007 8:49 pm    Post subject: Reply with quote

De rien, merci pour le lien.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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