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

See crosstool-NG 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]

PowerPC glibc patches


While trying to build a toolchain for a PowerPC system with gcc 4.8.1, binutils 2.22 and glibc 2.8, I faced some difficulties. Firstly, patch glibc/2.9/600-recent-binutils.patch also had to be applied to glibc 2.8; secondly, gcc 4.8 dropped -mnew-mnemonics/-mold-mnemonics options, so I had to remove -mnew-mnemonics from sysdeps/powerpc/Makefile - this is safe as -mnew-mnemonics is gcc's default since the early 90's - and this applies to glibc versions < 2.17; lastly, the patch from https://sourceware.org/ml/crossgcc/2008-10/msg00010.html had to be applied. A set of patches addressing all these issues is attached.

After these changes I was able to successfully build the toolchain (config file attached). Enabling "Disable symbols versioning" in the "C Library" section made the build fail, but I didn't have the time to investigate why.

Regards,

João Fernandes

R&D Engineer

Mobile: +351 964 697 037

Address:
Base Software Group
Rua Irmãos Siemens, 1 - Edifício 9, Piso 1
2720-093 Alfragide
Portugal

joao.m.fernandes.ext@coriant.com

Attachment: glibc_patches.patch
Description: glibc_patches.patch

Attachment: crosstool_ng-powerpc-softfp-gcc481-binutils222-glibc28.config
Description: crosstool_ng-powerpc-softfp-gcc481-binutils222-glibc28.config

--
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]