glibc 2.1.2 <-> 2.1.3 problem
Hi !
I have some trouble with the Portland Group Fortran compilers (pgf90/pgf77) running
Debian Linux, potato.
A simple Program containing only a print statement causes a segmentation fault, while
programs without print statements but more or less complicated computations seem to work
fine. Also the C/C++ compilers seem to work.
The Portland Group support tells me:
> The Debian "potato" release is a rolling beta. In particular, the current
> version uses glibc 2.1.3. The PGI Workstation installer auto-detects versions
> of glibc at 2.1.2 and prior and "does the right thing". Whenever a new glibc
> comes out, we have to go through a substantial debugging process to get the
> PGI compilers and runtime working with it. We have not yet done this for
> 2.1.3 (even internally). So, for the time being PGI Workstation 3.1 is not
> supported on the platform you are using.
Can you tell me if this sounds reasonable, that such a small version number increase
causes such a large damage ?
This compiler works without problems on Redhat 6.1 (glibc 2.1.2)
Any ideas what I can do to solve this problem ? I am by no means an expert concerning the
c library, so even advice for beginners is welcome.
Please e-mail me directly, because I am not subscribed to this list.
What I tried so far:
> export export LD_LIBRARY_PATH=/home/fallerd/redhat/lib
> ldd a.out
> libm.so.6 => /home/fallerd/redhat/lib/i686/libm.so.6 (0x40014000)
> libc.so.6 => /home/fallerd/redhat/lib/i686/libc.so.6 (0x40030000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
but I still get a SIGSEGV (Segmentation fault)
strace shows:
execve("./a.out", ["a.out"], [/* 62 vars */]) = 0
brk(0) = 0x8065e78
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/fallerd/redhat/lib/i686/mmx/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/fallerd/redhat/lib/i686/mmx", 0xbfffea34) = -1 ENOENT (No such file or directory)
open("/home/fallerd/redhat/lib/i686/libm.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=540120, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320=\0"..., 4096) = 4096
old_mmap(NULL, 114648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000
mprotect(0x4002f000, 4056, PROT_NONE) = 0
old_mmap(0x4002f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 0x4002f000
close(3) = 0
open("/home/fallerd/redhat/lib/i686/libc.so.6", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202"..., 4096) = 4096
old_mmap(NULL, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40030000
mprotect(0x4011b000, 30940, PROT_NONE) = 0
old_mmap(0x4011b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x4011b000
old_mmap(0x4011f000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4
011f000
close(3) = 0
mprotect(0x40030000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40030000, 962560, PROT_READ|PROT_EXEC) = 0
personality(PER_LINUX) = 0
getpid() = 31030
brk(0) = 0x8065e78
brk(0x8066018) = 0x8066018
brk(0x8067000) = 0x8067000
time(NULL) = 954854154
brk(0x8069000) = 0x8069000
gettimeofday({954854154, 517937}, {4294967236, 0}) = 0
getrusage(RUSAGE_SELF, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
getrusage(RUSAGE_CHILDREN, {ru_utime={0, 0}, ru_stime={0, 0}, ...}) = 0
uname({sys="Linux", node="bizet", ...}) = 0
brk(0x806b000) = 0x806b000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Cheers
Daniel
_____________________________________________
Daniel Faller
Fakultaet fuer Physik
Abt. Honerkamp
Albert-Ludwigs-Universitaet Freiburg
Tel.: 0761-203-5875
Fax.: 0761-203-5967
e-mail: Daniel.Faller@physik.uni-freiburg.de
URL: http://webber.physik.uni-freiburg.de/~fallerd
Reply to: