All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 4/4] glibc: don't override TUNE_CCARGS for MIPS
Date: Wed,  1 Jul 2015 17:02:22 +0300	[thread overview]
Message-ID: <1435759342-5312-5-git-send-email-dbaryshkov@gmail.com> (raw)
In-Reply-To: <1435759342-5312-1-git-send-email-dbaryshkov@gmail.com>

Overriding TUNE_CCARGS this way breaks MULTILIB setup for MIPS. This
override disables multilib handling of tunes for TUNE_CCARGS, thus
enforcing glibc's TUNE_CCARGS to the TUNE_CCARGS of main DEFAULTTUNE.

Glibc perfectly build without this override for both simple and multilib
cases.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/recipes-core/glibc/glibc_2.21.bb | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
index 8197c29..52252b3 100644
--- a/meta/recipes-core/glibc/glibc_2.21.bb
+++ b/meta/recipes-core/glibc/glibc_2.21.bb
@@ -95,16 +95,6 @@ do_patch_append() {
     bb.build.exec_func('do_fix_readlib_c', d)
 }
 
-# for mips glibc now builds syscall tables for all abi's
-# so we make sure that we choose right march option which is
-# compatible with o32,n32 and n64 abi's
-# e.g. -march=mips32 is not compatible with n32 and n64 therefore
-# we filter it out in such case -march=from-abi which will be
-# mips1 when using o32 and mips3 when using n32/n64
-
-TUNE_CCARGS_mips := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
-TUNE_CCARGS_mipsel := "${@oe_filter_out('-march=mips32', '${TUNE_CCARGS}', d)}"
-
 do_fix_readlib_c () {
 	sed -i -e 's#OECORE_KNOWN_INTERPRETER_NAMES#${EGLIBC_KNOWN_INTERPRETER_NAMES}#' ${S}/elf/readlib.c
 }
-- 
1.9.1



  parent reply	other threads:[~2015-07-01 14:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 14:02 [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 1/4] arch-mips.inc: don't override TRANSLATED_TARGET_ARCH Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 2/4] packagegroups-cross-canadian: " Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 3/4] cross.bbclass: override MULTIMACH_TARGET_SYS Dmitry Eremin-Solenikov
2015-07-01 14:02 ` Dmitry Eremin-Solenikov [this message]
2015-08-15 19:34   ` [PATCH 4/4] glibc: don't override TUNE_CCARGS for MIPS Khem Raj
2015-08-15 23:15     ` Dmitry Eremin-Solenikov
2015-08-16  0:29       ` Khem Raj
2015-08-17 15:30         ` Dmitry Eremin-Solenikov
2015-08-18 15:05           ` Dmitry Eremin-Solenikov
2015-07-08 12:00 ` [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-08 12:02   ` Richard Purdie
2015-07-08 12:42   ` Mark Hatle
2015-07-20 12:11     ` Dmitry Eremin-Solenikov
2015-07-20 15:47       ` Mark Hatle
2015-07-21  8:23         ` Dmitry Eremin-Solenikov
2015-07-21 14:31           ` Mark Hatle
2015-07-21 15:26             ` Mark Hatle
2015-07-22 15:48               ` Dmitry Eremin-Solenikov
2015-07-28 17:26               ` Dmitry Eremin-Solenikov
2015-07-29 14:58                 ` Mark Hatle
2015-07-29 15:00                   ` Dmitry Eremin-Solenikov
2015-07-31 10:59                     ` Richard Purdie
2015-07-31 15:47                       ` Dmitry Eremin-Solenikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1435759342-5312-5-git-send-email-dbaryshkov@gmail.com \
    --to=dbaryshkov@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.