[Bug 234749] Review Request: arm-gp2x-linux-binutils - Cross Compiling GNU binutils targeted at arm-linux

bugzilla at redhat.com bugzilla at redhat.com
Fri May 25 07:43:04 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: arm-gp2x-linux-binutils - Cross Compiling GNU binutils targeted at arm-linux


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234749





------- Additional Comments From j.w.r.degoede at hhs.nl  2007-05-25 03:43 EST -------
(In reply to comment #8)
> Hans, could you elaborate this change:
> 
> * Thu May 24 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.17-1
> - Revert to GNU 2.17 release as using GNU releases are better for non linux
>   targets
> 
> You revert to using the FSF sources, nevertheless you call this target "*-linux"?
> 

Yes, my bad, thats a copy and paste error from the avr-binutils spec. After much
experimenting and researching what others did, I ended up using FSF
binutils-2.16.1 as that is what all other available preconfigured toolchains for
this target use. However 2.16 has a bug which causes ar and ranlib to fail when
compiled with -DFORTIFY_SOURCE=2, which is fixed in binutils 2.17 . Since the
other available toolchains use FSF binutils and since 2.16 was giving me some
problems, I decided to go to FSF 2.17 

> What kind of target is this? Which libc is going to be used?
The gp2x is a handheld game console, with an arm processor and Linux inside. The
Linux inside uses glibc. See:
http://wiki.gp2x.org/wiki/Main_Page
http://www.gp2x.com/

I've found 2 working preconfigured toolchains for this:

* http://open2x.org

Uses:
gcc-4.1.1
binutils-2.16.1
glibc-2.3.5 + linuxthreads

I'm modeling my current Fedora attempts after their work, I'm using:
gcc-4.1.2
binutils-2.17
glibc-2.3.6 + linuxthreads

* gp2xdev-20060525.tar.bz2

Which can be downloaded here (60 Mb!!):
http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,14,1609

This is a huge tarball with pre-patched sources, just type make to get things
going. I've been doing diffs against pristine upstream sources to see what they
have patched. They are mostly using the same patches as open2x. Since open2x
distributes the patches seperately, and in general since open2x is an alive
project unlike this, I've decided to base my Fedora attempts on the open2x stuff.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list