Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] glibc 2.3.5
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
ScolaBirra
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 180
Location: Lausanne, Switzerland

PostPosted: Thu Aug 04, 2005 12:00 pm    Post subject: [Risolto] glibc 2.3.5 Reply with quote

Ciao,
da quando portage mi ha installato la glibc 2.3.5 non riesco piu' ad utilizzare eldo (programma commerciale). Ottengo come risultato:
Code:
$ eldo pll
/softs/mentor/eldo/v6.3_2.1/i686/os2.4/eldo.exe: relocation error: /softs/mentor/eldo/v6.3_2.1/i686/os2.4/eldo.exe: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Da notare che con la versione 2.3.4 della glibc funzionava tutto a pennello. Vi anticipo subito, in realtà il comando eldo e' un alias:
Code:
alias eldo='LD_ASSUME_KERNEL=2.4.1 eldo'

la glibc e' stata compilata con i seguenti flags:
Code:
 $ emerge -pv glibc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.5  -build -debug -erandom -hardened (-multilib) +nls +nptl -nptlonly +pic (-selinux) +userlocales


Qualcuno sa dirmi che succede?

Ora provo a reinstallare la glibc 2.3.4...

grazie e ciao
Scola
_________________
Smile, tomorrow will be worse! :-)


Last edited by ScolaBirra on Sun Aug 07, 2005 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Thu Aug 04, 2005 1:00 pm    Post subject: Re: glibc 2.3.5 Reply with quote

hai un profilo hardened? se non ce l'hai togli la flag pic. non sarebbe mai da usare al di fuori del profilo hardened
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Aug 04, 2005 1:06 pm    Post subject: Re: glibc 2.3.5 Reply with quote

ScolaBirra wrote:
+nptl -nptlonly +userlocales


Da una ricerca con google é venuto fuori che il problema potrebbe essere l'ntpl. Prova a disabilitarla completamente.

Altrimenti questa pagina sembra offrire una soluzione migliore.
_________________
Ciao da me!
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Thu Aug 04, 2005 7:03 pm    Post subject: Re: glibc 2.3.5 Reply with quote

randomaze wrote:
Da una ricerca con google é venuto fuori che il problema potrebbe essere l'ntpl

Però in teoria, lanciando eldo con LD_ASSUME_KERNEL=2.4.1 dovrebbe usare le linuxthread e non le ntpl 8O
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Thu Aug 04, 2005 7:18 pm    Post subject: Re: glibc 2.3.5 Reply with quote

fabius wrote:
randomaze wrote:
Da una ricerca con google é venuto fuori che il problema potrebbe essere l'ntpl

Però in teoria, lanciando eldo con LD_ASSUME_KERNEL=2.4.1 dovrebbe usare le linuxthread e non le ntpl 8O

quoto
mi sembra una soluzione elegante (se si ha linuxthread anche)
Ogni applicazione che non vuole nptl non lo usa
Back to top
View user's profile Send private message
ScolaBirra
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 180
Location: Lausanne, Switzerland

PostPosted: Thu Aug 04, 2005 11:17 pm    Post subject: Reply with quote

Allora, ho ricompilato la 2.3.4 e eldo va senza problemi. Ho provato a ricompilare la 2.3.5 senza le nptl ed eldo non va, dando sempre lo stesso errore. :x
Domani provero' la soluzione del sito della suse e vi faro' sapere.

Ciao
Scola
_________________
Smile, tomorrow will be worse! :-)
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Fri Aug 05, 2005 8:55 am    Post subject: Reply with quote

come ti hanno detto con LD_ASSUME_KERNEL=2.4.1 i programmi vengono eseguiti con il supporto linuxthreads, quindi se il problema fosse NPTL, dal momento che non hai affermato la flag nptlonly dovrebbe risolversi... ma non è così.
io continuo ad essere insospettito dalla flag PIC. prova a ricompilare senza di quella. una prova non ti costa niente
Back to top
View user's profile Send private message
ScolaBirra
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 180
Location: Lausanne, Switzerland

PostPosted: Fri Aug 05, 2005 9:25 am    Post subject: Reply with quote

Ho disabilitato anche il pic ma continua a darmi lo stesso errore. Le use con cui l'ho installato attualmente sono:
Code:
$ equery uses glibc
[ Searching for packages matching glibc... ]
[ Colour Code : set unset ]
[ Legend    : Left column  (U) - USE flags from make.conf              ]
[           : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-libs/glibc-2.3.5 ]
 U I
 + + nls         : <unknown>
 - - pic         : Build Position Independent Code.  Do not utilize this flag unless you know what you're doing.
 - - build       : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping.
 + - nptl        : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - nptlonly    : Disables building the linuxthreads fallback in glibc ebuilds that support building both linuxthreads and nptl.
 - - erandom     : Enable erandom/frandom support in glibc for ssp
 - - hardened    : activate default security enhancements for toolchain (gcc, glibc, binutils)
 - - debug       : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + userlocales : build only the locales specified in /etc/locales.build
 - - multilib    : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - selinux     : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur


Ciao
Scola
_________________
Smile, tomorrow will be worse! :-)
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Fri Aug 05, 2005 9:36 am    Post subject: Reply with quote

allora non è colpa delle USE. PIC era l'unica che veramente poteva dare fastidio, ma a questo punto, se non è nemmeno colpa sua... resta solo da controllare che modifiche sono state fatte a glibc-2.3.5

oppure prova a vedere se c'è qualcosa di strano nell'output di strace, ma temo che nel tuo caso ci sarà un bel po' di output da far passare
Back to top
View user's profile Send private message
ScolaBirra
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 180
Location: Lausanne, Switzerland

PostPosted: Fri Aug 05, 2005 10:26 am    Post subject: Reply with quote

Provo a postare in inglese, magari qualcuno ne sa di piu'...

Grazie cmq e ciao
Scola
_________________
Smile, tomorrow will be worse! :-)
Back to top
View user's profile Send private message
ScolaBirra
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 180
Location: Lausanne, Switzerland

PostPosted: Sun Aug 07, 2005 5:01 pm    Post subject: Reply with quote

Trovato la soluzione: compilare la versione ~x86 con il flag glibc-compat20.

Grazie e ciao
Scola
_________________
Smile, tomorrow will be worse! :-)
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