Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-03 Thread Paul Brook
> > > So is there a way to ask gcc "What the hell are your defaults right > > > now?". > > > > I don't consider that a well formed question[1]. You should be asking > > what the compiler is *doing* right now. The answer is in a preprocessor > > macro. > > How about "What is the default target o

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-02 Thread Lennart Sorensen
On Sat, Sep 03, 2011 at 12:26:05AM +0100, Paul Brook wrote: > Obviously if your code assumes [say] a Cortex-A8 and uses NEON assembly > without checking first than all bets are off. There are two ways of > resolving > this: > - Don't do that. > - Hack the makefile to always build with NEON enab

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-02 Thread Paul Brook
> On Fri, Sep 02, 2011 at 10:06:55PM +0100, Paul Brook wrote: > > Right. That's almost certainly a bug. My guess would be cargo-cult > > copying or an old hack to workaround borkenness elsewhere. > > OK, so simply removing the explicit CFLAGS settings in the Makefile, > should make the package w

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-02 Thread Lennart Sorensen
On Fri, Sep 02, 2011 at 10:06:55PM +0100, Paul Brook wrote: > Right. That's almost certainly a bug. My guess would be cargo-cult copying > or an old hack to workaround borkenness elsewhere. OK, so simply removing the explicit CFLAGS settings in the Makefile, should make the package work correct

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-02 Thread Paul Brook
> On Fri, Sep 02, 2011 at 03:10:50AM +0100, Paul Brook wrote: > > Your understanding is incorrect. Thumb interworking is always enabled > > when generating armv5 or later code, plus it is enabled by default for > > all EABI based targets. Both of which are true for armhf. > > Well in that case,

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-02 Thread Lennart Sorensen
On Fri, Sep 02, 2011 at 03:10:50AM +0100, Paul Brook wrote: > Your understanding is incorrect. Thumb interworking is always enabled when > generating armv5 or later code, plus it is enabled by default for all EABI > based targets. Both of which are true for armhf. Well in that case, there was

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-01 Thread Paul Brook
> My understanding of the gcc defaults on armhf is that thumb-interworking > is not enabled by default. Your understanding is incorrect. Thumb interworking is always enabled when generating armv5 or later code, plus it is enabled by default for all EABI based targets. Both of which are true fo

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-01 Thread Lennart Sorensen
On Thu, Sep 01, 2011 at 01:40:42PM +0100, Paul Brook wrote: > Like I said, the -mthumb-interwork option isn't meaningful in this context. > Don't beleieve everything you misread and misunderstand. All all EABI based > targets, and all armv5+ code have interworking enabled by default (in the >

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-09-01 Thread Paul Brook
> On Wed, Aug 31, 2011 at 01:49:49PM +0100, Paul Brook wrote: > > Interworking is a madatory of the ARM EABI. As mentioned above, > > interworking is basically free on armv5 and later architectures. It > > should never be disabled. > > Wel the gcc in armhf has it off by default, and the descript

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Lennart Sorensen
On Wed, Aug 31, 2011 at 01:49:49PM +0100, Paul Brook wrote: > Interworking is a madatory of the ARM EABI. As mentioned above, interworking > is basically free on armv5 and later architectures. It should never be > disabled. Wel the gcc in armhf has it off by default, and the description says i

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Paul Brook
> > Is that true? For ARMv7, interworking is essentially free and Thumb code > > would likely be faster due to its smaller memory footprint. So I would > > have thought that not only should Thumb code be catered for, but > > actively encouraged. Or am I missing something? > > We only use thumb2 in

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Lennart Sorensen
On Wed, Aug 31, 2011 at 07:23:18AM +0100, Tixy wrote: > Is that true? For ARMv7, interworking is essentially free and Thumb code > would likely be faster due to its smaller memory footprint. So I would > have thought that not only should Thumb code be catered for, but > actively encouraged. Or am I

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Konstantinos Margaritis
On 31 August 2011 10:55, Steve McIntyre wrote: > On Wed, Aug 31, 2011 at 07:23:18AM +0100, Tixy wrote: >>On Tue, 2011-08-30 at 23:34 -0400, Lennart Sorensen wrote: >>> My changes were to remove -mfpu=softfp and -mthumb-interworking, since >>> as far as I can tell armhf uses -mfpu=hardfp and -mno-t

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Konstantinos Margaritis
On 31 August 2011 11:56, Konstantinos Margaritis wrote: > -mfloat-abi=hard -mfpu=vfpv3 -mthumb -march=armv7-a That should actually be -mfpu=vfpv3-d16 to be more precise. Konstantinos -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Cont

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-31 Thread Steve McIntyre
On Wed, Aug 31, 2011 at 07:23:18AM +0100, Tixy wrote: >On Tue, 2011-08-30 at 23:34 -0400, Lennart Sorensen wrote: >> My changes were to remove -mfpu=softfp and -mthumb-interworking, since >> as far as I can tell armhf uses -mfpu=hardfp and -mno-thumbinterworking >> by default. > >Is that true? For

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-30 Thread Tixy
On Tue, 2011-08-30 at 23:34 -0400, Lennart Sorensen wrote: > My changes were to remove -mfpu=softfp and -mthumb-interworking, since > as far as I can tell armhf uses -mfpu=hardfp and -mno-thumbinterworking > by default. Is that true? For ARMv7, interworking is essentially free and Thumb code would

Re: My progress on armhf: xf86-video-msm for armhf attempt. Please test.

2011-08-30 Thread Lennart Sorensen
On Tue, Aug 30, 2011 at 11:53:27PM +, Hector Oron wrote: > Hello, > > >> > On Mon, Aug 22, 2011 at 12:25 PM, Lennart Sorensen > >> > wrote: > >> > > > >> > > Any suggestions for what to fix next? > > 'xf86-video-msm' might allow some fun too.. I made an attempt. http://tinyplanet.ca/~lsore

Re: My progress on armhf

2011-08-30 Thread Hector Oron
Hello, >> > On Mon, Aug 22, 2011 at 12:25 PM, Lennart Sorensen >> > wrote: >> > > >> > > Any suggestions for what to fix next? 'xf86-video-msm' might allow some fun too.. Cheers, --  Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-. -- To UNSUBSCRIBE, email to debian-arm-re

Re: My progress on armhf

2011-08-30 Thread Lennart Sorensen
On Tue, Aug 30, 2011 at 03:27:57PM -0400, Lennart Sorensen wrote: > On Mon, Aug 29, 2011 at 08:51:49PM -0600, Zooko O'Whielacronx wrote: > > On Mon, Aug 22, 2011 at 12:25 PM, Lennart Sorensen > > wrote: > > > > > > Any suggestions for what to fix next? > > > > Can I put in a request for CPython 2

Re: My progress on armhf

2011-08-30 Thread Lennart Sorensen
On Mon, Aug 29, 2011 at 08:51:49PM -0600, Zooko O'Whielacronx wrote: > On Mon, Aug 22, 2011 at 12:25 PM, Lennart Sorensen > wrote: > > > > Any suggestions for what to fix next? > > Can I put in a request for CPython 2.7? > > hg clone http://hg.python.org/cpython > cd cpython > hg update 2.7 > >

Re: My progress on armhf

2011-08-29 Thread Zooko O'Whielacronx
On Mon, Aug 22, 2011 at 12:25 PM, Lennart Sorensen wrote: > > Any suggestions for what to fix next? Can I put in a request for CPython 2.7? hg clone http://hg.python.org/cpython cd cpython hg update 2.7 Further information about developing CPython: http://docs.python.org/devguide/setup.html S

Re: My progress on armhf

2011-08-29 Thread Martin Guy
On 22 August 2011 22:43, Lennart Sorensen wrote: > On Mon, Aug 22, 2011 at 06:53:49PM +, Hector Oron wrote: >> 2011/8/22 Lennart Sorensen : >> > Any suggestions for what to fix next? >> >> Pick the one you dislike the most =) >> http://wiki.debian.org/ArmHardFloatTodo > > Some things look like

Re: My progress on armhf

2011-08-23 Thread Lennart Sorensen
On Tue, Aug 23, 2011 at 01:30:06PM +0200, Arnaud Patard wrote: > it looks important but it's not that important. It's fixing the build > when DEBUG_LL is enabled, so just disable it and it'll build. I'm not > even sure that DEBUG_LL is working correctly on mx53. Oh. Wouldn't it have been nice to

Re: My progress on armhf

2011-08-23 Thread Rtp
lsore...@csclub.uwaterloo.ca (Lennart Sorensen) writes: Hi, [...] > The reason I am waiting for 3.1 to be released before trying anything is: > > commit d9c927833a42b4eaae4addd031f780f4530f7a2d > Author: Arnaud Patard (Rtp) > Date: Fri Aug 5 09:32:41 2011 +0200 > > iMX: Fix build for iMX53

Re: My progress on armhf

2011-08-22 Thread Lennart Sorensen
On Mon, Aug 22, 2011 at 09:00:06PM +, Phil Endecott wrote: > Right, I've also been looking at that. They do have a git tree as well. I'm > not sure if the patches are extracted from the git tree, or if the git tree is > built from the patches. One gotcha with that kernel is that it doesn't h

Re: My progress on armhf

2011-08-22 Thread Hector Oron
Hi, 2011/8/22 Lennart Sorensen : > On Mon, Aug 22, 2011 at 06:53:49PM +, Hector Oron wrote: >> Pick the one you dislike the most =) >> http://wiki.debian.org/ArmHardFloatTodo > Some things look like the are already fixed.  Who maintains the page? The page is community maintained, but so far

Re: My progress on armhf

2011-08-22 Thread Rtp
lsore...@csclub.uwaterloo.ca (Lennart Sorensen) writes: > On Mon, Aug 22, 2011 at 06:53:49PM +, Hector Oron wrote: >> 2011/8/22 Lennart Sorensen : >> > Any suggestions for what to fix next? >> >> Pick the one you dislike the most =) >> http://wiki.debian.org/ArmHardFloatTodo > > Some things l

Re: My progress on armhf

2011-08-22 Thread Phil Endecott
Lennart Sorensen csclub.uwaterloo.ca> writes: > Freescale's ubuntu kernel has 767 patches on top of 2.6.35.3 which to > me is just insane. Right, I've also been looking at that. They do have a git tree as well. I'm not sure if the patches are extracted from the git tree, or if the git tree is b

Re: My progress on armhf

2011-08-22 Thread Lennart Sorensen
On Mon, Aug 22, 2011 at 06:53:49PM +, Hector Oron wrote: > 2011/8/22 Lennart Sorensen : > > Any suggestions for what to fix next? > > Pick the one you dislike the most =) > http://wiki.debian.org/ArmHardFloatTodo Some things look like the are already fixed. Who maintains the page? Who decide

Re: My progress on armhf

2011-08-22 Thread Hector Oron
Hello, 2011/8/22 Lennart Sorensen : > Any suggestions for what to fix next? Pick the one you dislike the most =) http://wiki.debian.org/ArmHardFloatTodo Bootstrapping compilers are extra points BTW, I realized kernel image shipped with imx53qs does not have device mapper for LVM support. I have

My progress on armhf

2011-08-22 Thread Lennart Sorensen
So having now got my MX53QSB board I have been fixing a few things. My first task was installing vim because there is only so many times I can handle typeing 'vim /etc/apt/sources.list' and being told 'no such command'. Building vim requires libtool, which wasn't building due to a testcase proble