bin/178203: clang not properly sourcing headers in buildworld when WITH_CLANG_IS_CC is set

Garrett Cooper yaneurabeya at gmail.com
Sat Apr 27 20:10:01 UTC 2013


>Number:         178203
>Category:       bin
>Synopsis:       clang not properly sourcing headers in buildworld when WITH_CLANG_IS_CC is set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 27 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fuji-current.local 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r+eabe039: Wed Apr 24 09:56:41 PDT 2013     root at fuji-current.local:/usr/obj/usr/src/sys/FUJI  i386
>Description:
Recently decided to build a system with WITH_ICONV= support on in src.conf and it failed because it wasn't trying to pick up iconv.h from ${MAKEOBJDIRPREFIX}, but instead from the build host when building libc, which is wrong for multiple reasons.

clang needs to be fixed to pick up headers from ${MAKEOBJDIRPREFIX}.
>How-To-Repeat:
make buildworld -DWITH_CLANG -DWITH_CLANG_IS_CC -DWITH_ICONV
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list