Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 08:28:42 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        David Marec <david.marec@davenulle.org>
Cc:        current@freebsd.org
Subject:   Re: [9.0-RC1 FreeBSD] [amd64] buildworld fails on building lib/libss with CLANG
Message-ID:  <20111030072842.GA23153@freebsd.org>
In-Reply-To: <4EAC033E.6010201@davenulle.org>
References:  <4EAC033E.6010201@davenulle.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a bug in clang, llvm supports "amdfam10" but the clang counterpart
wasnt updated. Thank you for the report!

On Sat, Oct 29, 2011 at 03:44:30PM +0200, David Marec wrote:
> hi list,
> 
> 
> 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
> 
> 
> 
> The sources files were updated yesterday evening.
> I did not try to process this with gcc yet.
> 
> -- 
> David Marec, mailto:david.marec@davenulle.org
> http://user.lamaiziere.net/david/Site
> http://www.diablotins.org/
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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