This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lib{atomic, itm}/configure.tgt uses -mcpu=v9 as default for sparc
- From: csanchezdll at gmail dot com (Carlos SÃnchez de La Lama)
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 02 Jun 2014 11:38:05 +0000
- Subject: Re: lib{atomic, itm}/configure.tgt uses -mcpu=v9 as default for sparc
- Authentication-results: sourceware.org; auth=none
- References: <daz8upf8y2z dot fsf at sdf dot lonestar dot org> <4871468 dot TDuAmUELpQ at polaris>
Hi Eric
>> Removing "-mcpu=v9" allows the build to finalize.
>
> IIRC both libraries require the V9 architecture to work
> properly/efficiently.
I have successfully built without the switch, but I am not sure of the
effects at runtime.
If V9 is indeed required, is there a way to build without those libs? Or
has pre V9 support been dropped at some point?
IMHO an efficiency enhancement should not prevent running less
efficiently on a supported architecture. If target triple is
sparcv9-*-*, the next case will match and will add the "-mcpu=v9" to
XCFLAGS, but adding it for non-v9 sparc-*-* targets is at least weird.
Carlos