Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 19:23:59 -0800
From:      Kent Stewart <kstewart@urx.com>
To:        Terry Dwyer <tdwyer@bigpond.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/22432: It looks like David O'Brien's commit of /usr/lib/crt*.o  to stable has broken some port builds
Message-ID:  <39FE3B4F.72E029E9@urx.com>
References:  <200010310320.TAA92726@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Terry Dwyer wrote:
> 
> The following reply was made to PR ports/22432; it has been noted by GNATS.
> 
> From: Terry Dwyer <tdwyer@bigpond.com>
> To: freebsd-gnats-submit@FreeBSD.org, tdwyer@bigpond.com
> Cc:
> Subject: Re: ports/22432: It looks like David O'Brien's commit of /usr/lib/crt*.o
>  to stable has broken some port builds
> Date: Tue, 31 Oct 2000 11:17:22 +0800
> 
>  Whoops!
> 
>  I tried building these ports after a make buildworld && make
>  installworld
>  while the new kernel was building.  I had not noticed the kernel
>  build
>  had failed with the same errors:
> 
>  ===> an
>  ===> aue
>  touch __miibus_hack_dep.c
>  cc -shared -O -pipe  -D_KERNEL -Wall -Wredundant-decls
>  -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
>  -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi
>  -DKLD_MODULE -nostdinc -I-  -I. -I@ -I@/../include
>  -mpreferred-stack-boundary=2 -o miibus __miibus_hack_dep.c
>  /usr/lib/crtbeginS.o: In function `_init':
>  /usr/lib/crtbeginS.o(.init+0x0): multiple definition of `_init'
>  /usr/lib/crti.o(.init+0x0): first defined here
>  /usr/lib/crtbeginS.o: In function `_fini':
>  /usr/lib/crtbeginS.o(.fini+0x0): multiple definition of `_fini'
>  /usr/lib/crti.o(.fini+0x0): first defined here
>  *** Error code 1
> 
>  Stop in /usr/src/sys/modules/aue.
>  *** Error code 1
> 
>  Stop in /usr/src/sys/modules.
>  *** Error code 1
> 
>  Stop in /usr/src/sys/compile/CHARON.sld.
> 
>  So I guess this belongs in kernel problem reports.
> 
>  Sorry about that


There was a discussion on this problem in cvs-all. The changes also
temporarily broke any buildworld's. O'Brien's current changes (0226
GMT - 31 Oct) seem to have fixed this problem. I can't say have
because my system is still doing the buildworld but it is well past
where the error was first encountered.

If you cvsup, you are going to have to update your user world and
kernel. You may also have to "cd /usr/src/gnu/lib/csu", which is where
this code is stored, and do a make and make install to get around the
problem.

Kent

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39FE3B4F.72E029E9>