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

Bug#67624: mkfs.ext2 does not work on file

I've investigated the problem.  Looks like our libc forgot to include
the symbol __divdi3.

Looking at the list of symbols that were found as 'undefined' and
the list of symbols that are 'provided' by some libraries, i.e.
take a look at diag3 at the end of mklibs.sh, you'll find:


among other symbols.


finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libext2fs.so.2.4 |grep divdi
00000000      DF *UND*  0000019e  GLIBC_2.0   __divdi3
finlandia!joey(tty6):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /sbin/mke2fs |grep divdi
0804b1d0 g    DF .text  0000011a  Base        __udivdi3
finlandia!joey(tty5):/home/project/Debian/CVS/boot-floppies/debian> objdump --dynamic-syms /lib/libc.so.6 |grep divdi
000c7230 g    DF .text  0000019f  GLIBC_2.0   __divdi3
000c7600 g    DF .text  0000011f  GLIBC_2.0   __udivdi3

The latter should tell us that the symbol was provided in libc
while the first shows that the symbol is used somewhere, so it
should not be stripped out, right?



Life is too short to run proprietary software.  -- Bdale Garbee

Please always Cc to me when replying to me on the lists.

Reply to: