libc6 status
Hello,
While I'm trying to create the boot disks for Debian/SPARC, I'm running in
some troubles with libc6 about the use of PIC library.
1/ rootdisk.sh (from boot-floppies-2.0.0) searchs for
/usr/lib/libc_pic/soinit.so, /usr/lib/libc_pic/sofini.so &
/usr/lib/libc_pic/interp.so files that are missing from our libc6 package.
I don't know much about creating the subset libc library used in rootdisk,
but I guess it follows the same method as of libc6 for Intel.
Can you check the Debian rules file from libc6 2.0 to create a similar
libc6-pic package ?
2/ the .rem symbol is defined in libslang (0.99.38) but not in the the libslang
generated for miniroot by processing the libslang-pic package.
# objdump --dynamic-syms /lib/libslang.so.0.99.38 | grep '\.rem'
000077d4 g DF .text 000002a8 Base .rem
# objdump --dynamic-syms /mnt/lib/libslang.so.0.99.38 | grep '\.rem'
00000000 D *UND* 00000000 .rem
We have had previous discussion about including or not the .*{rem,div,mul}
symbols in the shared libc library.
This problem raises another point on which current libc policy fails.
3/ the linker (binutils 2.8.1.0.19) seems to be broken. It fails to generate
the libc6 library from libc6-pic when multiple versions of the same symbol
exist:
ld: /var/tmp/lib.10183: undefined versioned symbol name fclose@@GLIBC_2.1
ld: failed to set dynamic section sizes: Bad value
The command used to generate such library is similar to the following one
(from boot-floppies):
# scripts/rootdisk/generate_library libc.so.6 "/usr/lib/libc_pic.a \
/lib/ld-linux.so.2 -e __libc_main" /tmp/libc.so.6 /usr/bin/ls
fclose is used by ls:
# objdump --dynamic-syms /bin/ls | grep fclose
00027ad8 DF *UND* 00000110 GLIBC_2.1 fclose
Before trying to fix the latter problem, I would want to know if a new libc6
upload is planned?
PS: In the meantime of having a libc6 which could be reduced cleanly from
the pic lib, I included a full version in the ramdisk. However, I cannot
create a rescue disk because this ramdisk is too large. A complete libc6
takes about 960 KB !
--
Eric Delaunay | "La guerre justifie l'existence des militaires.
delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: