Date: Sat, 27 Apr 2013 20:04:09 GMT From: Garrett Cooper <yaneurabeya@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/178203: clang not properly sourcing headers in buildworld when WITH_CLANG_IS_CC is set Message-ID: <201304272004.r3RK49FA091507@red.freebsd.org> Resent-Message-ID: <201304272010.r3RKA0PX055135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304272004.r3RK49FA091507>