Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] toolchain-external: CodeSourcery PowerPC: Revert the removal of CS PowerPC 2011.03
Date: Mon, 28 Dec 2015 16:17:04 -0300	[thread overview]
Message-ID: <56818AB0.8090505@zacarias.com.ar> (raw)
In-Reply-To: <20151226220445.GD4083@free.fr>

On 26/12/15 19:04, Yann E. MORIN wrote:

> Or we just ditch 2012.03 altogether, and just keep 2011.03.
>
> The difference being:
>
>    - back to a gcc-4.5 instead of gcc-46.6; we loose 5 packages:
>          apitrace, dawgdig, mpd, upmpdcli and zmqpp
>
>    - back to kernel headers 2.6.38 instead of 3.2; we loose 31 packages:
>          bluez5_utils cdrkit dhcpcd dvb-apps dvdrw-tools fastd
>          gst1-plugins-good ifupdown iproute2 libcap libnftnl libseccomp
>          libv4l lxc mjpg-streamer mmc-utils network-manager nftables
>          openswan racehound smack squid stress-ng tvheadend util-linux
>          v4l2grab vlc w_scan weston zbar
>
> Thomas, Gustavo: your opinion?

Hi all.
In general i dislike the CS powerpc toolchains, they're finicky and 
outdated, so i tend to roll my own via ct-ng or internal.
That being said and going back to Romain's original mail, you can't have 
SPE and altivec at the same time, they're mutually exclusive.
That's because SPE is basically a FPU bolted into CPU GP registers: for 
v1 it just implements single precision, for v2 it implements double (by 
extending the GP registers to 64 bits).
Altivec requires a "classic" FPU with dedicated registers.
Getting that out of the way the altivec woes come from gcc changing the 
semantics for enabling them: in the old wild west that was -faltivec, 
the standard/modern way is -maltivec. The problem lies with Apple if i'm 
not wrong, since they ditched powerpc a while ago back then they used an 
old gcc, hence -faltivec, and in many cases the tested condition is 
based on that assumption (powerpc = apple). Care must be taken since the 
calling convention for the asm-optimized code might be OSX rather than 
linux as well, hence just switching the knob to the new/standard way may 
do no good.
Now back to SPE, since ABI can't be maintained between e500v1 and v2 for 
obvious reasons it was kind of decided to drop hard float from glibc, 
hence newer (eglibc >= 2.18 IIRC) versions can't be built targetting an 
e500v? without softfloat, so basically it's a dead path anyway (except 
uclibc*, it still has the hard float implementation in place, and screw 
the ABI).
Regards.

  reply	other threads:[~2015-12-28 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 21:11 [Buildroot] [PATCH v2 1/1] toolchain-external: CodeSourcery PowerPC: Revert the removal of CS PowerPC 2011.03 Romain Naour
2015-12-26 22:04 ` Yann E. MORIN
2015-12-28 19:17   ` Gustavo Zacarias [this message]
2015-12-30 21:39 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56818AB0.8090505@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox