From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-f44.google.com ([74.125.83.44]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1S9LUu-0007iY-9K for ptxdist@pengutronix.de; Sun, 18 Mar 2012 20:10:33 +0100 Received: by eeke51 with SMTP id e51so2760279eek.31 for ; Sun, 18 Mar 2012 12:10:26 -0700 (PDT) From: Remy Bohmer Date: Sun, 18 Mar 2012 20:10:09 +0100 Message-Id: <1332097818-23592-1-git-send-email-linux@bohmer.net> Subject: [ptxdist] [PATCH 0/9] Add preliminary multilib support for x86_64 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This complete series makes it possible to use a multilib based compiler toolchain for x86_64 to deliver a filesystem properly configured to be used in multilib environments. Notice that currently still only 1 C-library is being installed in the target root filesystem. A 2nd C-library configuration will be added in future changesets. Regression tests have been executed to make sure the series does not break existing use of single lib toolchains. It has been tested with a Sourcery Codebench lite toolchain. These can be found here: https://sourcery.mentor.com/sgpp/lite/ia32/portal/subscription10027lite=IA32 System boots properly and all runtime linking appears to work as expected. If you want to build a filesystem with this toolchain you need to set the following items in your platformconfig (or read the toolchain manuals): * PTXCONF_TARGET_EXTRA_CPPFLAGS="-march=core2 -m64" * PTXCONF_TARGET_EXTRA_CFLAGS="-march=core2 -m64" * PTXCONF_TARGET_EXTRA_CXXFLAGS="-march=core2 -m64" * PTXCONF_TARGET_EXTRA_LDFLAGS="-march=core2 -m64" >From here you can run ptxdist as usual. Remy Bohmer (9): [x86_64] Add x86_64 architecture strings. [x86_64] libgcc need to be install in /lib64 instead of /lib [x86_64,multilib] Remove all hardcoded paths from glibc.make [x86_64,multilib] Make packages install their libraries at the right place [x86_64,multilib] Install Zlib libraries at the right place [x86_64,multilib] Install Ncurses libraries at the right place [x86_64,multilib] Install Util-linux-ng libraries at the right place [x86_64,multilib] Install Readline libraries at the right place [x86_64,multilib] Install Procps libraries at the right place platforms/architecture.in | 15 +++++++++++++-- rules/gcclibs.make | 6 +++--- rules/glibc.make | 23 +++++++++++------------ rules/ncurses.make | 30 +++++++++++++++--------------- rules/post/install.make | 18 ++++++------------ rules/pre/Rules.make | 11 ++++++++++- rules/procps.make | 5 ++--- rules/readline.make | 3 ++- rules/util-linux-ng.make | 1 + rules/zlib.make | 3 ++- scripts/install_copy_toolchain.sh | 20 +++++++++++++------- scripts/lib/ptxd_make_00-init.sh | 30 ++++++++++++++++++++++++++---- scripts/lib/ptxd_make_xpkg_pkg.sh | 4 ++-- 13 files changed, 106 insertions(+), 63 deletions(-) -- 1.7.5.4 -- ptxdist mailing list ptxdist@pengutronix.de