Subject: i386 build failure
To: None <current-users@netbsd.org>
From: Julio M. Merino Vidal <jmerino@ac.upc.edu>
List: current-users
Date: 05/29/2007 11:35:20
Hi,

After the "Image size too big (88Kb)" problem has been fixed in an  
i386 release build, I have found another build error.  The log's tail  
is shown below.  Any idea?

     compile  ramdisk-big/ramdiskbin.o
        link  ramdisk-big/ramdiskbin
/Users/jmmv/Projects/NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/ 
usr/lib/libc.a(multibyte_amd1.o): In function `wctob':
multibyte_amd1.c:(.text+0x0): multiple definition of `wctob'
libhack.o:: first defined here
/Volumes/NetBSD/tools.i386/bin/../lib/gcc/i386--netbsdelf/ 
4.1.2/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol  
`wctob' changed from 8 in libhack.o to 55 in /Users/jmmv/Projects/ 
NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/usr/lib/libc.a 
(multibyte_amd1.o)
/Users/jmmv/Projects/NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/ 
usr/lib/libc.a(multibyte_amd1.o): In function `wcrtomb':
multibyte_amd1.c:(.text+0x38): multiple definition of `wcrtomb'
libhack.o:: first defined here
/Volumes/NetBSD/tools.i386/bin/../lib/gcc/i386--netbsdelf/ 
4.1.2/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol  
`wcrtomb' changed from 18 in libhack.o to 142 in /Users/jmmv/Projects/ 
NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/usr/lib/libc.a 
(multibyte_amd1.o)
/Users/jmmv/Projects/NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/ 
usr/lib/libc.a(multibyte_amd1.o): In function `mbrtowc':
multibyte_amd1.c:(.text+0x280): multiple definition of `mbrtowc'
libhack.o:: first defined here
/Volumes/NetBSD/tools.i386/bin/../lib/gcc/i386--netbsdelf/ 
4.1.2/../../../../i386--netbsdelf/bin/ld: Warning: size of symbol  
`mbrtowc' changed from 23 in libhack.o to 146 in /Users/jmmv/Projects/ 
NetBSD/obj.i386/Volumes/NetBSD/src/destdir.i386/usr/lib/libc.a 
(multibyte_amd1.o)
collect2: ld returned 1 exit status
--- ramdiskbin ---
*** [ramdiskbin] Error code 1
1 error

nbmake: stopped in /Volumes/NetBSD/src/distrib/i386/ramdisks/ramdisk-big
--- ramdiskbin.strip ---
*** [ramdiskbin.strip] Error code 2
1 error

-- 
Julio M. Merino Vidal <jmerino@ac.upc.edu>