r245741 (clang as cc) can not build binaries for GEODE processor

Patrick Lamaiziere patfbsd at davenulle.org
Fri Feb 22 13:33:52 UTC 2013


Le Fri, 22 Feb 2013 16:45:58 +0400,
Lev Serebryakov <lev at FreeBSD.org> a écrit :

Hello,

> Hello, Daniel.
> You wrote 22 февраля 2013 г., 16:04:11:
> 
> DN> I'm not familiar with NanoBSD, but does it do the package builds
> DN> for you - or do you do those by hand?
> DN> If it's the latter, I don't quite understand how the compiler is
> DN> supposed to know the target CPUTYPE?

>  It is latter, but IMHO, _without_ any CPUTYPE set, system compiler
> should generate generic enough binaries to run on all supported CPUs
> of target platform (i386 in this case).

Clang should work now if march=geode (see:
http://llvm.org/bugs/show_bug.cgi?id=11212 )

But I agree that by default on i386, the code should work on
i386... Looks like this is not true anymore (>= i686 ?).

Regards.


More information about the freebsd-current mailing list