Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2012 17:51:02 +0000
From:      Pegasus Mc Cleaft <ken@mthelicon.com>
To:        freebsd-current@freebsd.org
Cc:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Subject:   Re: CLANG buildworld failure: lint: cannot exec /usr/obj/usr/src/tmp/usr/bin/cc: No such file or directory
Message-ID:  <201203041751.02531.ken@mthelicon.com>
In-Reply-To: <201203041628.q24GS12l088270@pozo.com>
References:  <4F536D41.1030302@zedat.fu-berlin.de> <201203041628.q24GS12l088270@pozo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 04 March 2012 16:27:56 Manfred Antar wrote:
> At 05:25 AM 3/4/2012, O. Hartmann wrote:
> >Buildworld of FBSD 10.o-CUR/amd64 fails with the below shown error
> >messages since this weekend:
> >
> >
> >clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
> >-fno-strict-aliasing -march=native
> >-I/usr/src/usr.bin/xlint/xlint/../lint1 -DPREFIX=\"\"
> >-I/usr/src/usr.bin/xlint/xlint/../arch/amd64
> >-I/usr/src/usr.bin/xlint/xlint/../common -std=gnu99 -fstack-protector
> >-Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter
> >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> >-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> >-Wcast-align -Wchar-subscripts -Winline -Wnested-externs
> >-Wredundant-decls -Wold-style-definition -Wno-pointer-sign  -o xlint
> >xlint.o mem.o
> >clang: warning: argument unused during compilation: '-std=gnu99'
> >gzip -cn /usr/src/usr.bin/xlint/xlint/lint.1 > lint.1.gz
> >===> usr.bin/xlint/llib (all)
> >lint -cghapbx -Cposix /usr/src/usr.bin/xlint/llib/llib-lposix
> >llib-lposix:
> >lint: cannot exec /usr/obj/usr/src/tmp/usr/bin/cc: No such file or
> >directory *** [llib-lposix.ln] Error code 1
> >
> >Stop in /usr/src/usr.bin/xlint/llib.
> >*** [all] Error code 1
> >
> >Stop in /usr/src/usr.bin/xlint.
> >*** [all] Error code 1
> >
> >Stop in /usr/src/usr.bin.
> >*** [usr.bin.all__D] Error code 1
> >
> >Stop in /usr/src.
> >*** [everything] Error code 1
> >
> >Stop in /usr/src.
> >*** [buildworld] Error code 1
> >
> >Stop in /usr/src.
> >
> >
> >Regards,
> >Oliver
> 
> I got the same error 1 day ago on i386 platform.

	I got the same error, but got around it by putting:

		WITH_CLANG_IS_CC=no

	in  /etc/src.conf

ta,
Peg




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203041751.02531.ken>