Re: r232623 breaks buildworld (or a recent commit...)B

From: matt <sendtomatt_at_gmail.com>
Date: Tue, 06 Mar 2012 14:31:24 -0800
On 03/06/12 13:21, Larry Rosenman wrote:
> buildworld broken by r232623.
>
>  -fpic -DPIC  -O2 -pipe -fno-omit-frame-pointer 
> -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include
> -I/usr/src/lib/libc/amd64 -DNLS  -D__DBINTERFACE_PRIVATE
> -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6
> -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE
> -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/tzcode/stdtime
> -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES
> -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING
> -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers
> -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c
> /usr/src/lib/libc/string/wmemset.c -o wmemset.So
> ctfconvert -L VERSION wmemset.So
> building shared library libc.so.7
> setrunelocale.So: In function `__getCurrentRuneLocale':
> setrunelocale.c:(.text+0x0): multiple definition of
> `__getCurrentRuneLocale'
> nomacros.So:nomacros.c:(.text+0x0): first defined here
> *** Error code 1
>
> Stop in /usr/src/lib/libc.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
> ^C
> [1]   Done(1)                 nohup make buildworld buildkernel
> >make.out 2>&1
> # svn info
> Path: .
> Working Copy Root Path: /usr/src
> URL: svn://svn.freebsd.org/base/head
> Repository Root: svn://svn.freebsd.org/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 232623
> Node Kind: directory
> Schedule: normal
> Last Changed Author: jhb
> Last Changed Rev: 232623
> Last Changed Date: 2012-03-06 14:45:13 -0600 (Tue, 06 Mar 2012)
>
> My system is at:
>
> FreeBSD borg.lerctr.org 10.0-CURRENT FreeBSD 10.0-CURRENT #59 r232474:
> Sat Mar  3 15:51:02 CST 2012    
> root_at_borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE  amd64
>
If you examine the commit, parts can be removed...The problem seems to
result from XLOCALE_INLINE stuff?
there's a part of /usr/include/_ctype.h that can be forced to act as
though inlines are not available, and there's a part of
/usr/include/ctype.h (POSIX ifdef referencing xlocale) that can simply
be commented.
Also I included runetype.h in a few places, and ports (esp.
xfce...xscreensaver & thunderbird) worked again. I ended up having to
twiddle the above things on and off in various combinations for
different ports...obviously not ideal.

Matt
Received on Tue Mar 06 2012 - 21:32:49 UTC

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