This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Managed to compile glibc 2.13 for Alpha


Hello everyone,

I managed to compile glibc 2.13 for Alpha EV67. Specifically, the target
architecture is alphaev67-unknown-linux-gnu.

The rest of the toolchain consists of:
gcc 4.3.5
binutils 2.21
linux 2.6.38.3
gmp 5.0.1
mpfr 3.0.0

I had to add a few patches for Alpha (the four patches sent on 28/02/2011
here http://sourceware.org/ml/libc-ports/2011-02/) and modify a few
others. The only really problematic patch was 370-fnmatch.patch which I
could not modify to make it work, so I deleted it from the patchset.

I have also attached an updated patchset for glibc 2.12.1. It doesn't
contain patch 290-undefine-__i686.patch, which is now by default included
in crosstool-ng under patches/glibc/2.12.1.

If you try any of these patchsets, don't forget during configuration of
crosstool-ng to go to the menu "C library" -> "gcc extra flags" and add
the flag "-Wl,--no-relax". I also had to select the option "Force unwind
support". The help says that the need for this option is architecture
dependant.

Any chance to see these patchsets in the main branch of crosstool-ng?

Best regards,

Ioannis E. Venetis

PS1: Please refer to my previous message
(http://sourceware.org/ml/crossgcc/2011-03/msg00055.html) for the details
of what I changed/added in the 2.12.1 patchset)

PS2: I have a few issues compiling a newer gcc (>= 4.4.x). The PPL library
gives me some problems (either that it cannot find version 4.3.1 of GMP or
if I select that specific version compilation ends because make cannot
find a rule to build a Java file). If anyone has any clue what might
happening here please let me know.


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]