Michel Benoit | 1 Feb 01:09 2007
Picon

building ARM toolchain with nofpu

Hi,

I'm trying to build a toolchain with soft floating point enabled for
ARM arm26t target platform.  I'm doing this in order to build u-boot
for my target.

I downloaded the latest verison of buildroot and selected "Use
software floating point by defaul" in buildroot menuconfig and
unselected "Target CPU has a floating point unit (FPU) " in
uclib-menuconfig.

The build stops due to missing symbols while linking uclibc:

make[1]: Entering directory
`/home/michel/Projects/sepab/exyplus/sw/bsp/build/buildroot/toolchain_build_arm_nofpu/uClibc'
  LD libuClibc-0.9.29.so
libc/libc_so.a(difftime.os): In function `difftime':
difftime.c:(.text+0x8): undefined reference to `__floatsidf'
difftime.c:(.text+0x2c): undefined reference to `__subdf3'
libc/libc_so.a(_fpmaxtostr.os): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xd4): undefined reference to `__nedf2'
_fpmaxtostr.c:(.text+0xf8): undefined reference to `__eqdf2'
_fpmaxtostr.c:(.text+0x114): undefined reference to `__divdf3'
_fpmaxtostr.c:(.text+0x120): undefined reference to `__ltdf2'
_fpmaxtostr.c:(.text+0x1c4): undefined reference to `__muldf3'
_fpmaxtostr.c:(.text+0x388): undefined reference to `__gedf2'
_fpmaxtostr.c:(.text+0x430): undefined reference to `__adddf3'
libc/libc_so.a(__psfs_do_numeric.os): In function `__psfs_do_numeric':
__psfs_do_numeric.c:(.text+0x520): undefined reference to `__truncdfsf2'
libc/libc_so.a(strtof.os): In function `strtof':
(Continue reading)

James L Henrickson | 1 Feb 07:17 2007

working .config for nios2?

After a lot of experimenting, I managed to generate .config files that 
resulted in the successful build of i586 and i486 targets (including the 
linux kernel).  Now I seem to be stuck trying to build for a nios2 
target.  If I try using the uclibc snapshot, it gets stuck trying to 
build for the various elf, flat, etc options  (all four options fail).  
If I try using an earlier version of uclibc, it tries to use 
nios2-elf-gcc (which doesn't exist) instead of nios2-linux-uclibc-gcc 
(which does exist).  I tried using various versions of gcc and both of 
the supported 2.6.x kernel versions.  I also tried both a few-days-old 
version of BuildRoot and the latest snapshot, with those various 
permutations of config items.  I'm running out of ideas.  Does anyone 
have a working .config for nios2?

Jim Henrickson
Wang, Baojun | 1 Feb 09:51 2007
Picon

buildroot svn version failed to build using (almost) defconfig(busybox 1.2.2.1)

hi,

buildroot failed to build on busybox 1.2.2.1:

cp -dpf /opt/build/buildroot/build_i686/staging_dir/lib/libstdc++.so* /opt/build/buildroot/build_i686/root/lib/
cp -f  
target/device/x86/i386/busybox.config /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config
/opt/build/buildroot/toolchain_build_i686/bin/sed -i -e

s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-\", 
\
        /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config ;
/opt/build/buildroot/toolchain_build_i686/bin/sed -i -e

s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-\", 
\
        /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config ;
/opt/build/buildroot/toolchain_build_i686/bin/sed -i -e "s/^.*CONFIG_LFS.*/CONFIG_LFS=y/;" /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config
yes "" | make -j1 
CC=/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc 
CROSS_COMPILE="/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-" 
\

CROSS="/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-" -C
/opt/build/buildroot/build_i686/busybox-1.2.2.1 
oldconfig
make[1]: Entering directory `/opt/build/buildroot/build_i686/busybox-1.2.2.1'
#
# using defaults found in .config
#
(Continue reading)

joe | 1 Feb 11:54 2007
Picon

Re: buildroot svn version failed to build using (almost) defconfig(busybox 1.2.2.1)

Quoting "Wang, Baojun" <wangbj@...>:

> hi,
>
> buildroot failed to build on busybox 1.2.2.1:
>
> cp -dpf   
> /opt/build/buildroot/build_i686/staging_dir/lib/libstdc++.so*   
> /opt/build/buildroot/build_i686/root/lib/
> cp -f
> target/device/x86/i386/busybox.config   
> /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config
> /opt/build/buildroot/toolchain_build_i686/bin/sed -i -e
> s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-\",
> \
>         /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config ;
> /opt/build/buildroot/toolchain_build_i686/bin/sed -i -e
> s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-\",
> \
>         /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config ;
> /opt/build/buildroot/toolchain_build_i686/bin/sed -i -e   
> "s/^.*CONFIG_LFS.*/CONFIG_LFS=y/;"   
> /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config
> yes "" | make -j1
> CC=/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-gcc
> CROSS_COMPILE="/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-"
> \
>
> CROSS="/opt/build/buildroot/build_i686/staging_dir/bin/i686-linux-uclibc-"   
> -C /opt/build/buildroot/build_i686/busybox-1.2.2.1
(Continue reading)

aldot | 1 Feb 13:30 2007

svn commit: trunk/buildroot/package/busybox

Author: aldot
Date: 2007-02-01 04:30:34 -0800 (Thu, 01 Feb 2007)
New Revision: 17697

Log:
- the generic x86 busybox config is ment for current busybox trunk

Modified:
   trunk/buildroot/package/busybox/Config.in

Changeset:
Modified: trunk/buildroot/package/busybox/Config.in
===================================================================
--- trunk/buildroot/package/busybox/Config.in	2007-02-01 07:30:37 UTC (rev 17696)
+++ trunk/buildroot/package/busybox/Config.in	2007-02-01 12:30:34 UTC (rev 17697)
 <at>  <at>  -50,7 +50,7  <at>  <at> 
 config BR2_PACKAGE_BUSYBOX_CONFIG
 	string "BusyBox configuration file to use?"
 	depends BR2_PACKAGE_BUSYBOX
-	default "target/device/x86/i386/busybox.config" if BR2_i386
+	default "target/device/x86/i386/busybox.config" if BR2_i386 && BR2_PACKAGE_BUSYBOX_SNAPSHOT
 	default "package/busybox/busybox-1.0.1.config" if BR2_BUSYBOX_VERSION_1_0_1
 	default "package/busybox/busybox-1.1.3.config" if BR2_BUSYBOX_VERSION_1_1_3
 	default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
Bernhard Fischer | 1 Feb 13:31 2007
Picon

Re: buildroot svn version failed to build using (almost) defconfig(busybox 1.2.2.1)

On Thu, Feb 01, 2007 at 04:51:02PM +0800, Wang, Baojun wrote:
>hi,
>
>buildroot failed to build on busybox 1.2.2.1:
>
>cp -dpf /opt/build/buildroot/build_i686/staging_dir/lib/libstdc++.so* /opt/build/buildroot/build_i686/root/lib/
>cp -f  
>target/device/x86/i386/busybox.config /opt/build/buildroot/build_i686/busybox-1.2.2.1/.config

Right. That config is ment for trunk. Please try r17697 or later
David Lambert | 1 Feb 16:04 2007

Undefined 'raise' roblem with gcc 4.2 in buildroot

I am getting the following error when compiling under buildroot using 
the gcc 4.2 compiler:
/buildroot/toolchain_build_arm/gcc-4.2-20061121/gcc/config/arm/lib1funcs.asm:1000: 
undefined reference to `raise'

I have noticed similar posts regarding gcc 4.1.1, but nothing to date 
for 4.2. Am I missing something? Any suggestions?

Best regards,

Dave.
andersen | 1 Feb 20:20 2007

svn commit: trunk/buildroot/package/libgtk2

Author: andersen
Date: 2007-02-01 11:19:59 -0800 (Thu, 01 Feb 2007)
New Revision: 17698

Log:
bump version

Modified:
   trunk/buildroot/package/libgtk2/libgtk2.mk

Changeset:
Modified: trunk/buildroot/package/libgtk2/libgtk2.mk
===================================================================
--- trunk/buildroot/package/libgtk2/libgtk2.mk	2007-02-01 12:30:34 UTC (rev 17697)
+++ trunk/buildroot/package/libgtk2/libgtk2.mk	2007-02-01 19:19:59 UTC (rev 17698)
 <at>  <at>  -3,7 +3,7  <at>  <at> 
 # libgtk2.0
 #
 #############################################################
-LIBGTK2_VERSION:=2.10.7
+LIBGTK2_VERSION:=2.10.9
 LIBGTK2_SOURCE:=gtk+-$(LIBGTK2_VERSION).tar.bz2
 LIBGTK2_SITE:=ftp://ftp.gtk.org/pub/gtk/v2.10
 LIBGTK2_CAT:=$(BZCAT)
andersen | 1 Feb 20:20 2007

svn commit: trunk/buildroot/package/libglib2

Author: andersen
Date: 2007-02-01 11:20:16 -0800 (Thu, 01 Feb 2007)
New Revision: 17699

Log:
bump version

Removed:
   trunk/buildroot/package/libglib2/configure-libtool.patch

Modified:
   trunk/buildroot/package/libglib2/libglib2.mk

Changeset:
Deleted: trunk/buildroot/package/libglib2/configure-libtool.patch
===================================================================
--- trunk/buildroot/package/libglib2/configure-libtool.patch	2007-02-01 19:19:59 UTC (rev 17698)
+++ trunk/buildroot/package/libglib2/configure-libtool.patch	2007-02-01 19:20:16 UTC (rev 17699)
 <at>  <at>  -1,11 +0,0  <at>  <at> 
---- glib-2.8.4/configure.in.orig	2006-06-05 13:34:08.000000000 +0100
-+++ glib-2.8.4/configure.in	2006-06-05 13:34:36.000000000 +0100
- <at>  <at>  -1106,7 +1106,7  <at>  <at> 
-   dnl No use for this on Win32
-   G_MODULE_LDFLAGS=
- else
--  G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
-+  G_MODULE_LDFLAGS=`(./$host_alias-libtool --config; echo eval echo
\\$export_dynamic_flag_spec) | sh`
- fi
- dnl G_MODULE_IMPL= don't reset, so cmd-line can override
(Continue reading)

Michel Benoit | 1 Feb 21:51 2007
Picon

Re: building ARM toolchain with nofpu

Thanks that worked!

On 2/1/07, Yann E. MORIN <yann.morin.1998@...> wrote:
> Hello all!
> Michel, Carl.
>
> On Thursday 01 February 2007 010, Michel Benoit wrote:
> > I'm trying to build a toolchain with soft floating point enabled for
> > ARM arm26t target platform.  I'm doing this in order to build u-boot
> > for my target.
> [--SNIP--]
> > The build stops due to missing symbols while linking uclibc:
> >
> > make[1]: Entering directory
> > `/home/michel/Projects/sepab/exyplus/sw/bsp/build/buildroot/toolchain_build_arm_nofpu/uClibc'
> >   LD libuClibc-0.9.29.so
> > libc/libc_so.a(difftime.os): In function `difftime':
> > difftime.c:(.text+0x8): undefined reference to `__floatsidf'
> > difftime.c:(.text+0x2c): undefined reference to `__subdf3'
> > libc/libc_so.a(_fpmaxtostr.os): In function `_fpmaxtostr':
> > _fpmaxtostr.c:(.text+0xd4): undefined reference to `__nedf2'
> > _fpmaxtostr.c:(.text+0xf8): undefined reference to `__eqdf2'
> > _fpmaxtostr.c:(.text+0x114): undefined reference to `__divdf3'
> > _fpmaxtostr.c:(.text+0x120): undefined reference to `__ltdf2'
> > _fpmaxtostr.c:(.text+0x1c4): undefined reference to `__muldf3'
> > _fpmaxtostr.c:(.text+0x388): undefined reference to `__gedf2'
> > _fpmaxtostr.c:(.text+0x430): undefined reference to `__adddf3'
> > libc/libc_so.a(__psfs_do_numeric.os): In function `__psfs_do_numeric':
> > __psfs_do_numeric.c:(.text+0x520): undefined reference to `__truncdfsf2'
> > libc/libc_so.a(strtof.os): In function `strtof':
(Continue reading)


Gmane