All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] building ARM toolchain with nofpu
@ 2007-02-01  0:09 Michel Benoit
  2007-02-01 19:15 ` Yann E. MORIN
  0 siblings, 1 reply; 22+ messages in thread
From: Michel Benoit @ 2007-02-01  0:09 UTC (permalink / raw)
  To: buildroot

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':
strtof.c:(.text+0x1c): undefined reference to `__extendsfdf2'
/home/michel/Projects/sepab/exyplus/sw/bsp/build/buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_fixunsdfsi.o):
In function `__fixunsdfsi':
libgcc2.c:(.text+0x34): undefined reference to `__fixdfsi'
make[2]: *** [lib/libc.so] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory
`/home/michel/Projects/sepab/exyplus/sw/bsp/build/buildroot/toolchain_build_arm_nofpu/uClibc'
make: *** [/home/michel/Projects/sepab/exyplus/sw/bsp/build/buildroot/toolchain_build_arm_nofpu/uClibc/lib/libc.a]
Error 2


Are there any other config options that need to be selected/unselected
in order to get this to work?

Michel

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] building ARM toolchain with nofpu
@ 2007-02-09 14:10 James Newell
  2007-02-09 14:29 ` Bernhard Fischer
  0 siblings, 1 reply; 22+ messages in thread
From: James Newell @ 2007-02-09 14:10 UTC (permalink / raw)
  To: buildroot

 

> -----Original Message-----
> From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com] 
> Sent: Friday, February 09, 2007 8:11 AM
> To: James Newell
> Cc: Yann E. MORIN; buildroot at uclibc.org
> Subject: Re: [Buildroot] building ARM toolchain with nofpu
> 
> On Thu, Feb 08, 2007 at 08:41:53PM -0500, James Newell wrote:
> >The buildroot only seems to go to gcc 4.0.3? 
> 
> I'll add 4.0.4 later today (provided that it builds and works), fwiw
> 
> 

I was able to add 4.0.4 myself, and it worked as described by Yann.

Thanks,

Jim

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [Buildroot] building ARM toolchain with nofpu
@ 2007-02-09 14:51 James Newell
  0 siblings, 0 replies; 22+ messages in thread
From: James Newell @ 2007-02-09 14:51 UTC (permalink / raw)
  To: buildroot

 

> -----Original Message-----
> From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com] 
> Sent: Friday, February 09, 2007 9:30 AM
> To: James Newell
> Cc: Yann E. MORIN; buildroot at uclibc.org
> Subject: Re: [Buildroot] building ARM toolchain with nofpu
> 
> On Fri, Feb 09, 2007 at 09:10:03AM -0500, James Newell wrote:
> > 
> >
> >> -----Original Message-----
> >> From: Bernhard Fischer [mailto:rep.dot.nop at gmail.com]
> >> Sent: Friday, February 09, 2007 8:11 AM
> >> To: James Newell
> >> Cc: Yann E. MORIN; buildroot at uclibc.org
> >> Subject: Re: [Buildroot] building ARM toolchain with nofpu
> >> 
> >> On Thu, Feb 08, 2007 at 08:41:53PM -0500, James Newell wrote:
> >> >The buildroot only seems to go to gcc 4.0.3? 
> >> 
> >> I'll add 4.0.4 later today (provided that it builds and 
> works), fwiw
> >> 
> >> 
> >
> >I was able to add 4.0.4 myself, and it worked as described by Yann.
> 
> I'm curious as to why you think we don't have -lfloat?
I didn't say that.  The 4.1.1 compiler doesn't seem to build the uclibc
with default soft-float enabled.

Did I miss an email?

> 
> Could somebody please follow up on
> http://www.busybox.net/lists/buildroot/2007-January/001182.html
> 
> 
> 

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-03-01 10:01 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01  0:09 [Buildroot] building ARM toolchain with nofpu Michel Benoit
2007-02-01 19:15 ` Yann E. MORIN
2007-02-01 20:51   ` Michel Benoit
2007-02-01 22:46     ` Ulf Samuelsson
2007-02-05  9:26       ` Michel Benoit
2007-02-07 20:09   ` James Newell
2007-02-07 20:24     ` Yann E. MORIN
2007-02-07 20:36       ` Yann E. MORIN
2007-02-08  7:50         ` carl zhu
2007-02-08 14:26           ` James Newell
2007-02-09  1:41         ` James Newell
2007-02-09 13:10           ` Bernhard Fischer
2007-03-01 10:01         ` carl zhu
2007-02-08 17:25       ` Bernhard Fischer
2007-02-08 17:33         ` Yann E. MORIN
2007-02-08 17:40           ` Bernhard Fischer
2007-02-09 14:10 James Newell
2007-02-09 14:29 ` Bernhard Fischer
2007-02-09 17:57   ` Yann E. MORIN
2007-02-09 18:21     ` Bernhard Fischer
2007-02-09 18:48       ` Yann E. MORIN
2007-02-09 14:51 James Newell

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.