Re: Bug triage run-through

2012-01-17 Thread Asa Sandahl
Ok, thanks!
/Åsa

On 16 January 2012 15:57, Marcin Juszkiewicz <
marcin.juszkiew...@canonical.com> wrote:

> W dniu 16.01.2012 15:51, Asa Sandahl pisze:
>
>  Thanks Michael for the walk through.
>>
>> Matthias and Marcin: I am trying to find a new compiler for the bug
>> reporter of: 
>> https://bugs.launchpad.net/**gcc-linaro/+bug/915689
>> .
>>
>> I was thinking it could be an option to install a new toolchain from the
>> linaro-maintainers ppa.
>> https://launchpad.net/~linaro-**maintainers/+archive/**
>> toolchain/+packages
>> This compiler should do OK, since the error was fixed in linaro-gcc
>> versions from 2011.05.
>>
>> Is the toolchain in the PPA for both native and cross compiling?
>>
>
> This PPA contains only cross compiler. For native one I would suggest
> upgrade of system to 11.04 'oneiric' as we do not provide backports of
> compiler.
>
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Triage of #914703

2012-01-17 Thread Asa Sandahl
Hi Michael,

So, I gave my best shot at:

https://bugs.launchpad.net/gcc-linaro/+bug/914703

Kind of similar to the one in your walk-through, but I couldn't actually
reproduce on the version reported.

Could you please check if this looks OK?


Regards
Åsa
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Cross-compiling Eglibc library with Linaro toolchain

2012-01-17 Thread Amber Graner
Hi all,

In my search for Linaro related news this morning, I saw a tweet from
Linuxquestions.org referencing a cross-compiling questions.

Here is the link to the post on Linuxquestions.org -
http://www.linuxquestions.org/questions/linux-embedded-78/cross-compiling-eglibc-with-linaro-toolchain-924192/

Thanks, I'll answer from the Linaro Tweeter account that it's been past to
the Linaro Developers.

Cheers,
Amber

-- 

Amber Graner

User Experience and Community Specialist



Linaro.org * **│ *Open source software for ARM SoCs*
***

Follow *Linaro: *Facebook  |
Twitter
 | Blog 


*+1.828.582.9469* cell
*+1.828.395.1049* office

irc: akgraner
amber.gra...@linaro.org  (email and Google chat)
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Triage of #914703

2012-01-17 Thread Chung-Lin Tang
On 2012/1/17 07:51 PM, Asa Sandahl wrote:
> Hi Michael,
> 
> So, I gave my best shot at:
> 
> https://bugs.launchpad.net/gcc-linaro/+bug/914703
> 
> 
> Kind of similar to the one in your walk-through, but I couldn't actually
> reproduce on the version reported.
> 
> Could you please check if this looks OK?
> 
> 
> Regards
> Åsa

This looks like #736007.

Chung-Lin

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Cross-compiling Eglibc library with Linaro toolchain

2012-01-17 Thread Michael Hope
On Wed, Jan 18, 2012 at 1:22 AM, Amber Graner  wrote:
> Hi all,
>
> In my search for Linaro related news this morning, I saw a tweet from
> Linuxquestions.org referencing a cross-compiling questions.
>
> Here is the link to the post on Linuxquestions.org
> - http://www.linuxquestions.org/questions/linux-embedded-78/cross-compiling-eglibc-with-linaro-toolchain-924192/
>
> Thanks, I'll answer from the Linaro Tweeter account that it's been past to
> the Linaro Developers.

Hi Amber.  Could you bounce them to ask.linaro.org or (even better)
this list in the future?  Note that how to build EGLIBC using our
toolchain is fairly far removed from what we do as it's a building
question, on a package that people hardly ever build, and one that
needs care so that you don't toast your system.

Ta,

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Cross-compiling Eglibc library with Linaro toolchain

2012-01-17 Thread Amber Graner
On 17 January 2012 14:25, Michael Hope  wrote:

> On Wed, Jan 18, 2012 at 1:22 AM, Amber Graner 
> wrote:
> > Hi all,
> >
> > In my search for Linaro related news this morning, I saw a tweet from
> > Linuxquestions.org referencing a cross-compiling questions.
> >
> > Here is the link to the post on Linuxquestions.org
> > -
> http://www.linuxquestions.org/questions/linux-embedded-78/cross-compiling-eglibc-with-linaro-toolchain-924192/
> >
> > Thanks, I'll answer from the Linaro Tweeter account that it's been past
> to
> > the Linaro Developers.
>
> Hi Amber.  Could you bounce them to ask.linaro.org or (even better)
> this list in the future?  Note that how to build EGLIBC using our
> toolchain is fairly far removed from what we do as it's a building
> question, on a package that people hardly ever build, and one that
> needs care so that you don't toast your system.
>

Will do.  Thanks.

>
> Ta,
>
> -- Michael
>



-- 

Amber Graner

User Experience and Community Specialist



Linaro.org * **│ *Open source software for ARM SoCs*
***

Follow *Linaro: *Facebook  |
Twitter
 | Blog 


*+1.828.582.9469* cell
*+1.828.395.1049* office

irc: akgraner
amber.gra...@linaro.org  (email and Google chat)
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Cross-compiling Eglibc library with Linaro toolchain

2012-01-17 Thread Michael Hope
On Wed, Jan 18, 2012 at 8:25 AM, Michael Hope  wrote:
> On Wed, Jan 18, 2012 at 1:22 AM, Amber Graner  wrote:
>> Hi all,
>>
>> In my search for Linaro related news this morning, I saw a tweet from
>> Linuxquestions.org referencing a cross-compiling questions.
>>
>> Here is the link to the post on Linuxquestions.org
>> - http://www.linuxquestions.org/questions/linux-embedded-78/cross-compiling-eglibc-with-linaro-toolchain-924192/
>>
>> Thanks, I'll answer from the Linaro Tweeter account that it's been past to
>> the Linaro Developers.
>
> Hi Amber.  Could you bounce them to ask.linaro.org or (even better)
> this list in the future?  Note that how to build EGLIBC using our
> toolchain is fairly far removed from what we do as it's a building
> question, on a package that people hardly ever build, and one that
> needs care so that you don't toast your system.

Replied with:

"""
Hi appan,

Here's the command line we use in our automatic test builds:

Code:

../configure --host=arm-linux-gnueabi --prefix=$PWD/install --without-cvs \
--enable-add-ons=libidn,ports,nptl --enable-profile --without-selinux
--enable-stackguard-randomization \
--enable-kernel=2.6.15 --with-headers=/usr/arm-linux-gnueabi/include

This is based on the standard Ubuntu/Debian configuration and uses the
binary compiler, assembler, linker, and headers that come with the
packages you've already installed.

If you have unexpected build problems, try adding a
`-fno-stack-protector -U_FORTIFY_SOURCE` to the cflags. Some core
packages like EGLIBC don't like how Ubuntu turns on the stack
protector and fortify options.

You can use the Ubuntu source packages as a eference for how to
configure a package with a good set of options. For example, to see
how Ubuntu configures EGLIBC you can run:

* apt-get source eglibc
* cd eglibc-...
* dpkg-buildpackage -us -uc -d -b

...and look for the 'configure' line in the output. The arguments mean
don't sign the source or changes (-us, -uc), ignore missing build
dependencies (-d as we're only interested in the configure line), and
build a binary (-b).

If you want to see what's installed and where the files ended up, try:

* dpkg -l *armel* *gnueabi*
* dpkg -L package-name

I used this to find the existing Linux headers. The dpkg -l search
showed that linux-libc-dev-armel was installed, and dpkg -L
linux-libc-dev-armel showed that they were installed in
/usr/arm-linux-gnueabi/include.

BTW, why are you compiling EGLIBC? It's a pretty core package and not
often changed.
"""

Matt, could you put this in your toolbox?

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: New conference call number

2012-01-17 Thread Michael Hope
On Tue, Jan 17, 2012 at 1:25 PM, Ramana Radhakrishnan
 wrote:
> On 10 January 2012 00:58, Michael Hope  wrote:
>> Ramana, could you update the performance call for two weeks time?
>> Maybe move it to linaro-events so I can edit it.
>
> Changed the conference call id for the performance call and moved it
> linaro-events. Can you double check it looks ok ?

Looks good, ta.

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


Re: Running pre-built linaro toolchain failed on Ubuntu 11.04, 64bit server

2012-01-17 Thread Michael Hope
On Thu, Jan 12, 2012 at 12:28 PM, Michael Hope  wrote:
> On Wed, Jan 11, 2012 at 11:56 PM, Lv Terry-R65388  
> wrote:
>> Hi Michael,
>>
>>        I changed the symbol link of /lib/ld-linux.so.2.
>>
>>        sudo ln -s -f /lib32/ld-linux.so.2 /lib/ld-linux.so.2
>>
>>        But it seems the problem is still not resolved.
>>
>> r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$
>>  ls -la /lib/ld*
>> lrwxrwxrwx 1 root root 20 2012-01-11 15:42 /lib/ld-linux.so.2 -> 
>> /lib32/ld-linux.so.2
>> r65388@shlinux3:~/toolchain_ltib/gcc-linaro-4.6.3-glibc-2.13-singlelib-2011.12/arm-fsl-linux-gnueabi/bin$
>>  ./arm-linux-gnueabi-gcc
>> -bash: ./arm-linux-gnueabi-gcc: No such file or directory
>>
>>        I'll check the server again.
>
> Hi Terry.  I couldn't reproduce the problem on a fresh install of
> Ubuntu 11.10 x86_64 Server.
>
> I started with a clean install and saw similar to your problem:
>
> cbuild@crucis-oneiric:~$
> ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc
> -bash: 
> ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc:
> No such file or directory
>
> I then installed lsb using `sudo apt-get install lsb`.  This changed
> the error to one about missing the 32 bit libstdc++:
>
> cbuild@crucis-oneiric:~$
> ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc
> ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc:
> error while loading shared libraries: libstdc++.so.6: cannot open
> shared object file: No such file or directory
>
> I then installed the 32 bit libraries using `sudo apt-get install
> ia32-libs`. The binary then works:
>
> cbuild@crucis-oneiric:~$
> ./gcc-linaro-arm-linux-gnueabi-2011.12-20111219+bzr2309~linux/bin/arm-linux-gnueabi-gcc
> arm-linux-gnueabi-gcc: fatal error: no input files
>
> For reference, here's the linkers afterwards:
>
> cbuild@crucis-oneiric:~$ ls -la /lib/ld*
> lrwxrwxrwx 1 root root 25 2011-10-05 11:07 /lib/ld-linux.so.2 ->
> i386-linux-gnu/ld-2.13.so
> lrwxrwxrwx 1 root root 13 2012-01-12 12:15 /lib/ld-lsb.so.1 -> ld-linux.so.2
> lrwxrwxrwx 1 root root 13 2012-01-12 12:15 /lib/ld-lsb.so.2 -> ld-linux.so.2
> lrwxrwxrwx 1 root root 13 2012-01-12 12:15 /lib/ld-lsb.so.3 -> ld-linux.so.2
>
> cbuild@crucis-oneiric:~$ ls -la /lib/i386-linux-gnu/ld*
> -rwxr-xr-x 1 root root 126152 2011-10-05 11:07 /lib/i386-linux-gnu/ld-2.13.so
> lrwxrwxrwx 1 root root     10 2011-10-05 11:07
> /lib/i386-linux-gnu/ld-linux.so.2 -> ld-2.13.so
>
> From our tests yesterday you have the linker and all of the libraries
> needed to run the problem.  The error message from bash is probably
> due to a broken symlink.  I recommend you look into that futher.  Good
> luck and let me know if I can help!

Hi Terry.  Did you have any luck with this?  If you're still stuck
then consider:
 
http://people.linaro.org/~michaelh/incoming/binaries/gcc-linaro-arm-linux-gnueabi-2012.01-20120112+bzr2318~linux.tar.xz

This uses /lib/ld-linux.so.2 as the loader which removes one potential problem.

If it helps, I'm happy to log into your machine and have a poke around.

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


KVM and OpenStack integration

2012-01-17 Thread Michael Hope
Hi Peter.  I've had a poke about in qemu-linaro, OpenStack, and
libvirt to get a feel for the KVM integration work.  My scratch notes
are here:
 https://wiki.linaro.org/MichaelHope/Sandbox/QEMUA15GuestNotes

I'm feeling happy about the integration.  The parts that I've seen
have good separation, are architecture neutral, and have some ARM
support.  We can prototype using virtual x86 based masters and QEMU
TCG based compute instances.

I've seen a few bugs and assumptions: OpenStack defaults to virtio,
boot=hda, and fixed kernel args; and libvirt can't parse the the
qemu-linaro version string.  There will be more.

I'll feed this into the KVM 1.0 task list and share it.

-- Michael

___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain


cross compiling eglibc with Linaro toolchain

2012-01-17 Thread shyamalan sivan
Hello experts,

I don't know whether this is the place to ask this question.Please forgive
if i am wrong.

I am trying to cross-compile Eglibc,(which i thought is similar to the
glibc) library with Linaro tool chain.My aim is to cross-compile the
library and add it with the tool-chain( i assumed that Linaro doesn't ahve
the eglibc libraries by  itself).
.
I referred to the link http://www.eglibc.org/archives/patches/msg00078.html
  (README.cross-compiling of the libc) and did the following.

I thought that binutils is not required as the tool chain itself contains
the loader, assembler etc.(which are the most important in the binutils).So
i skipped that step.(i am not sure whether this is right.please correct me
if i am wrong).

I did the below steps as in the above link.

1) Copied the Linux Kernel Headers
2) EGLIBC Headers and Preliminary Objects

2.1) configuring the Eglibc headers by the below steps.

appan@oplt$ ~/cross_compile_eglibc/ppc/obj/eglibc-headers$ BUILD_CC=gcc
CC=/home/appan/cross_compile_eglibc/ppc/tools/bin/arm-linux-gnueabi-gcc
CXX=/home/appan/cross_compile_eglibc/ppc/tools/bin/arm-linux-gnueabi-cpp
AR=/home/appan/cross_compile_eglibc/ppc/tools/bin/arm-linux-gnueabi-ar
RANLIB=/home/appaan/cross_compile_eglibc/ppc/tools/bin/arm-linux-gnueabi-ranlib
/home/appan/cross_compile_eglibc/src/libc/configure
--prefix=/home/appan/CC_EGLIBC
--with-headers=/home/appan/cross_compile_eglibc/ppc/sysroot/usr/include/
--build=i686-pc-linux-gnu --host=arm-unknown-linux-gnu --enable-add-ons
--with-tls --with-__thread

2.2) compilation

make install-headers install_root=$sysroot install-bootstrap-headers=yes

But following is the error i get.

> /home/appan/cross_compile_eglibc/ppc/obj/eglibc-headers/Versions.v.iT
In file included from :1:0:
ports/sysdeps/arm/nptl/tls.h:48:3: error: #*error "TLS support is required.*
"
make[1]: *** No rule to make target `headers_install'. Stop.
make[1]: Leaving directory `/home/appan/cross_compile_eglibc/src/libc'
make: *** [headers_install] Error 2

I tried googling, but i did not  get the solution for this..
please provide me with some suggestions and that will be of great help to
me...

thanks and regards
appan
___
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain