Package: gcc-4.9
Version: 4.9.2-10
Severity: normal

Dear Maintainer,

Running Debian on an old PowerMac G5, I can't use the -mtune=native
switch for gcc when compiling C programs.

Pick the simplest hello world code you can think of, then try:
$ gcc -mtune=native test.c

This will give you:
cc1: error: unrecognized argument in option ‘-mtune=ppc970’
cc1: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440
440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630
740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell
e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power3
power4 power5 power5+ power6 power6x power7 power8 powerpc
powerpc64 rs64 titan

So I assume "native" would be mapped to "970" instead of "ppc970"
from this list, but that fails (however just from the name I'm
wondering why it doesn't pick G5 from that list -- it appears that
it would be the perfect match)


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: powerpc (ppc64)

Kernel: Linux 3.16.0-4-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-4.9 depends on:
ii  binutils        2.25-5
ii  cpp-4.9         4.9.2-10
ii  gcc-4.9-base    4.9.2-10
ii  libc6           2.19-18+deb8u7
ii  libcloog-isl4   0.18.2-1+b2
ii  libgcc-4.9-dev  4.9.2-10
ii  libgmp10        2:6.0.0+dfsg-6
ii  libisl10        0.12.2-2
ii  libmpc3         1.0.2-1
ii  libmpfr4        3.1.2-2
ii  zlib1g          1:1.2.8.dfsg-2+b1

Versions of packages gcc-4.9 recommends:
ii  libc6-dev  2.19-18+deb8u7

Versions of packages gcc-4.9 suggests:
pn  gcc-4.9-doc       <none>
pn  gcc-4.9-locales   <none>
pn  gcc-4.9-multilib  <none>
pn  libasan1-dbg      <none>
pn  libatomic1-dbg    <none>
pn  libcilkrts5-dbg   <none>
pn  libgcc1-dbg       <none>
pn  libgomp1-dbg      <none>
pn  libitm1-dbg       <none>
pn  liblsan0-dbg      <none>
pn  libquadmath-dbg   <none>
pn  libtsan0-dbg      <none>
pn  libubsan0-dbg     <none>

-- no debconf information

Reply via email to