* [Buildroot] ARM soft-float toolchain build crashes 20071004
@ 2007-10-04 22:11 Gertjan Hofman
2007-10-06 20:07 ` Bernhard Fischer
0 siblings, 1 reply; 4+ messages in thread
From: Gertjan Hofman @ 2007-10-04 22:11 UTC (permalink / raw)
To: buildroot
Don't want to report this as a bug if it's not...but.
Dowload 4-Oct-2007 version of buildroot. Choose ARM
processor, choose 'soft-float' in make menuconfig.
make:
....
CC libc/misc/internals/__uClibc_main.os
CC libc/stdlib/atexit.os
AS lib/crt1.o
AS lib/Scrt1.o
AS lib/crti.o
AS lib/crtn.o
STRIP -x -R .note -R .comment lib/libc.a
AR cr lib/libc.a
STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
AR cr lib/uclibc_nonshared.a
AR cr libc/libc_so.a
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+0xd0): undefined reference to
`__nedf2'
_fpmaxtostr.c:(.text+0xf4): undefined reference to
`__eqdf2'
_fpmaxtostr.c:(.text+0x110): undefined reference to
`__divdf3'
_fpmaxtostr.c:(.text+0x11c): undefined reference to
`__ltdf2'
_fpmaxtostr.c:(.text+0x1d0): undefined reference to
`__muldf3'
_fpmaxtostr.c:(.text+0x384): undefined reference to
`__gedf2'
_fpmaxtostr.c:(.text+0x40c): undefined reference to
`__floatunsidf'
libc/libc_so.a(__psfs_do_numeric.os): In function
`__psfs_do_numeric':
__psfs_do_numeric.c:(.text+0x540): undefined reference
to `__truncdfsf2'
libc/libc_so.a(strtof.os): In function `strtof':
strtof.c:(.text+0x1c): undefined reference to
`__extendsfdf2'
libc/libc_so.a(__strtofpmax.os): In function
`__strtofpmax':
__strtofpmax.c:(.text+0x154): undefined reference to
`__adddf3'
/arm/buildroot/buildroot-20071004a/build_arm/staging_dir/usr/lib/gcc/arm-linux-uclibc/4.2.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
I have never gotten soft-float to work with BuildRoot.
Is this is a bug or my error ? If there is anything
else to post to determine the problem, let me know.
Build platform is i386 Ubuntu 7.04
Much appreciated
Gertjan
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] ARM soft-float toolchain build crashes 20071004
2007-10-04 22:11 [Buildroot] ARM soft-float toolchain build crashes 20071004 Gertjan Hofman
@ 2007-10-06 20:07 ` Bernhard Fischer
2007-10-10 17:17 ` Gertjan Hofman
0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-10-06 20:07 UTC (permalink / raw)
To: buildroot
On Thu, Oct 04, 2007 at 03:11:44PM -0700, Gertjan Hofman wrote:
>Don't want to report this as a bug if it's not...but.
>
>Dowload 4-Oct-2007 version of buildroot. Choose ARM
Unfortunately this doesn't tell me what svn revision that is, but this
doesn't really matter this time.
>processor, choose 'soft-float' in make menuconfig.
Please note that this is not a crash but a build-failure.
I have a sample for an ARM integrator in target/Arm.
Can you check your settings against this one and follow-up with your
findings?
TIA,
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] ARM soft-float toolchain build crashes 20071004
2007-10-06 20:07 ` Bernhard Fischer
@ 2007-10-10 17:17 ` Gertjan Hofman
2007-10-10 20:24 ` Jonathan Nalley
0 siblings, 1 reply; 4+ messages in thread
From: Gertjan Hofman @ 2007-10-10 17:17 UTC (permalink / raw)
To: buildroot
Dear bernard,
Sorry for the slow response. Aside from a long weekend
here, it takes a while to run through various
compilations from scratch. I am never sure that the
various make cleans work properly so I often end up
restarting a buildroot build from the tar file,
leading to long download & compile times.
If I copy the integrator926_defconfig file as .config
the make indeed works fine. So I suspect it's your
different uclibc config file which makes it work.
This is what I find difficult about BuildRoot - you
choose an option in make menuconfig and it has an
effect on a package that now needs a different config
as well - but unless you familiarize your self with
each package and create config files seperately, this
is not a simple task.
I note your file compiles for EABI by default. I tried
setting back to OABI in the main config file and I
would have expected BuildRoot to remake the tool
chain. It doesnt.
If I get any further I will post the information.
Gertjan
--- Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
> On Thu, Oct 04, 2007 at 03:11:44PM -0700, Gertjan
> Hofman wrote:
> >Don't want to report this as a bug if it's
> not...but.
> >
> >Dowload 4-Oct-2007 version of buildroot. Choose ARM
>
> Unfortunately this doesn't tell me what svn revision
> that is, but this
> doesn't really matter this time.
>
> >processor, choose 'soft-float' in make menuconfig.
>
> Please note that this is not a crash but a
> build-failure.
>
> I have a sample for an ARM integrator in target/Arm.
> Can you check your settings against this one and
> follow-up with your
> findings?
>
> TIA,
>
____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] ARM soft-float toolchain build crashes 20071004
2007-10-10 17:17 ` Gertjan Hofman
@ 2007-10-10 20:24 ` Jonathan Nalley
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Nalley @ 2007-10-10 20:24 UTC (permalink / raw)
To: buildroot
All,
I have found that selecting:
(big endian)
BR2_armeb=y
with EABI + soft-float will NOT build correctly (svn revision: 20210)
It dies while building libmudflap (gcc). I set
BR2_EXTRA_GCC_CONFIG_OPTIONS="--disable-libmudflap" and this got me a bit
further, but still died in gcc-final.
I then found that if I set:
(little endian)
BR2_arm=y
with everything else the same everything builds fine.
BTW - I had the buildroot working with armeb + eabi + soft-float + gcc
4.1.2quite a while back (svn revision: 18419). I ran into the above
issue when I
updated to svn revision 20210. I tried with both gcc 4.1.2 and 4.2.1 and
found that little endian (BR2_arm) works while (BR2_armeb) does not. I have
set BR2_xscale=y, BR2_ARM_EABI=y and BR2_SOFT_FLOAT=y in all cases.
Regards,
Jon Nalley
On 10/10/07, Gertjan Hofman <gertjan_hofman@yahoo.com> wrote:
>
> Dear bernard,
>
> Sorry for the slow response. Aside from a long weekend
> here, it takes a while to run through various
> compilations from scratch. I am never sure that the
> various make cleans work properly so I often end up
> restarting a buildroot build from the tar file,
> leading to long download & compile times.
>
> If I copy the integrator926_defconfig file as .config
> the make indeed works fine. So I suspect it's your
> different uclibc config file which makes it work.
>
> This is what I find difficult about BuildRoot - you
> choose an option in make menuconfig and it has an
> effect on a package that now needs a different config
> as well - but unless you familiarize your self with
> each package and create config files seperately, this
> is not a simple task.
>
> I note your file compiles for EABI by default. I tried
> setting back to OABI in the main config file and I
> would have expected BuildRoot to remake the tool
> chain. It doesnt.
>
> If I get any further I will post the information.
>
> Gertjan
>
>
>
>
>
>
>
>
> --- Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>
> > On Thu, Oct 04, 2007 at 03:11:44PM -0700, Gertjan
> > Hofman wrote:
> > >Don't want to report this as a bug if it's
> > not...but.
> > >
> > >Dowload 4-Oct-2007 version of buildroot. Choose ARM
> >
> > Unfortunately this doesn't tell me what svn revision
> > that is, but this
> > doesn't really matter this time.
> >
> > >processor, choose 'soft-float' in make menuconfig.
> >
> > Please note that this is not a crash but a
> > build-failure.
> >
> > I have a sample for an ARM integrator in target/Arm.
> > Can you check your settings against this one and
> > follow-up with your
> > findings?
> >
> > TIA,
> >
>
>
>
>
> ____________________________________________________________________________________
> Tonight's top picks. What will you watch tonight? Preview the hottest
> shows on Yahoo! TV.
> http://tv.yahoo.com/
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071010/7e092ab9/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-10 20:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-04 22:11 [Buildroot] ARM soft-float toolchain build crashes 20071004 Gertjan Hofman
2007-10-06 20:07 ` Bernhard Fischer
2007-10-10 17:17 ` Gertjan Hofman
2007-10-10 20:24 ` Jonathan Nalley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox