[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problems with lstat and fstat from libc6 (2.2.2-4)



Earlier today I wrote about a broken Fujitsu F95 compiler. I did a bit
more testing:

First I did:

strings libc.so.6 | grep fstat

and got

fstatfs
fstatvfs
__fstatfs64
fstatvfs64
fstatfs64
__fstatfs
__fstatvfs64
fstat failed
^^^^^^^^^^^^

I wonder what this means

Then I did a strace on an old and new program compiled with the Fujitsu
F95 compiler.

Old (before upgrading):
:
:
brk(0x80c4000)                          = 0x80c4000
fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 16), ...}) = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=3614, ...}) = 0
fstat64(2, {st_mode=S_IFREG|0644, st_size=3672, ...}) = 0
rt_sigaction(SIGILL, {0x400a25b0, [ILL BUS SEGV XCPU],
SA_NOMASK|0x4000000}, NULL, 8) = 0
:

New (after upgrade):
:
:
brk(0x80c4000)                          = 0x80c4000
writev(2, [{"gotm_prod_FUJITSU", 17}, {": error while loading shared
lib"..., 40}, {"/opt/FFC/lib/libfj9i6.so.1", 26}, {": ", 2}, {"undefined
symbol: fstat", 23}, {"", 0}, {"", 0}, {"\n", 1}], 8gotm_prod_FUJITSU:
error while loading shared libraries: /opt/FFC/lib/libfj9i6.so.1:
undefined symbol: fstat
) = 109
_exit(127) 
:

So its rather clear that fstat has somehow dissapeared from the
libraries :-(.

Karsten

-- 
**********************************************************************
Karsten Bolding,
CEC - Joint Research Centre, ISPRA      Direct: +39 0332 789204
Space Applications Institute            Sec.    +39 0332 789177
Marine Environment Unit, TP442          FAX:    +39 0332 789648
I-21020 Ispra(VA) - Italy               E-mail: karsten.bolding@jrc.it
**********************************************************************



Reply to: