[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845461: gcc-6: Please build with --with-cpu=ultrasparc on sparc



On 24.11.2016 19:10, Jose E. Marchesi wrote:
>     
>     I'm pretty confident that --with-cpu=ultrasparc won't do any harm in
>     64-bit mode, but Jose (CC'ed as gcc upstream) will hopefully correct
>     me here if I'm wrong.
> 
> The cpu selected in --with-cpu impacts both -m64 and -m32 in a biarch
> compiler.  However, I can't say anything about the patch since I lack
> the most basic context here, i.e. I have no idea what the contents of
> that rules2 file are.

The patches to configure --with-cpu-32= and --with-cpu-64= are availabe in GCC
6, so we should use them and ensure that the defaults for the sparc/64 and
sparc64, and sparc and sparc64/32 targets match.  Just forcing ultrasparc for
all multilib variants seems to be questionable.

Btw, is there any business with the Debian sparc port, or is this just some
exercise?

Matthias


Reply to: