Re: Installable ARMv8 cross-toolchain

2012-11-04 Thread Marek Vasut
Dear Loïc Minier, > On Sat, Nov 03, 2012, Marek Vasut wrote: > > I need to catch up with you in there ;-) What do you use for a bootloader > > on these armv8 devices? > > No bootloader at the moment, but a boot wrapper! ;-) > > At the moment, ARMv8 work is mostly on virtual platforms (I guess t

Re: Installable ARMv8 cross-toolchain

2012-11-03 Thread Marek Vasut
Dear Wookey, > After a fair amount of dicking about I have managed to build a > cross-toolchain for arm64/aarch64 which installs on Ubuntu Quantal. It > even builds packages, although it has at least one notable limitation, > and I have no idea if it produces working code yet :-) &

Re: Installable ARMv8 cross-toolchain

2012-11-03 Thread Loïc Minier
On Sat, Nov 03, 2012, Marek Vasut wrote: > I need to catch up with you in there ;-) What do you use for a bootloader on > these armv8 devices? No bootloader at the moment, but a boot wrapper! ;-) At the moment, ARMv8 work is mostly on virtual platforms (I guess there might be some people with e

Installable ARMv8 cross-toolchain

2012-10-25 Thread Wookey
After a fair amount of dicking about I have managed to build a cross-toolchain for arm64/aarch64 which installs on Ubuntu Quantal. It even builds packages, although it has at least one notable limitation, and I have no idea if it produces working code yet :-) The main limitation is that the

Re: Cross toolchain for lucid updated

2012-03-01 Thread Marcin Juszkiewicz
W dniu 29.02.2012 14:23, Marcin Juszkiewicz pisze: Those packages may also work under Ubuntu 10.10 'maverick' and 11.04 'natty' but it was not tested. Users of Ubuntu 11.10 'oneiric' may install libmpfr1ldbl package [2] and then use 'lucid' repository to install cross compiler while I will prepa

Cross toolchain for lucid updated

2012-02-29 Thread Marcin Juszkiewicz
Linaro cross toolchain backport PPA [1] got updated to recent Ubuntu 12.04 versions: - gcc 4.5.3 - gcc 4.6.2 - binutils 2.22 - eglibc 2.15 - linux 3.2 I tested both compiler versions against few packages, U-Boot and Linux 2.6.32. Those packages may also work under Ubuntu 10.10 'mav

Re: Generic Linux cross toolchain for tests

2011-08-22 Thread Michael Hope
On Tue, Aug 23, 2011 at 1:21 AM, Marcin Juszkiewicz wrote: > Hi > > Some time ago we agreed that not everyone here uses Ubuntu distribution > and decided to provide so called 'generic linux' cross toolchain. > Recently I managed to get it done and now need brave testers t

Re: Generic Linux cross toolchain for tests

2011-08-22 Thread Loïc Minier
On Mon, Aug 22, 2011, Marcin Juszkiewicz wrote: > Some time ago we agreed that not everyone here uses Ubuntu distribution > and decided to provide so called 'generic linux' cross toolchain. > Recently I managed to get it done and now need brave testers to tell is > it worki

Generic Linux cross toolchain for tests

2011-08-22 Thread Marcin Juszkiewicz
Hi Some time ago we agreed that not everyone here uses Ubuntu distribution and decided to provide so called 'generic linux' cross toolchain. Recently I managed to get it done and now need brave testers to tell is it working or not. Get it here: http://people.linaro.org/~hrw/generic-lin

Re: Getting rid of update-alternative in cross toolchain packages

2011-03-17 Thread Matthias Klose
On 15.03.2011 17:09, Steve Langasek wrote: > On Tue, Mar 15, 2011 at 01:00:04PM +0100, Marcin Juszkiewicz wrote: >> Some time ago I looked at cross toolchain packages to find how they >> handle installation of several versions at same time. It was done by >> using 'upd

Re: Getting rid of update-alternative in cross toolchain packages

2011-03-15 Thread Steve Langasek
On Tue, Mar 15, 2011 at 01:00:04PM +0100, Marcin Juszkiewicz wrote: > Some time ago I looked at cross toolchain packages to find how they > handle installation of several versions at same time. It was done by > using 'update-alternatives' tool and was broken. We fixed it durin

Getting rid of update-alternative in cross toolchain packages

2011-03-15 Thread Marcin Juszkiewicz
Some time ago I looked at cross toolchain packages to find how they handle installation of several versions at same time. It was done by using 'update-alternatives' tool and was broken. We fixed it during Ubuntu/Maverick cycle but "u-a" is still in use (just versions are used

Re: Cross toolchain source packages status

2011-03-10 Thread Hector Oron
Hi, 2011/3/10 Marcin Juszkiewicz : > = Problems = > > Main problem is debian/packaging/ directory in Debian version. I need > review of [4] patch and then will report a bug against eglibc. It probably runs fine under bash, but not under dash/sh. > 4. http://42.pl/u/2zj4 Cheers --  Héctor Orón

Cross toolchain source packages status

2011-03-10 Thread Marcin Juszkiewicz
Ubuntu/natty got some cross toolchain updates recently so it is installable again. This gave me some free time to work on improvements. And this mail is an attempt to summary it and to provide some ideas/questions. = Introduction = During Emdebian sprint it was decided that my source packages

Re: armel cross toolchain packages available in PPA

2010-09-09 Thread Michael Hope
rk on armel cross toolchain got to the very > nice point - all packages are available from PPA. > > What does it mean to you? > > 1. no "are you sure to install those unverified packages" messages from APT > 2. ability to easily rebuild toolchain on own machine

armel cross toolchain packages available in PPA

2010-09-09 Thread Marcin Juszkiewicz
I would like to announce that my work on armel cross toolchain got to the very nice point - all packages are available from PPA. What does it mean to you? 1. no "are you sure to install those unverified packages" messages from APT 2. ability to easily rebuild toolchain on own machi

Re: Maverick armel cross toolchain

2010-09-06 Thread Loïc Minier
On Fri, Sep 03, 2010, Loïc Minier wrote: > I filed LP #629671 to track this after reproducing with the latest > native toolchain which has the latest Linaro released patches. Mariano, mind subscribing to this Launchpad bug since you're the original reporter? Thanks! -- Loïc Minier __

Re: Maverick armel cross toolchain

2010-09-03 Thread Mariano Alvira
On Fri, Sep 03, 2010 at 01:06:03AM +0200, Loïc Minier wrote: > On Thu, Sep 02, 2010, Mariano Alvira wrote: > > Now, with 4.4 and 4.5, I'm having the following build problem: > [...] > >See for instructions. > > Ah that's interesting; which exact compiler are you using? Could you > provide

Re: Maverick armel cross toolchain

2010-09-03 Thread Loïc Minier
On Fri, Sep 03, 2010, Mariano Alvira wrote: > For the problem to appear you must use -Os -march=armv4t and the > volatile assignment. E.g.: > > bad: > arm-linux-gnueabi-gcc -Os -march=armv4t -c -o tests.o tests.c > > ok: > arm-linux-gnueabi-gcc -march=armv4t -c -o tests.o tests.c > arm-linu

Re: Maverick armel cross toolchain

2010-09-02 Thread Loïc Minier
On Thu, Sep 02, 2010, Mariano Alvira wrote: > Now, with 4.4 and 4.5, I'm having the following build problem: [...] >See for instructions. Ah that's interesting; which exact compiler are you using? Could you provide a minimal test case we could reproduce this bug with? -- Loïc Minier ___

Re: Maverick armel cross toolchain

2010-09-02 Thread Mariano Alvira
On Thu, Sep 02, 2010 at 03:30:31PM -0400, Jon Smirl wrote: > > Mar, how are you getting this? Maybe there is a simple solution to > calling the ROM thumb code that we haven't discovered yet. > Right now I'm thinking that I have callee-super in there as a hold-over from back when I first was star

Re: Maverick armel cross toolchain

2010-09-02 Thread Jon Smirl
On Thu, Sep 2, 2010 at 2:24 PM, Dave Martin wrote: > On Thu, Sep 2, 2010 at 5:42 PM, Jon Smirl wrote: >> On Thu, Sep 2, 2010 at 4:55 AM, Dave Martin wrote: >>> [ un-breaking Loic email address in CC so people reply to the right >>> place--- not sure what happened there ] >>> >>> On Thu, Sep 2, 2

Re: Maverick armel cross toolchain

2010-09-02 Thread Dave Martin
On Thu, Sep 2, 2010 at 5:42 PM, Jon Smirl wrote: > On Thu, Sep 2, 2010 at 4:55 AM, Dave Martin wrote: >> [ un-breaking Loic email address in CC so people reply to the right >> place--- not sure what happened there ] >> >> On Thu, Sep 2, 2010 at 9:53 AM, Dave Martin wrote: >>> On Thu, Sep 2, 2010

Re: Maverick armel cross toolchain

2010-09-02 Thread Jon Smirl
On Thu, Sep 2, 2010 at 4:55 AM, Dave Martin wrote: > [ un-breaking Loic email address in CC so people reply to the right > place--- not sure what happened there ] > > On Thu, Sep 2, 2010 at 9:53 AM, Dave Martin wrote: >> On Thu, Sep 2, 2010 at 9:31 AM, Ramana Radhakrishnan >> wrote: >>> >>>

Re: Maverick armel cross toolchain

2010-09-02 Thread Dave Martin
[ un-breaking Loic email address in CC so people reply to the right place--- not sure what happened there ] On Thu, Sep 2, 2010 at 9:53 AM, Dave Martin wrote: > On Thu, Sep 2, 2010 at 9:31 AM, Ramana Radhakrishnan > wrote: >> >>> >>> > arm-linux-gnueabi-gcc -g -DDEBUG -Os  -fno-strict-aliasing >

Re: Maverick armel cross toolchain

2010-09-02 Thread Dave Martin
On Thu, Sep 2, 2010 at 9:31 AM, Ramana Radhakrishnan wrote: > >> >> > arm-linux-gnueabi-gcc -g -DDEBUG -Os  -fno-strict-aliasing >> > -fno-common -ffixed-r8 -ffunction-sections -msoft-float -Wcast-align >> > -Wall -D__KERNEL__ -DTEXT_BASE= -fno-builtin -ffreestanding -isystem >> > /usr/lib/gcc/arm

Re: Maverick armel cross toolchain

2010-09-02 Thread Ramana Radhakrishnan
> > > arm-linux-gnueabi-gcc -g -DDEBUG -Os -fno-strict-aliasing > > -fno-common -ffixed-r8 -ffunction-sections -msoft-float -Wcast-align > > -Wall -D__KERNEL__ -DTEXT_BASE= -fno-builtin -ffreestanding -isystem > > /usr/lib/gcc/arm-linux-gnueabi/4.5.1/include -pipe -march=armv4t > > -mlong-calls

Re: Maverick armel cross toolchain

2010-09-02 Thread Loïc Minier
On Thu, Sep 02, 2010, Jon Smirl wrote: > The toolchain isn't built with -mcallee-super-interworking enabled. > Could we get that turned on? It is needed to make calls to thumb code > in ROM. Sounds like an extra header on all functions for which we'd pay a size price, while the current maverick

Maverick armel cross toolchain

2010-09-01 Thread Jon Smirl
The toolchain isn't built with -mcallee-super-interworking enabled. Could we get that turned on? It is needed to make calls to thumb code in ROM. arm-linux-gnueabi-gcc -g -DDEBUG -Os -fno-strict-aliasing -fno-common -ffixed-r8 -ffunction-sections -msoft-float -Wcast-align -Wall -D__KERNEL__ -DTEX

Re: Packaging problems with armel-cross-toolchain-base

2010-09-01 Thread Marcin Juszkiewicz
-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions dpkg-buildpackage: source package armel-cros

Re: Packaging problems with armel-cross-toolchain-base

2010-08-31 Thread Loïc Minier
On Tue, Aug 31, 2010, Steve Langasek wrote: > That option probably only works if repacking the .deb, right? I would > expect dpkg-gencontrol to ignore any ($version) in the source > debian/control. Oh yes, that's why I was suggesting passing -c + -l; I think this might work without repacking th

Re: Packaging problems with armel-cross-toolchain-base

2010-08-31 Thread Steve Langasek
On Mon, Aug 30, 2010 at 04:52:06PM +0200, Loïc Minier wrote: > Note that because the version of the binaries and the version of your > source differ, your source field needs to be "Source: armel-cross > (yourversion goes here)" That option probably only works if repacking the .deb, right? I wo

Re: Packaging problems with armel-cross-toolchain-base

2010-08-30 Thread Loïc Minier
On Mon, Aug 30, 2010, Marcin Juszkiewicz wrote: > sed -i -e "s/^binutils/armel-cross-toolchain-base/g" debian/changelog; \ > sed -i -e "s/^Source: binutils/Source: armel-cross-toolchain-base/g" > debian/control.in; \ > sed -i -e "s/^Source: binutils/Source: ar

Packaging problems with armel-cross-toolchain-base

2010-08-30 Thread Marcin Juszkiewicz
Hi First some informations. "armel-cross-toolchain" is a package which will generate armel cross toolchain for x86(-64) machines (but nothing keeps from building powerpc->armel one etc). Do to that I am building several stages of linux/eglibc/gcc-4.5/binutils in proper order. T

RE: Cross toolchain

2010-08-09 Thread Liu Hui-R64343
t: Monday, August 09, 2010 4:36 PM > To: Liu Hui-R64343 > Cc: linaro-dev@lists.linaro.org; loic.min...@linaro.org > Subject: Re: Cross toolchain > > Hi Jason. There's a couple of different things going on > here. The Toolchain Working Group, which I am a part of, is >

Re: Cross toolchain

2010-08-09 Thread Michael Hope
ersions. Hope that helps, -- Michael The best benchmark to try On Mon, Aug 9, 2010 at 11:41 PM, Liu Hui-R64343 wrote: > Hi, Linaoer, > > I'm  one SW engineer named Jason Liu from Freescale. I noticed that > there are some discussion about the arm-cross-toolchain. I want to know

Cross toolchain

2010-08-09 Thread Liu Hui-R64343
Hi, Linaoer, I'm one SW engineer named Jason Liu from Freescale. I noticed that there are some discussion about the arm-cross-toolchain. I want to know the following: What cross-tool chain will Linaro use? What's the version number? Will it enable ARM-V7 support? Will it e

Re: [Linaro-dev] Maverick cross toolchain

2010-07-31 Thread Steve Langasek
On Sun, Jul 25, 2010 at 01:48:36PM +0100, Wookey wrote: > > what is the standard > > procedure to install build-dep so that I can build all my packages? the > > package files (.h, .la) have been installed in /usr/arm-linux-gnueabi, > > but not the .so (which kind of make sense). but should I wor

Re: [Linaro-dev] Maverick cross toolchain

2010-07-26 Thread Dechesne, Nicolas
On 07/26/2010 02:55 PM, Wookey wrote: > I am in the process of writing up an overview of the > current state of cross-building in Debian and Ubuntu because there are > a number of tools with different pros and cons and it's hard to > understand what you should/shouldn't be doing if you come to

Re: [Linaro-dev] Maverick cross toolchain

2010-07-26 Thread Wookey
+++ Dechesne, Nicolas [2010-07-26 14:39 +0200]: > On 07/25/2010 02:48 PM, Wookey wrote: > > +++ Dechesne, Nicolas [2010-07-23 14:46 +0200]: > > > >> > > You can use -X to exclude all the dependencies which are in fact > > arch-independent so: > > dpkg-cross -a armel -X pkg-config -i foo-d

Re: [Linaro-dev] Maverick cross toolchain

2010-07-26 Thread Dechesne, Nicolas
On 07/24/2010 06:44 AM, Steve Langasek wrote: > Hi Nicolas, > > On Thu, Jul 22, 2010 at 03:59:07PM +0200, Dechesne, Nicolas wrote: > >> do you know when these packages will end up in ubuntu archives? can >> we expect them to be available in 10.10 timeframe? >> > >> How about cross co

Re: [Linaro-dev] Maverick cross toolchain

2010-07-26 Thread Dechesne, Nicolas
On 07/25/2010 02:48 PM, Wookey wrote: > +++ Dechesne, Nicolas [2010-07-23 14:46 +0200]: > >> How about cross compilation of packages, is that working? e.g. can I create an ARM .deb from my x86 machine (assuming my upstream can be cross compiled?). >>> Yo