Hi,
quick update as I know things are waiting on this..
gcc-4.6.1 bootstrap built ok (with java as usual, without cloog due to circular dependency)
then built libtool-2.4-6.fc15 which goes along with it
then built cloog
So far so good.
Now rebuilding the real, unmodified gcc-4.6.1 from f15 mainline. Should be done in 2-3 days. Then we will be good to continue with building the rest of the toolchain.
Daniel
That is excellent news/work.
(I should say this more often to other work that has been done as well.)
Quoting Daniel Drake dsd@laptop.org:
Hi,
quick update as I know things are waiting on this..
gcc-4.6.1 bootstrap built ok (with java as usual, without cloog due to circular dependency)
then built libtool-2.4-6.fc15 which goes along with it
then built cloog
So far so good.
Now rebuilding the real, unmodified gcc-4.6.1 from f15 mainline. Should be done in 2-3 days. Then we will be good to continue with building the rest of the toolchain.
Daniel _______________________________________________ arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
2011/9/28 Daniel Drake dsd@laptop.org:
Hi,
quick update as I know things are waiting on this..
gcc-4.6.1 bootstrap built ok (with java as usual, without cloog due to circular dependency)
then built libtool-2.4-6.fc15 which goes along with it
then built cloog
So far so good.
Now rebuilding the real, unmodified gcc-4.6.1 from f15 mainline. Should be done in 2-3 days. Then we will be good to continue with building the rest of the toolchain.
Daniel
I'm searching fora crosso compile toolchain, but, what I have found it's the old gcc 4.1.2. I saw that you are talking about newer version.... can you help me to find that newer version for Fedora 15 x86_64?
Thank you Alexjan. _______________________________________________
arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
On Wed, Sep 28, 2011 at 11:03 PM, Alexjan Carraturo axjslack@gmail.com wrote:
I'm searching fora crosso compile toolchain, but, what I have found it's the old gcc 4.1.2. I saw that you are talking about newer version.... can you help me to find that newer version for Fedora 15 x86_64?
We aren't cross compiling, we are native compiling on ARM (thats why it takes 3 days).
However I have used cross-compilers for non-packaging purposes with crosstool-ng, which was dead easy to get up and running. http://crosstool-ng.org/
Daniel
I'm searching fora crosso compile toolchain, but, what I have found it's the old gcc 4.1.2. I saw that you are talking about newer version.... can you help me to find that newer version for Fedora 15 x86_64?
If all else fails, you can build your own cross-toolchain from scratch:
http://djdelorie.fedorapeople.org/
The bootstrap.git scripts' stage1 builds a cross-gcc based on the parameters in the script (it defaults to armv5hl but you can change it to armv5tel).
2011/9/29 DJ Delorie dj@redhat.com:
I'm searching fora crosso compile toolchain, but, what I have found it's the old gcc 4.1.2. I saw that you are talking about newer version.... can you help me to find that newer version for Fedora 15 x86_64?
If all else fails, you can build your own cross-toolchain from scratch:
http://djdelorie.fedorapeople.org/
The bootstrap.git scripts' stage1 builds a cross-gcc based on the parameters in the script (it defaults to armv5hl but you can change it to armv5tel).
So, if I understood well, the cross toolchain armv5tel avabile here ( http://mirrorlist.fedora-arm.wantstofly.org/?repo=cross&arch=$basearch ) it's not upgradated anymore... that's right?
Thank you in advance Alex.
On 09/28/2011 08:31 PM, Daniel Drake wrote:
quick update as I know things are waiting on this..
gcc-4.6.1 bootstrap built ok (with java as usual, without cloog due to circular dependency)
then built libtool-2.4-6.fc15 which goes along with it
then built cloog
So far so good.
Now rebuilding the real, unmodified gcc-4.6.1 from f15 mainline.
There is at least one ARM-specific gcc patch that we need. Jakub has it in his update, but AFAIK it's still not pushed because of delays in testing.
You can tell if you have this patch by looking at /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/x.x.x/libgcc_s.so
If it's a text file, you have the patch. If it's not, some programs mysteriously fail to link.
Andrew.
On Thu, Sep 29, 2011 at 10:31 AM, Andrew Haley aph@redhat.com wrote:
There is at least one ARM-specific gcc patch that we need. Jakub has it in his update, but AFAIK it's still not pushed because of delays in testing.
You can tell if you have this patch by looking at /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/x.x.x/libgcc_s.so
If it's a text file, you have the patch. If it's not, some programs mysteriously fail to link.
Thanks for pointing that out. I'm already aware of it however, having filed the bug that resulted in Jakub making that change. Thats why we're going with (latest) 4.6.1 instead of (GA) 4.6.0. also noted here: https://fedoraproject.org/wiki/Architectures/ARM/Fedora15_HardFP_Bootstrap_p...
cheers Daniel
On Wed, Sep 28, 2011 at 8:31 PM, Daniel Drake dsd@laptop.org wrote:
Now rebuilding the real, unmodified gcc-4.6.1 from f15 mainline. Should be done in 2-3 days. Then we will be good to continue with building the rest of the toolchain.
We hit a repo glitch so the build failed. But we have an explanation. Its building again now.
In the mean time here are the bits so far:
http://dev.laptop.org/~dsd/20110929/binutils-2.21.51.0.6-7.fc15.1/ This is binutils-2.21.51.0.6-7.fc15 from f15 updates, with a patch added. See https://bugzilla.redhat.com/show_bug.cgi?id=741053 I hope to get this into mainline fedora as an update in the next few days (just pestered the maintainer again)
http://dev.laptop.org/~dsd/20110929/gcc-4.6.1-9.fc15.dsd3/ This is gcc-4.6.1-9.fc15 built without cloog (only for bootstrapping)
http://dev.laptop.org/~dsd/20110929/libtool-2.4-6.fc15.armv5tel/ This is libtool built for the above gcc (will probably rebuild it after the real gcc finishes compiling, anyone know if that is necessary? could just do it anyway)
http://dev.laptop.org/~dsd/20110929/cloog-0.15.9-3.fc15/ This is cloog built with the above compiler and libtool
and now that all the above is ready, I'm building the mainline F15 RPM against it: http://kojipkgs.fedoraproject.org/packages/gcc/4.6.1/9.fc15/src/gcc-4.6.1-9.... Should finish over the weekend! fingers crossed.
cheers Daniel
tor 2011-09-29 klockan 20:33 +0100 skrev Daniel Drake:
http://dev.laptop.org/~dsd/20110929/binutils-2.21.51.0.6-7.fc15.1/ This is binutils-2.21.51.0.6-7.fc15 from f15 updates, with a patch added. See https://bugzilla.redhat.com/show_bug.cgi?id=741053 I hope to get this into mainline fedora as an update in the next few days (just pestered the maintainer again)
Minor administrative detail:
To avoid possible conflicts with mainline and make it easier to identify patched packages down the line please try to follow the tag naming standard we set up for armv7hl.
ARM patched packages:
.0.arm1 (.arm2 etc)
where the .0 part is only added if there is no .N digit used in mainline.
And for bootstrapping packages where features have been disabled:
.0.0.bootstrap
Regards Henrik
tor 2011-09-29 klockan 20:33 +0100 skrev Daniel Drake:
On Wed, Sep 28, 2011 at 8:31 PM, Daniel Drake dsd@laptop.org wrote:
http://dev.laptop.org/~dsd/20110929/binutils-2.21.51.0.6-7.fc15.1/ This is binutils-2.21.51.0.6-7.fc15 from f15 updates, with a patch added. See https://bugzilla.redhat.com/show_bug.cgi?id=741053 I hope to get this into mainline fedora as an update in the next few days (just pestered the maintainer again)
We just ran into the same issue on armv7hl and found that mentioned patch have finally been integrated mainline. We will be pulling in binutils-2.21.51.0.6-9.fc15 to armv7hl to address this.
It seems to be a very very thin line where it triggers. We have two identical gcc with only cosmetic specfile differences where one triggers it while building ghc while the other do not.
and now that all the above is ready, I'm building the mainline F15 RPM against it: http://kojipkgs.fedoraproject.org/packages/gcc/4.6.1/9.fc15/src/gcc-4.6.1-9.... Should finish over the weekend! fingers crossed.
Hope so.
In armv7hl we just found that the GCC we have which we thought were just with a minor patch actually diverge significantly from mainline. Seems the gcc-4.6.1-4.fc15 we have is not at all gcc-4.6.1-4.fc15 but rather a git version after -3 but before -4 and with quite a lot of arm hackery, no changelog notices and no tag in Release. This needs to be investigated and cleaned up as we don't know yet how much of those changes are in 4.6.1-9 or which of those changes should even be there.
Regards Henrik
2011/10/1 Henrik Nordström henrik@henriknordstrom.net:
We just ran into the same issue on armv7hl and found that mentioned patch have finally been integrated mainline. We will be pulling in binutils-2.21.51.0.6-9.fc15 to armv7hl to address this.
It seems to be a very very thin line where it triggers. We have two identical gcc with only cosmetic specfile differences where one triggers it while building ghc while the other do not.
Great. I'm not surprised that its needed. We will put the same version into armv5 stage3 then we'll be in sync on that.
Just curious, how did you identify that what you faced is the same issue?
In armv7hl we just found that the GCC we have which we thought were just with a minor patch actually diverge significantly from mainline. Seems the gcc-4.6.1-4.fc15 we have is not at all gcc-4.6.1-4.fc15 but rather a git version after -3 but before -4 and with quite a lot of arm hackery, no changelog notices and no tag in Release. This needs to be investigated and cleaned up as we don't know yet how much of those changes are in 4.6.1-9 or which of those changes should even be there.
I'd be interested in a summary of the changes, maybe I can make some suggestions based on my experience with F14 and with 4.6.1-9.fc15.
armv5tel gcc build progressing nicely - should be finished today.
Daniel
lör 2011-10-01 klockan 10:46 +0100 skrev Daniel Drake:
Great. I'm not surprised that its needed. We will put the same version into armv5 stage3 then we'll be in sync on that.
Just curious, how did you identify that what you faced is the same issue?
By comparing the ld stacktrace which matched 100% to what you reported in bugzilla, and then verified fixed after binutils upgrade.
I'd be interested in a summary of the changes, maybe I can make some suggestions based on my experience with F14 and with 4.6.1-9.fc15.
Brendan is working on getting them rebased to 4.6.1-9 and identifying and documenting what changes is there.
armv5tel gcc build progressing nicely - should be finished today.
Great!
Regards Henrik
lör 2011-10-01 klockan 15:01 +0200 skrev Henrik Nordström:
Brendan is working on getting them rebased to 4.6.1-9 and identifying and documenting what changes is there.
https://fedoraproject.org/wiki/Architectures/ARM/Fedora15_HardFP_Bootstrap_p...
More work remains to clean things up and request merging of patches and changes into the mainline gcc package.
Regards Henrik