Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 02:49:33 +0300
From:      Alexander Portnoy <my-subs@mail.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: 5.1-RELEASE-p2 buildworld crash - help!!
Message-ID:  <20030905024933.08c8507d.my-subs@mail.ru>
In-Reply-To: <20030904155842.GM5597@ns2.wananchi.com>
References:  <20030901045427.GE75632@ns2.wananchi.com> <20030901065118.GC30277@sunbay.com> <20030901121821.GN34397@ns2.wananchi.com> <20030901180809.GB15755@sunbay.com> <20030902050805.GG13129@ns2.wananchi.com> <20030902100713.GB20281@sunbay.com> <20030902152405.GE73353@ns2.wananchi.com> <20030902154817.GB64892@sunbay.com> <20030902164955.GH73353@ns2.wananchi.com> <20030903083354.GA79523@sunbay.com> <20030904155842.GM5597@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Sep 2003 18:58:42 +0300
ODHIAMBO Washington <wash@wananchi.com> wrote:

> This is what Ruslan said of the problem. However, I must admit that
> I haven't done anything about it since I did not quite understand
> what it is he meant I should do ;)
> 
> Quoting him verbatim:
> 
> 
> > I've tracked it down to the same problem we were having ealier
> > with the libpthread build.  You can either merge the following
> > revisions manually, or wait for an official fix to pop up in
> > RELENG_5_1:
> > 
> > Makefile.inc1: 1.365, 1.367
> > lib/libpthread/support/Makefile.inc: 1.2
> 
> 
> TIA
> 
> 
> -Wash
> 
> -- 
> Odhiambo Washington   <wash@wananchi.com>  "The box said 'Requires
> Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
> Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
> GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)
> 
> Don't believe everything you hear or anything you say.
> 


There are the patches:


diff -u /usr/src/Makefile.inc1.orig /usr/src/Makefile.inc1
#--------------------------------------------------------------------------------------
--- /usr/src/Makefile.inc1.orig	Fri Sep  5 02:11:23 2003
+++ /usr/src/Makefile.inc1	Fri Sep  5 00:47:07 2003
@@ -791,6 +791,10 @@
 _generic_libs+=	kerberos5/lib
 .endif
 
+.if !defined(NOLIBPTHREAD)
+_prebuild_libs+= lib/libc
+.endif
+	 
 _prebuild_libs+= lib/libcom_err lib/libcrypt lib/libexpat \
 		lib/libkvm lib/libmd \
 		lib/libncurses lib/libopie lib/libpam lib/libradius \
#--------------------------------------------------------------------------------------


diff -u  /usr/src/lib/libpthread/support/Makefile.inc.orig /usr/src/lib/libpthread/support/Makefile.inc
#--------------------------------------------------------------------------------------
--- /usr/src/lib/libpthread/support/Makefile.inc.orig	Fri Sep  5 02:13:29 2003
+++ /usr/src/lib/libpthread/support/Makefile.inc	Fri Sep  5 00:48:10 2003
@@ -6,5 +6,5 @@
 SOBJS+= thr_libc.So
 
 thr_libc.So: thr_support.So
-	${CC} -nostdlib -L/usr/lib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic
+	${CC} -nostdlib -o ${.TARGET} -Wl,-x,-r ${.ALLSRC} -lc_pic
#--------------------------------------------------------------------------------------

They resolved the problem of buildworld 5.1-RELEASE-p2 on 4.8-RELEASE-p4.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905024933.08c8507d.my-subs>