Re: [9.0-RC1 FreeBSD] [amd64] buildworld fails on building lib/libss with CLANG

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 29 Oct 2011 18:22:34 +0200
On 2011-10-29 15:44, David Marec wrote:
> Running FreebSD 9.0 RC-1, the "make buildworld" processing failed on the
> following error on its attempt to build 'lib/libssp':
>
> ===>  gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)
> rm -f .depend
> CC='clang' mkdep -f .depend -a    -DHAVE_CONFIG_H
> -I/usr/src/gnu/lib/libssp/libs
> sp_nonshared/..
> -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/g
> cclibs/libssp
> -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcc
> libs/include -DPIC
> /usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/
> gcclibs/libssp/ssp-local.c
> clang -O2 -pipe -march=native -DHAVE_CONFIG_H
> -I/usr/src/gnu/lib/libssp/libssp_n
> onshared/..
> -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gccl
> ibs/libssp
> -I/usr/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gccli
> bs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -fstack-protector
>    -c /usr
> /src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-loca
> l.c
> error: unknown target CPU 'amdfam10'
> *** Error code 1
>
> Stop in /usr/src/gnu/lib/libssp/libssp_nonshared.
> *** Error code 1

I think the problem is caused by using CPUTYPE=native in make.conf.  Is
that what you are using?

If so, please add DEBUG_FLAGS=-v to your make command line, log the
whole thing, and upload the log somewhere.  (Don't post it to the list,
because it will probably be very large.)
Received on Sat Oct 29 2011 - 14:22:31 UTC

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