Skip to contentSkip to conversation

gcc-configure-common.inc: Disable multilib generation.

PATCH In review Khem Raj 4 participants 5 messages Jul 14, 2010

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-configure-common.inc: Disable multilib generation.

---
 recipes/gcc/gcc-4.5.inc              |    3 +++
 recipes/gcc/gcc-configure-common.inc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
recipes/gcc/gcc-4.5.inc +3 -0
index 19ab47b..c9b61a6 100644
@@ -54,3 +54,6 @@ EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-li
 EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
+
+EXTRA_OECONF_append_sh4 = " -with-cpu=sh4a --with-endian=little --with-multilib-list=none "
+TARGET_CC_ARCH_sh4 = ""
recipes/gcc/gcc-configure-common.inc +1 -1
index 892d684..bad70a4 100644
@@ -36,7 +36,7 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d,
                 --enable-shared \
                 --enable-languages=${LANGUAGES} \
                 --enable-threads=posix \
-                --enable-multilib \
+		--disable-multilib \
                 --enable-c99 \
                 --enable-long-long \
                 --enable-symvers=gnu \
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw

В сообщении от Среда 14 июля 2010 21:56:02 автор Khem Raj написал:

Quoted 5 lines
---
 recipes/gcc/gcc-4.5.inc              |    3 +++
 recipes/gcc/gcc-configure-common.inc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
Signature · 3 lines
 http://roman.khimov.ru
mailto: [email protected]
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
Acked-by
#2 lore raw
Quoted 8 lines · Roman I Khimov

В сообщении от Среда 14 июля 2010 21:56:02 автор Khem Raj написал:

Quoted 5 lines
---
 recipes/gcc/gcc-4.5.inc              |    3 +++
 recipes/gcc/gcc-configure-common.inc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#3 lore raw
In reply to Khem Raj

Am Mittwoch, den 14.07.2010, 10:56 -0700 schrieb Khem Raj:

Quoted 22 lines
---
 recipes/gcc/gcc-4.5.inc              |    3 +++
 recipes/gcc/gcc-configure-common.inc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
recipes/gcc/gcc-4.5.inc +3 -0
index 19ab47b..c9b61a6 100644
@@ -54,3 +54,6 @@ EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-li
 EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
+
+EXTRA_OECONF_append_sh4 = " -with-cpu=sh4a --with-endian=little --with-multilib-list=none "
+TARGET_CC_ARCH_sh4 = ""
recipes/gcc/gcc-configure-common.inc +0 -0
index 892d684..bad70a4 100644

recipes/gcc/gcc-configure-common.inc EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, · line 42

Quoted 8 lines
recipes/gcc/gcc-configure-common.inc +1 -1
@@ -36,7 +36,7 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d,
                 --enable-shared \
                 --enable-languages=${LANGUAGES} \
                 --enable-threads=posix \
-                --enable-multilib \
+		--disable-multilib \
                 --enable-c99 \
                 --enable-long-long \
                 --enable-symvers=gnu \

Sorry. I do not know much about it. But what problem does this fix?

Thanks,

Paul

#4 lore raw
Quoted 25 lines · Paul Menzel

Am Mittwoch, den 14.07.2010, 10:56 -0700 schrieb Khem Raj:

Quoted 24 lines
---
 recipes/gcc/gcc-4.5.inc              |    3 +++
 recipes/gcc/gcc-configure-common.inc |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
recipes/gcc/gcc-4.5.inc +3 -0
index 19ab47b..c9b61a6 100644
@@ -54,3 +54,6 @@ EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-li
 EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
 EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
+
+EXTRA_OECONF_append_sh4 = " -with-cpu=sh4a --with-endian=little --with-multilib-list=none "
+TARGET_CC_ARCH_sh4 = ""
recipes/gcc/gcc-configure-common.inc +0 -0
index 892d684..bad70a4 100644
@@ -36,7 +36,7 @@ EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d,
                 --enable-shared \
                 --enable-languages=${LANGUAGES} \
Quoted 8 lines

recipes/gcc/gcc-configure-common.inc EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, · line 42

Quoted 6 lines
recipes/gcc/gcc-configure-common.inc +1 -1
                 --enable-threads=posix \
-                --enable-multilib \
+		--disable-multilib \
                 --enable-c99 \
                 --enable-long-long \
                 --enable-symvers=gnu \

Sorry. I do not know much about it. But what problem does this fix?

multilib doesn't currently work (there are patches for that) and in some cases (some of which are out of tree) it also breaks compilation of gcc.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation