Skip to contentSkip to conversation

reiser4progs 1.0.5 configure script and libaal 1.0.5

DISCUSSION Vanuxem Grégory 5 participants 12 messages Aug 13, 2005 – Aug 16, 2005 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

Any idea ?

Cheers,

Greg

#2 lore raw

Hello

Quoted 10 lines · Vanuxem Grégory

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

Any idea ?

Have you installed ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz?

Quoted 7 lines

Cheers,

Greg

#3 lore raw
Quoted 8 lines · Vladimir V. Saveliev

Hello

Quoted 5 lines · Vanuxem Grégory

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

Quoted 7 lines
Quoted 5 lines

More precisely it doesn't find libaal because of version problem

Any idea ?

Have you installed ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz?

Yes, sure

Quoted 10 lines
Quoted 8 lines

Cheers,

Greg

Cheers,

Greg

#4 lore raw
Quoted 12 lines · Vanuxem Grégory

Le samedi 13 aoШt 2005 Ю 20:22 +0400, Vladimir V. Saveliev a Иcrit :

Quoted 11 lines

Hello

Quoted 8 lines · Vanuxem GrИgory

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Any idea ?

Have you installed ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz?

Yes, sure

where have you installed libaal into? /usr/local?
does you /etc/ld.so.conf have the path you instatlled libaal into? if not, add it and run /sbin/ldconfig.

Signature · 2 lines
Thanks,
Vitaly Fertman
#5 lore raw
Quoted 15 lines · Vitaly Fertman
Quoted 14 lines · Vanuxem Grégory

Le samedi 13 aoШt 2005 Ю 20:22 +0400, Vladimir V. Saveliev a Иcrit :

Quoted 13 lines

Hello

Quoted 10 lines · Vanuxem GrИgory

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

Any idea ?

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

Have you installed ftp://ftp.namesys.com/pub/reiser4progs/libaal-1.0.5.tar.gz?

Yes, sure

where have you installed libaal into? /usr/local?
does you /etc/ld.so.conf have the path you instatlled libaal into? if not, add it and run /sbin/ldconfig.

Yes but that doesn't work

here is the output:

checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no
configure: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit.
checking for off_t... yes
checking size of off_t... 8
checking for aal_device_open in -laal... yes
checking aal/libaal.h usability... yes
checking aal/libaal.h presence... yes
checking for aal/libaal.h... yes
checking for libaal version = 1.0.5... no ellipse:/home/greg/temp/reiser4progs-1.0.5#

That works only in a chrooted 32bits environment
(I have a x86_64)

Cheers,

Greg

#6 lore raw
Quoted 9 lines
Quoted 4 lines

where have you installed libaal into? /usr/local?
does you /etc/ld.so.conf have the path you instatlled libaal into? if not, add it and run /sbin/ldconfig.

Yes but that doesn't work

here is the output:

Quoted 13 lines

checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no
configure: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit.
checking for off_t... yes
checking size of off_t... 8
checking for aal_device_open in -laal... yes
checking aal/libaal.h usability... yes
checking aal/libaal.h presence... yes
checking for aal/libaal.h... yes
checking for libaal version = 1.0.5... no ellipse:/home/greg/temp/reiser4progs-1.0.5#

so what do you see in config.log?
which test program fails?
do you see a libaal.so in the wanted place? actually there is --with-libaal option for not standard places, but you are not supposed to use it if you install libaal by default.

is it possible to get an access to your computer to test it?

Quoted 2 lines

That works only in a chrooted 32bits environment
(I have a x86_64)

what distro?

Signature · 2 lines
Thanks,
Vitaly Fertman
#7 lore raw
Quoted 23 lines · Vitaly Fertman
Quoted 9 lines
Quoted 4 lines

where have you installed libaal into? /usr/local?
does you /etc/ld.so.conf have the path you instatlled libaal into? if not, add it and run /sbin/ldconfig.

Yes but that doesn't work

here is the output:

Quoted 13 lines

checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no
configure: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit.
checking for off_t... yes
checking size of off_t... 8
checking for aal_device_open in -laal... yes
checking aal/libaal.h usability... yes
checking aal/libaal.h presence... yes
checking for aal/libaal.h... yes
checking for libaal version = 1.0.5... no ellipse:/home/greg/temp/reiser4progs-1.0.5#

Quoted 1 line

so what do you see in config.log?

Sended.

Quoted 1 line

which test program fails?

Don't know

Quoted 1 line

do you see a libaal.so in the wanted place?

Yes

Quoted 5 lines

actually there is --with-libaal option for not standard places, but you are not supposed to use it if you install libaal by default.

is it possible to get an access to your computer to test it?

with root access ???

Quoted 5 lines
Quoted 3 lines

That works only in a chrooted 32bits environment
(I have a x86_64)

what distro?

Debian AMD64

Quoted 1 line

Cheers,

Greg

#8 lore raw
Quoted 24 lines · Vanuxem Grégory

Le lundi 15 aoШt 2005 Ю 17:48 +0400, Vitaly Fertman a Иcrit :

Quoted 23 lines
Quoted 22 lines
Quoted 4 lines

where have you installed libaal into? /usr/local?
does you /etc/ld.so.conf have the path you instatlled libaal into? if not, add it and run /sbin/ldconfig.

Yes but that doesn't work

here is the output:

checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no
configure: WARNING: Can't detect right _FILE_OFFSET_BITS. Will be forced to 64bit.
checking for off_t... yes
checking size of off_t... 8
checking for aal_device_open in -laal... yes
checking aal/libaal.h usability... yes
checking aal/libaal.h presence... yes
checking for aal/libaal.h... yes
checking for libaal version = 1.0.5... no ellipse:/home/greg/temp/reiser4progs-1.0.5#

Quoted 2 lines
Quoted 1 line

so what do you see in config.log?

Sended.

ok.

Quoted 11 lines
Quoted 1 line

which test program fails?

Don't know

Quoted 1 line

do you see a libaal.so in the wanted place?

Yes

Quoted 5 lines

actually there is --with-libaal option for not standard places, but you are not supposed to use it if you install libaal by default.

is it possible to get an access to your computer to test it?

with root access ???

no, it is not necessary.

Quoted 12 lines
Quoted 5 lines
Quoted 3 lines

That works only in a chrooted 32bits environment
(I have a x86_64)

what distro?

Debian AMD64

Quoted 1 line

Cheers,

Greg

Signature · 2 lines
Thanks,
Vitaly Fertman
#9 lore raw
In reply to Vanuxem Grégory

Hello

Quoted 6 lines

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

Maybe it is a permission problem caused by SELinux. I had similar troubles myself. Disabling SELinux in /etc/selinux/config helped.

Take a look at /var/log/messages if there are any SELinux related access-denied messages. On my system it seemed that ldconfig was not able to generate symbolic links for libaal and therefore reiser4progs were not able to find the required libaal version.

Here are two mailing list entries dealing with ldconfig/SELinux problems:

http://lists.freshrpms.net/pipermail/freshrpms-list/2004-December/011960.html

https://www.redhat.com/archives/fedora-test-list/2004-December/msg00275.html

Best regards, Peter.

#10 lore raw
In reply to Vanuxem Grégory
Quoted 6 lines · Vanuxem Grégory

Hi,

The lastest reiser4progs (1.0.5) can't find libaal in configure script.

More precisely it doesn't find libaal because of version problem

But work on a 32bits system.
Humm...

Quoted 3 lines

Any idea ?

Cheers,

Greg

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

Hi,

Quoted 26 lines · Vitaly Fertman

ok, as we can see in config.log the problem is:

/usr/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(check_fds.o)

/usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a:
ne peut lire les symboles: Mauvaise valeur

when we try to compile the test program.
this message points to a problem in libc, not in libaal.

there is a test program : /home/greg/temp/conftest.c
I try to compile it with the same command as from the config.log, but not linking it to libaal:

# gcc -o conftest -O2 -march=athlon-xp -mcpu=athlon-xp -mmmx 
-msse -msse2 -mfpmath=sse -static   conftest.c

and get the same error message.

but if I remove -static, it gets compiled successfully.
even if I also link it to libaal -- there is a program conftest2.c, the same as the one that fails from the config.log, I run the same command as mentioned in config.log:

Quoted 6 lines
# gcc -o conftest2  -march=athlon-xp -mcpu=athlon-xp -mmmx 
-msse -msse2 -mfpmath=sse    conftest2.c -laal
# <- success

so the problem is related to installed libc, not to libaal.

This is a known bug in glibc 2.3.2.

I've upgraded to the glibc version 2.3.5 and
that works.

Thanks,

Cheers,

Greg

#15 lore raw
Quoted 45 lines · Vanuxem Grégory

Hi,

Quoted 26 lines · Vitaly Fertman

ok, as we can see in config.log the problem is:

/usr/bin/ld: __libc_errno: TLS definition in /usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(errno.o) section .tbss mismatches non-TLS reference in /usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a(check_fds.o)

/usr/lib/gcc-lib/x86_64-linux-gnu/3.3.6/../../../../lib64/libc.a:
ne peut lire les symboles: Mauvaise valeur

when we try to compile the test program.
this message points to a problem in libc, not in libaal.

there is a test program : /home/greg/temp/conftest.c
I try to compile it with the same command as from the config.log, but not linking it to libaal:

# gcc -o conftest -O2 -march=athlon-xp -mcpu=athlon-xp -mmmx 
-msse -msse2 -mfpmath=sse -static   conftest.c

and get the same error message.

but if I remove -static, it gets compiled successfully.
even if I also link it to libaal -- there is a program conftest2.c, the same as the one that fails from the config.log, I run the same command as mentioned in config.log:

Quoted 8 lines
# gcc -o conftest2  -march=athlon-xp -mcpu=athlon-xp -mmmx 
-msse -msse2 -mfpmath=sse    conftest2.c -laal
# <- success

so the problem is related to installed libc, not to libaal.

This is a known bug in glibc 2.3.2.

I've upgraded to the glibc version 2.3.5 and
that works.

Quoted 13 lines

Thanks,

Cheers,

Greg

Vitaly, can you detect 2.3.2 and warn the user?