View previous topic :: View next topic |
Author |
Message |
ScolaBirra Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20293074833e8ade9ddb177.jpg)
Joined: 31 Mar 2003 Posts: 180 Location: Lausanne, Switzerland
|
Posted: Thu Aug 04, 2005 12:00 pm Post subject: [Risolto] glibc 2.3.5 |
|
|
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! ![Smile :-)](images/smiles/icon_smile.gif)
Last edited by ScolaBirra on Sun Aug 07, 2005 5:02 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Thu Aug 04, 2005 1:00 pm Post subject: Re: glibc 2.3.5 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Aug 04, 2005 1:06 pm Post subject: Re: glibc 2.3.5 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fabius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/153132303341ff8ed676c0e.jpg)
Joined: 29 Nov 2004 Posts: 525
|
Posted: Thu Aug 04, 2005 7:03 pm Post subject: Re: glibc 2.3.5 |
|
|
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 ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lopio Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Southpark/avatar22.gif)
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Thu Aug 04, 2005 7:18 pm Post subject: Re: glibc 2.3.5 |
|
|
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 ![Shocked 8O](images/smiles/icon_eek.gif) |
quoto
mi sembra una soluzione elegante (se si ha linuxthread anche)
Ogni applicazione che non vuole nptl non lo usa |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ScolaBirra Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20293074833e8ade9ddb177.jpg)
Joined: 31 Mar 2003 Posts: 180 Location: Lausanne, Switzerland
|
Posted: Thu Aug 04, 2005 11:17 pm Post subject: |
|
|
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.
Domani provero' la soluzione del sito della suse e vi faro' sapere.
Ciao
Scola _________________ Smile, tomorrow will be worse! ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Fri Aug 05, 2005 8:55 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ScolaBirra Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20293074833e8ade9ddb177.jpg)
Joined: 31 Mar 2003 Posts: 180 Location: Lausanne, Switzerland
|
Posted: Fri Aug 05, 2005 9:25 am Post subject: |
|
|
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! ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:chrome:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1738078993454a825c7608f.jpg)
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Fri Aug 05, 2005 9:36 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ScolaBirra Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20293074833e8ade9ddb177.jpg)
Joined: 31 Mar 2003 Posts: 180 Location: Lausanne, Switzerland
|
Posted: Fri Aug 05, 2005 10:26 am Post subject: |
|
|
Provo a postare in inglese, magari qualcuno ne sa di piu'...
Grazie cmq e ciao
Scola _________________ Smile, tomorrow will be worse! ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ScolaBirra Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20293074833e8ade9ddb177.jpg)
Joined: 31 Mar 2003 Posts: 180 Location: Lausanne, Switzerland
|
Posted: Sun Aug 07, 2005 5:01 pm Post subject: |
|
|
Trovato la soluzione: compilare la versione ~x86 con il flag glibc-compat20.
Grazie e ciao
Scola _________________ Smile, tomorrow will be worse! ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|