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

Re: GNU libc snapshots work again on the Hurd



|You mean you booted with -s, right?
|Have you tried multiuser (no -s) boot yet?
|Please let us know what problems you encounter.

I used simple /libexec/rc
#!/bin/sh
only.
 Because,most of binaries linked against glibc-2.0 caught Segmentation
Fault. and fsck can't finish.( I manualy suspend it. )

 I began to test glibc-2.0.105 based system. 
ftp://ftp.nop.or.jp/pub/gnu-0.2/gnu-glibc-2.0.105/*.tar.gz
are my samples. I'm now using this system.

DESCRIPTION:
----------------------------------------
cross-compiler: (host:i686--linux-gnu,i586--freebsd,i586--netbsd)
----------------------------------------
		egcs-1.1.1 
		binutils-2.9.1.0.16
		mig-1.0.1
	using special `specs' file.
--- specs~	Sun Sep  6 00:07:27 1998
+++ specs	Thu Oct  1 18:54:29 1998
@@ -26,7 +26,7 @@
 -lgcc
 
 *startfile:
-%{!shared:      %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} 		       %{!p:%{profile:gcrt1.o%s} 			 %{!profile:crt1.o%s}}}}    crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}
+%{!shared:      %{!static:	%{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} 		       %{!p:%{profile:gcrt1.o%s} 			 %{!profile:crt1.o%s}}}}  %{static:crt0.o%s}}  crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}
 
 *switches_need_spaces:


----------------------------------------
Cross compiled binaries.
----------------------------------------

	glibc-2.0.105:
		CC=i586--gnu-gcc ../configure --prefix= --disable-profile --build=i686--linux-gnu --host=i586--gnu --target=i586--gnu
		* missing include/rpc  -> manualy copy from glibc-2.0.105/include/rpc/* & glibc-2.0.105/sunrpc/rpc/*
		* gnu/stubs.h ... copy from old distribution. (???)
		
	hurd-19981204:
		CC=i586--gnu-gcc ../configure --prefix=/i586--gnu --disable-profile --build=i686--linux-gnu --host=i586--gnu --target=i586--gnu

	----------------------------------
	My default configure line is CC=i586--gnu-gcc ../configure --prefix=/i586--gnu  --build=i586--freebsd --host=i586--gnu --target=i586--gnu
	----------------------------------

	termcap-1.3 --enable-install-termcap
	
	sh-utils-1.16 
		* replace getloadavg.c with emacs-20.3/src/getloadavg.c 
		* remove strstr() declaration.

	fileutils-4.0 RANLIB=i586--gnu-ranlib

	ed-0.2

	patch-2.5

	sed-3.02 RANLIB=i586--gnu-ranlib

	binutils-2.9.1.0.16:
		* Skip compiling gprof.

	grep-2.2
	
	gettext-0.10.35

	less-332

	flex-2.5.4a --prefix=/local
	bison-1.25 --prefix=/local
	m4-1.4 --prefix=/local

	textutils-1.22
		* src/tr.c:234 remove declaration strcpy().
	sharutils-4.2
		* rearrange po/nl.po po/pt.po

	gawk-3.0.3
		* skip configure 'getpgrp'
		* and manually #define GETPGRP_VOID

	diffutils-2.7
		* skip configure 'closedir'

	findutils-4.1 
		* skip configure 'closedir'
		* comment out char *strdup ();char *strstr ();declaration. (find/fstype.c,find/parser.c,xargs/xargs.c,lib/nextelem.c)
		* find/pred.c define _GNU_SOURCE before include fnmatch.h to use FNM_CASEFOLD

	tar-1.12 
		* lib/gmalloc.c:312: comment out `extern size_t __getpagesize __P ((void));'

	egcs-1.1.1
		* At 1st cross compile `xgcc' and then native compiling...
		* libiberty/getruntime.c :#undef HAVE_TIMES
		* libiberty/strerror.c :#define HAVE_SYS_ERRLIST

----------------
To bootstrap...
----------------
	* Don't forget (cd /lib;ln -s ld.so.1 ld.so).If don't,stop at diskfs_start_bootstrap() during bootstraping.
	* Binaries are compiled with option --prefix=/i586--gnu. so don't remove symbolic link `/i586--gnu -> ..'
	* /boot/gnumach is `my gnumach'. Please replace with `your gnumach'.
------------------------------
Native compiled binaries.
------------------------------
	egcs-1.1.1 (recompiled again) --prefix=/local
	make-3.77 --prefix=/local
	autoconf-2.12 --prefix=/local
	mig-1.0.1 --prefix=/local
	inetutils-1.3.2 --prefix=
	gzip-1.4.2 --prefix=
	emacs-20.3 --prefix=/local
		* src/s/gnu.h: #undef NLIST_STRUCT
	gnumach-withnewlinuxdev-19981202
	texinfo-3.12 --prefix=/local


---
UCHIYAMA Yasushi
uch@nop.or.jp 


Reply to: