Date: Fri, 11 Jan 2013 16:58:29 -0500 From: "illoai@gmail.com" <illoai@gmail.com> To: ajtiM <lumiwa@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: clang Message-ID: <CAHHBGkog1-3H0AKKNhNvwD%2BVqpSuwwLaB4=SgvgqYQfHryaiBw@mail.gmail.com> In-Reply-To: <CAHHBGko63QcayeSccF7znpgGpmPQ7vhXhdG-1XytkH9BaT0MYw@mail.gmail.com> References: <201301091750.14076.lumiwa@gmail.com> <CAHHBGko63QcayeSccF7znpgGpmPQ7vhXhdG-1XytkH9BaT0MYw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11 January 2013 16:49, illoai@gmail.com <illoai@gmail.com> wrote: > On 9 January 2013 18:50, ajtiM <lumiwa@gmail.com> wrote: >> I had FreeBSD 9.0-RELEASE which was updated with freebsd-update upgrade to >> RC-3 and RC3 with freebsd-update to 9.1 release: >> >> FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 >> root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> Almost 90% of ports I built with clang and in etc/make.conf I have: >> >> CC=clang >> CXX=clang++ >> CPP=clang-cpp >> >> But when I ran clang --version I got: >> >> FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 >> Target: i386-unknown-freebsd9.0 >> Thread model: posix >> >> Is it normal, please? With update of FreeBSD from 9.0 to RC3 and to Release I >> din't have any problem >> >> Thank you. >> > > Huh, weird. > > % clang --version > FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 > Target: x86_64-unknown-freebsd9.0 > Thread model: posix > % uname -a > FreeBSD hostname 9.1-RELEASE FreeBSD 9.1-RELEASE #2 r243712: Fri Nov > 30 18:23:24 EST 2012 > root@hostname:/usr/obj/usr/src/sys/KERNEL9 amd64 After grepping the entire source tree: /usr/src/gnu/lib/libdialog/dlg_config.h:#define SYSTEM_NAME "freebsd9.0" /usr/src/gnu/usr.bin/binutils/as/config.h:/* #define TARGET_ALIAS "i386-unknown-freebsd9.0" */ /usr/src/gnu/usr.bin/binutils/as/config.h:/* #define TARGET_CANONICAL "i386-unknown-freebsd9.0" */ /usr/src/gnu/usr.bin/binutils/as/config.h:/* #define TARGET_OS "freebsd9.0" */ /usr/src/gnu/usr.bin/binutils/libbinutils/config.h:/* #define TARGET "i386-unknown-freebsd9.0" */ /usr/src/lib/clang/clang.build.mk:CFLAGS+=-DLLVM_DEFAULT_TARGET_TRIPLE=\"${TARGET_ARCH:C/amd64/x86_64/}-unknown-freebsd9.0\" As to whether that is intentional or not, is beyond me. -- --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkog1-3H0AKKNhNvwD%2BVqpSuwwLaB4=SgvgqYQfHryaiBw>