[Samuel Thibault]
> Ah, no: did you have libc0.3-pic installed when you tried?  Without it,
> mklibs doesn't actually reduce libc.so.

Nope, I didn't.  Now I can reproduce the problem:

  # apt-get install libc0.3-pic; mkdir foo; mklibs -d foo /bin/ls
  I: Using /lib/ld.so as dynamic linker.
  I: library reduction pass 1
  108 symbols, 108 unresolved
  /usr/lib/i386-gnu//libc_pic.a(dtable.os): In function `init_dtable':
  (.text+0x2056): undefined reference to `__stop__hurd_fd_subinit'
  /usr/bin/ld: /usr/lib/i386-gnu//libc_pic.a(dtable.os): relocation 
R_386_GOTOFF against undefined hidden symbol `__stop__hurd_fd_subinit' can not 
be used when making a shared object
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status
  Command failed with status 1 : gcc -nostdlib -nostartfiles -shared 
-Wl,-soname=libc.so.0.3 -ustpncpy -ulocaltime -ufileno -ustrtoul 
-u_obstack_begin -ustrncmp -ustrrchr -uexit -umbsinit -u__ctype_tolower_loc 
-ugetgrnam -umalloc -u__assert_fail -ulseek64 -ufwrite_unlocked -u__overflow 
-ustrcmp -ufflush_unlocked -umemmove -ubindtextdomain -unl_langinfo -uwcstombs 
-uungetc -u__ctype_get_mb_cur_max -uopen64 -u__errno_location -ureadlink 
-u__strtoull_internal -umktime -ureaddir64 -ufscanf -usigemptyset -udcgettext 
-u__fpending -ufnmatch -uopendir -ustrcpy -u__sprintf_chk -uclose -ustrchr 
-usigprocmask -u_obstack_newchunk -uabort -u__fxstat64 -umemset -uwcswidth 
-ufclose -ugettimeofday -ufwrite -ulocaleconv -utcgetpgrp -umemcmp -ufflush 
-u__memcpy_chk -umempcpy -u__stack_chk_fail -uisatty -u__freading -ugetgrgid 
-ugetpwuid -u_setjmp -usigaction -uwcwidth -u__mempcpy_chk -uerror 
-ufputs_unlocked -u__libc_start_main -ugetopt_long -usigismember -ustrcoll 
-uraise -uioctl -usetlocale -u_exit -uiswcntrl -ugetpwnam -ustrftime 
-u__dso_handle -umbrtowc -umemcpy -u__lxstat64 -uclock_gettime -u__xstat64 
-ucalloc -u__ctype_toupper_loc -usignal -ufseeko64 -ustpcpy -udirfd -ufdopen 
-urealloc -u__cxa_atexit -ustrstr -u__fprintf_chk -ufree -u__printf_chk 
-uiswprint -ugetenv -utextdomain -u__ctype_b_loc -umbstowcs -uclosedir 
-u__uflow -usigaddset -ustrlen -o foo/libc.so.0.3-so 
/usr/lib/i386-gnu/libc_pic/soinit.o /usr/lib/i386-gnu//libc_pic.a 
/usr/lib/i386-gnu/libc_pic/sofini.o 
-Wl,--version-script=/usr/lib/i386-gnu//libc_pic.map -lgcc -Lfoo 
-L/lib/i386-gnu/ -L/lib/ -L/usr/lib/i386-gnu/ -L/usr/lib/ 
-L/usr/X11R6/lib/i386-gnu/ -L/usr/X11R6/lib/ /lib/i386-gnu//ld.so.1 -lmachuser 
-lhurduser
  With output: 
  #

-- 
Happy hacking
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140222180616.gg3...@ulrik.uio.no

Reply via email to