This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
X32 is almost done
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 25 May 2012 15:22:34 -0700
- Subject: X32 is almost done
Hi,
Thanks for everyone, x32 is almost done. The last remaining issue is
http://sourceware.org/bugzilla/show_bug.cgi?id=14112
I have a proposal on hjl/abi branch. I updated x32 wiki page:
http://sourceware.org/glibc/wiki/x32
to describe how to bootstrap x32 GCC and GLIBC. I verified the procedure
on openSUSE 12.1:
hjl@gnu-32:/tmp> cat /etc/os-release
NAME=openSUSE
VERSION = 12.1 (Asparagus)
VERSION_ID="12.1"
PRETTY_NAME="openSUSE 12.1 (Asparagus) (x86_64)"
ID=opensuse
hjl@gnu-32:/tmp> cat x.c
#include <stdio.h>
int
main (void)
{
printf ("hello\n");
return 0;
}
hjl@gnu-32:/tmp> /usr/gcc-x32-4.7/bin/x86_64-linux-gcc -mx32 x.c
hjl@gnu-32:/tmp> file a.out
a.out: ELF 32-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.39, not
stripped
hjl@gnu-32:/tmp> ./a.out
hello
hjl@gnu-32:/tmp> uname -a
Linux gnu-32 3.4.0-1.9-desktop+ #3 SMP PREEMPT Fri May 25 05:30:28 PDT
2012 x86_64 x86_64 x86_64 GNU/Linux
hjl@gnu-32:/tmp>
--
H.J.