Skip to content

32-bit multilib support for gcc and glibc - #1

Open
trisk wants to merge 5 commits into
masterfrom
glibc-multilib
Open

32-bit multilib support for gcc and glibc#1
trisk wants to merge 5 commits into
masterfrom
glibc-multilib

Conversation

@trisk

@trisk trisk commented Jun 12, 2015

Copy link
Copy Markdown
Member

I accidentally submitted this to ct-ng upstream but that's fine. Description is there: crosstool-ng#119

trisk added 5 commits June 12, 2015 15:02
The stub libc.so (needed for libgcc_s) needs to be passed the same
compiler flags as glibc itself when building for multilib.
For multilib on the target side, create "lib64" (for 64-bit
build or host architectures) and "lib32" (for 32-bit emulation
on 64-bit) as symlinks to "lib" and "lib/32", respectively.
Copy the gnu/{lib-names,stubs}-${multi_dir} headers needed by
gnu/{lib-names,stubs}.h.
StevenIsaacs pushed a commit that referenced this pull request Oct 20, 2015
Pin GCC to 4.5.3 and binutils to 2.22, the last versions working. There
are multiple bugs affecting bfin configuration; while [3] is fixed on
trunk in GCC (but not backported to gcc-5-release branch yet), [1] and
[2] do not have fixes yet.

References:
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=17334 (binutils bug)
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47779 (gcc bug #1)
[3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55144 (gcc bug #2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant