Re: Problem upgrading 4.8 to 5.1

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Fri, 3 Oct 2003 00:51:05 +0300
On Thu, Oct 02, 2003 at 11:08:53PM +0200, John Angelmo wrote:
> OK I'm trying to upgrade from 4.8 (pre 4.9) to 5.1 (using the 5_1 tag 
> with cvsup)
> 
> The problem I get is this:
> 
> cc -fpic -DPIC -O -pipe -DPTHREAD_KERNEL 
> -I/usr/src/lib/libpthread/../libc/include 
> -I/usr/src/lib/libpthread/thread 
> -I/usr/src/lib/libpthread/../../include 
> -I/usr/src/lib/libpthread/arch/i386/include 
> -I/usr/src/lib/libpthread/sys 
> -I/usr/src/lib/libpthread/../../libexec/rtld-elf -fno-builtin 
> -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall  -c 
> /usr/src/lib/libpthread/sys/lock.c -o lock.So
> building shared library libkse.so.1
> thr_libc.So: In function `sigaction':
> thr_libc.So(.text+0x54): multiple definition of `_sigaction'
> thr_sigaction.So(.text+0x0): first defined here
> thr_libc.So: In function `sigprocmask':
> thr_libc.So(.text+0x34): multiple definition of `_sigprocmask'
> thr_sigprocmask.So(.text+0x0): first defined here
> *** Error code 1
> 
> Stop in /usr/src/lib/libpthread.
> *** Error code 1
> 
> Stop in /usr/src/lib.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> 
> Is this a known problem and what can I do about it?
> 
Yes, this is a known problem (please see the attached).
I am yet to hear from the Security Officers team if they
want this in RELENG_5_1 or not, as this CVS branch is
under the so_at_ jurisdiction now.

Since this is the 3rd report I hear on the issue, my
recommendation would be to let these changes in, but
we'll see if the so_at_'s mileage varies.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

attached mail follows:


On Tue, Sep 02, 2003 at 07:49:55PM +0300, ODHIAMBO Washington wrote:
> * Ruslan Ermilov <ru_at_FreeBSD.org> [20030902 18:49]: wrote:
> > On Tue, Sep 02, 2003 at 06:24:05PM +0300, ODHIAMBO Washington wrote:
> > > * Ruslan Ermilov <ru_at_FreeBSD.org> [20030902 13:09]: wrote:
> > > 
> > > Hello Ruslan,
> > > 
> > > http://ns2.wananchi.com/~wash/FreeBSD/buildworld-fail.txt
> > > 
> > > available, compressed.
> > > 
> > Now this is much better.  I will look into it, and let you know.
> 
> 
> Awaiting eagerly, with a "dodo" FreeBSD box here ;)
> I did the following:
> 
> cd /usr
> rm -rf src
> cvsup again, tag=RELENG_5_1
> make buildworld
> 
> It still failed.
> 
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


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

Received on Thu Oct 02 2003 - 12:51:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:24 UTC