Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Supporto per NPTL
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Thu May 04, 2006 10:09 am    Post subject: Supporto per NPTL Reply with quote

compilavo le glibc 2.4-r1, ma un errore:

Code:
 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.16) ... yes
 * Checking linux-headers version (>=2.6.16) ... no

 * You need linux-headers of at least version 2.6.16
 * for NPTL support!

!!! ERROR: sys-libs/glibc-2.4-r1 failed.


mi dice che manca il supporto NPTL... come sistemo?
Ho messo tra le USE "nptl nptlonly"... ma poi ?
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu May 04, 2006 10:13 am    Post subject: Reply with quote

Penso che l'errore sia CHIARO:
Code:

* Checking linux-headers version (>=2.6.16) ... no

 * You need linux-headers of at least version 2.6.16
 * for NPTL support!

devi aver installato una versione di linux-headers >=2.6.16 (che attualmente sono marcati come instabili)
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Thu May 04, 2006 10:59 am    Post subject: Reply with quote

si infatti... ma io li avevo gia emersi... :(
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Thu May 04, 2006 11:38 am    Post subject: Reply with quote

ho risolto togliendo la riga

Code:
NPTL_KERNEL_VERSION="2.6.11"


da make.conf

adesso sta emergendo glibc con gli headers 2.6.9.....
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu May 04, 2006 12:17 pm    Post subject: Re: Supporto per NPTL Reply with quote

glibc 2.4 implica alcuni cambiamenti strutturali molto pesanti.
sei sicuro di sapere quello che stai facendo? come hai visto con i tuoi occhi non è per nitente detto che poi tutto funzioni ancora
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Wed May 17, 2006 6:19 am    Post subject: Re: Supporto per NPTL Reply with quote

k.gothmog wrote:
glibc 2.4 implica alcuni cambiamenti strutturali molto pesanti.
sei sicuro di sapere quello che stai facendo? come hai visto con i tuoi occhi non è per nitente detto che poi tutto funzioni ancora


in effetti adesso ho incasinato tutto....
poi ho dato un emerge -Cav glibc... e ora sono senza sistema.... :oops:
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Wed May 17, 2006 7:27 am    Post subject: Reply with quote

fare un downgrade no eh? :lol:
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Fri May 26, 2006 2:48 pm    Post subject: Reply with quote

si.. ma ero accecato dal dolore!! :cry:


ok.. ho modo di ripristinare una configurazione... funzionante? ( o sono fregato così? )
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Fri May 26, 2006 2:58 pm    Post subject: Reply with quote

anzi... Kernel Panic.. perfino...
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri May 26, 2006 7:41 pm    Post subject: Re: Supporto per NPTL Reply with quote

cagnaluia wrote:
in effetti adesso ho incasinato tutto....
poi ho dato un emerge -Cav glibc... e ora sono senza sistema.... :oops:


dopo quel comando c'è ben poco da fare.
_________________
Running Fast!
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Fri May 26, 2006 7:46 pm    Post subject: Re: Supporto per NPTL Reply with quote

Luca89 wrote:
cagnaluia wrote:
in effetti adesso ho incasinato tutto....
poi ho dato un emerge -Cav glibc... e ora sono senza sistema.... :oops:


dopo quel comando c'è ben poco da fare.




:lol: okok... tagliamo qua dai!

salvo e ricomincio da capo
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Mon May 29, 2006 6:55 pm    Post subject: Reply with quote

Io ho un problema simile con le glibc ( uso la versione 2.3.6 , l'ultima stabile in pratica ) , ma anche inserendo USE="nptl nptlonly" in make.conf , le glibc non vengono compilate con NPTL ma con linuxthreads ; ho controllato la versione di linux-headers ed è la 2.6.11 ( in parole povere: ho aggiornato tutto il sistema all'ultima versione sincronizzando il portage oggi pomeriggio ) ma al momento della configurazione pre-compilazione mi dice che sta per compilare le glibc per linuxthreads :cry: ; ho provato anche facendo USE="nptl nptlonly" emerge -u glibc , ma la situazione non cambia affatto.
Questo problema mi è capitato con l'ultima versione di gentoo , con la 2005 una volta aggiornati i linux-headers glibc si compilava tranquillamente con NPTL.
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Mon May 29, 2006 7:22 pm    Post subject: Reply with quote

dopo aver inserito quelle use in make.conf emerge --info cosa dice? (posta l'output)
non credo che la versione di gentoo c'entri qualcosa in questo caso, l'ebuild è sempre lo stesso, a meno che tu non abbia fatto casini con i profili di portage.
_________________
Running Fast!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Mon May 29, 2006 8:57 pm    Post subject: Reply with quote

cannonball wrote:
ho controllato la versione di linux-headers ed è la 2.6.11

questa frase mi fa dubitare... come hai fatto per verificare quello che dici? cosa ti porta a dire che le tue glibc sono compilate con linuxthreads?
secondo me non hai le idee molto chiare, e comunque se le USE sono corrette, lo è anche la compilazione. punto e basta

avrei voglia di chiederti anche se sai dire anche quali vantaggi (se di vantaggi si tratta) porta NPTL...
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue May 30, 2006 10:12 am    Post subject: Reply with quote

@cannonball
verfica veloce
Code:
mail ~ # /lib/libc-2.3.6.so
...
Compiled on a Linux 2.6.11 system on 2006-05-29.
...   
linuxthreads-0.10 by Xavier Leroy
...

= linux-headers-2.6.11 + linuxthreads
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Tue May 30, 2006 10:40 am    Post subject: Reply with quote

k.gothmog wrote:
cannonball wrote:
ho controllato la versione di linux-headers ed è la 2.6.11

questa frase mi fa dubitare... come hai fatto per verificare quello che dici? cosa ti porta a dire che le tue glibc sono compilate con linuxthreads?


lo stesso motivo per il quale sono qui a chiedervi come mai non compila con NPTL ( digitando /lib/libc.so.6 compare la linea : linuxthreads-0.10 ) ; e cmq per rispondere alla tua domanda "virtual/os-headers : 2.6.11-r2" ma vedo che lo sai, la 2006 ha di default gli headers 2.6.x -.- ( visto che per averceli non ho dovuto fare niente )
Adesso vi posto l'output di emerge --info
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue May 30, 2006 10:45 am    Post subject: Reply with quote

se hai /lib/tls, controlla
Code:
/lib/tls/libc-2.3.6.so

_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Tue May 30, 2006 10:55 am    Post subject: Reply with quote

la prima linea dell'output di "emerge --info" :

Code:
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.5-r2, 2.6.16-gentoo-r7 i686)


e tra le USE non compare ne nptl ne nptlonly
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Tue May 30, 2006 11:02 am    Post subject: Reply with quote

cannonball wrote:
la prima linea dell'output di "emerge --info" :

Code:
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.5-r2, 2.6.16-gentoo-r7 i686)


e tra le USE non compare ne nptl ne nptlonly


stai usando il profilo no-nptl, in quel profilo le flag use nptl vengono mascherate e non sono utilizzabili. Dovresti modificare il profilo.
_________________
Running Fast!
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Tue May 30, 2006 2:11 pm    Post subject: Reply with quote

ho cambiato profilo, adesso :

Code:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LDFLAGS="-Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt cups dri eds emboss encode esd expat fam foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY


ad inizio compilazione delle glibc viene scritto questo :

Code:

 *             ABI:   default
 *          CBUILD:   i386-pc-linux-gnu
 *           CHOST:   i386-pc-linux-gnu
 *         CTARGET:   i386-pc-linux-gnu
 *      CBUILD_OPT:
 *     CTARGET_OPT:
 *              CC:
 *          CFLAGS:   -march=athlon-xp -pipe -O2

 * Configuring GLIBC for linuxthreads with:
                --disable-dev-erandom
                --without-tls
                --without-__thread
                --enable-add-ons=linuxthreads,c_stubs,libidn
                --enable-kernel=2.4.1
                --without-selinux
                --without-cvs
                --enable-bind-now
                --build=i386-pc-linux-gnu
                --host=i386-pc-linux-gnu
                --disable-profile
                --without-gd
                --with-headers=/usr/include
                --prefix=/usr
                --mandir=/usr/share/man
                --infodir=/usr/share/info
                --libexecdir=/usr/lib/misc/glibc


questo infine è il make.conf che utilizzo al momento :

Code:

CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"

CHOST="i386-pc-linux-gnu"

CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-z,now"

MAKEOPTS="-j2"

USE="nptl nptlonly"

GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue May 30, 2006 4:55 pm    Post subject: Reply with quote

devi cambiare anche CHOST: con i386-pc-linux-gnu le nptl vengono disabilitate.
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Tue May 30, 2006 6:32 pm    Post subject: Reply with quote

L'avrei fatto , ma con stage3 è consigliabile cambiare chost? perchè seguendo la guida all'installazione quella variabile va cambiata solamente se si parte da stage1
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Tue May 30, 2006 6:36 pm    Post subject: Reply with quote

cannonball wrote:
L'avrei fatto , ma con stage3 è consigliabile cambiare chost? perchè seguendo la guida all'installazione quella variabile va cambiata solamente se si parte da stage1


esatto, evidentemente sei partito dallo stage sbagliato. Quindi o reinstalli da stage3 per i686 oppure ti tieni i linuxthreads.
_________________
Running Fast!
Back to top
View user's profile Send private message
cannonball
n00b
n00b


Joined: 29 May 2006
Posts: 6

PostPosted: Tue May 30, 2006 6:42 pm    Post subject: Reply with quote

Chiaro, grazie per l'aiuto
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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