[oe] [PATCH] gcc-configure-common.inc: Disable multilib generation.

Tom Rini tom_rini at mentor.com
Wed Jul 14 18:39:42 UTC 2010


Paul Menzel wrote:
> Am Mittwoch, den 14.07.2010, 10:56 -0700 schrieb Khem Raj:
>> Signed-off-by: Khem Raj <raj.khem at gmail.com>
>> ---
>>  recipes/gcc/gcc-4.5.inc              |    3 +++
>>  recipes/gcc/gcc-configure-common.inc |    2 +-
>>  2 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/gcc/gcc-4.5.inc b/recipes/gcc/gcc-4.5.inc
>> index 19ab47b..c9b61a6 100644
>> --- a/recipes/gcc/gcc-4.5.inc
>> +++ b/recipes/gcc/gcc-4.5.inc
>> @@ -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 = ""
>> diff --git a/recipes/gcc/gcc-configure-common.inc b/recipes/gcc/gcc-configure-common.inc
>> index 892d684..bad70a4 100644
>> --- a/recipes/gcc/gcc-configure-common.inc
>> +++ b/recipes/gcc/gcc-configure-common.inc
>> @@ -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?

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.

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list