Two issues. One minor, one major.

Garrett Cooper yanefbsd at gmail.com
Sat Dec 13 11:45:33 PST 2008


On Fri, Dec 12, 2008 at 1:58 AM, Horst Günther Burkhardt III
<horst at sxemacs.org> wrote:
> On Thu, 2008-12-11 at 11:32 +0100, Andreas Tobler wrote:
>> -mcpu=7400 does imply -mppc -maltivec. See the rs6000.h in the
>> gcc/config/rs6000 directory.
>> I'd suggest to build w/o special cpu flags.
>
> Thanks.
>
> OK. Idea:
>
> -Put patch in devel/gcc and patch in the base system that either
>
> makes altivec do nothing (NOT a good idea)
> makes mcpu not imply maltivec ( a better idea, as it can just be undone
> when the kernel gets altivec instruction support )
>
>
> good idea y/y?
>
> (also, so it seems the fix is just explicitly supply -mno-altivec in the
> commandline)
>
> --Horst

I think that putting some logic in the ports and src makefiles to
automatically add -mno-altivec would be wise.
-Garrett


More information about the freebsd-ppc mailing list