All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
To: buildroot@busybox.net
Subject: [Buildroot] [MIPS] toolchain/gcc/Config.in broken?
Date: Tue, 09 Oct 2007 11:12:05 +0900	[thread overview]
Message-ID: <470AE375.8010200@ruby.dti.ne.jp> (raw)

Hello,

It seems that commits r20031 and r20045 or around those have broken
MIPS cross toolchain build:
---
/usr/bin/make MAKE="/usr/bin/make -j1" -C /home/skuribay/devel/buildroot/toolchain_build_mips/uClibc-0.9.29 \
               PREFIX= \
               DEVEL_PREFIX=/ \
               RUNTIME_PREFIX=/ \
               HOSTCC="/usr/bin/gcc" \
               all
make[1]: Entering directory `/home/skuribay/devel/buildroot/toolchain_build_mips/uClibc-0.9.29'
make[2]: `conf' is up to date.
ln -fs sgidefs.h ./include/
make[3]: `conf' is up to date.
ln -fs sgidefs.h ./include/
 LD libuClibc-0.9.29.so
libc/libc_so.a(lldiv.os): In function `imaxdiv':
lldiv.c:(.text+0x3c): undefined reference to `__divdi3'
lldiv.c:(.text+0x68): undefined reference to `__moddi3'
make[2]: *** [lib/libc.so] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory `/home/skuribay/devel/buildroot/toolchain_build_mips/uClibc-0.9.29'
make: *** [/home/skuribay/devel/buildroot/toolchain_build_mips/uClibc-0.9.29/lib/libc.a] Error 2
---

Although I specified O32 and mips32r2 in menuconfig, gcc-4.2.1-initial/
config.status says --with-abi=o64.

# /home/skuribay/devel/buildroot/toolchain_build_mips/gcc-4.2.1/configure   --prefix=/home/skuribay/devel/buildroot/build_mips/staging_dir/usr --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=mips-linux-uclibc --with-sysroot=/home/skuribay/devel/buildroot/toolchain_build_mips/uClibc_dev/ --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-shared --with-gmp=/home/skuribay/devel/buildroot/toolchain_build_mips/gmp --with-mpfr=/home/skuribay/devel/buildroot/toolchain_build_mips/mpfr --disable-nls --enable-threads --disable-multilib --with-abi=o64 --with-tune=mips32r2 --enable-languages=c

Is this right? I thought --with-abi=32 expected.
I'm not familiar with buildroot, so I might miss something.

thanks,

   Shinya Kuribayashi

             reply	other threads:[~2007-10-09  2:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-09  2:12 Shinya Kuribayashi [this message]
2007-10-09  5:03 ` [Buildroot] uclibc/buildroot performance problems Leonid

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=470AE375.8010200@ruby.dti.ne.jp \
    --to=skuribay@ruby.dti.ne.jp \
    --cc=buildroot@busybox.net \
    /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.