Subject: Re: [netbsd-4] build release fails on i386
To: Andreas Burghardt <a-burghardt@gmx.de>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: current-users
Date: 05/08/2007 20:23:54
--dUqh8vgUBVXHzm9w
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 08, 2007 at 07:27:42PM +0200, Andreas Burghardt wrote:
> my src and xsrc are up to date (with the last ticket from today #603).
>=20
> (no optimazation used ... just a stadard-build)
> After building the "tools" and "build", taget "release" fails:
>=20
> # sh build.sh -N 1 -m i386 -D /usr/obj/dest -T /usr/obj/tools \
>         -R /usr/obj/release -O /usr/obj/obj -u -x release
>=20
> ...
> depend =3D=3D=3D> etc/i386/ramdisks/ramdisk-big/mbr
> `fdisk.ro' is up to date.
> `mount_ext2fs.ro' is up to date.
> `mount_ntfs.ro' is up to date.
> `raidctl.ro' is up to date.
> `restore.ro' is up to date.
> `scsictl.ro' is up to date.
> `shutdown.ro' is up to date.
> `slattach.ro' is up to date.
> `sysctl.ro' is up to date.
> `less.ro' is up to date.
> `tip.ro' is up to date.
> `installboot.ro' is up to date.
> `wiconfig.ro' is up to date.
> `sysinst.ro' is up to date.
> `progress.ro' is up to date.
> `ping6.ro' is up to date.
> `rtsol.ro' is up to date.
> link  ramdisk-big/ramdiskbin
> /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o): In function `mbrtowc':
> multibyte_amd1.c:(.text+0x280): multiple definition of `mbrtowc'
>  libhack.o:: first defined here
> /usr/obj/tools/lib/gcc/i386--netbsdelf/4.1.2/../../../../i386--netbsdelf/=
bin/ld: Warning: size of symbol `mbrtowc' changed from 23 in libhack.o to 1=
46 in /usr/obj/dest/usr/lib/libc.a(multibyte_amd1.o)
> collect2: ld returned 1 exit status

fwiw, this happened to me with a slightly older -current yesterday.
i didn't have time to investigate.

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--dUqh8vgUBVXHzm9w
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFGQMA6iwjDDlS8cmMRAh92AJwJ91n5ZuL/yAX58BGn5+6DVDq6TQCfVicr
y3uboqRNUdOX/778Xpt488s=
=JZHe
-----END PGP SIGNATURE-----

--dUqh8vgUBVXHzm9w--