Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Uclibc 0.9.29 compiler error
@ 2007-09-04 21:40 Micha Nelissen
  2007-09-04 22:19 ` Bernhard Fischer
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Micha Nelissen @ 2007-09-04 21:40 UTC (permalink / raw)
  To: buildroot

Hi,

I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
xscale. I've configured to use software floating point. Linking of
uclibc fails, it cannot find some functions which seem software floating
point related e.g. __floatsidf. Objdump'ing the libgcc.a file, this
function is present, but section *UND* is listed instead of .text.

<quote>
  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+0x1c8): undefined reference to `__muldf3'
_fpmaxtostr.c:(.text+0x38c): undefined reference to `__gedf2'
_fpmaxtostr.c:(.text+0x444): 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/micha/netbox/buildroot/build_armeb/staging_dir/bin/../lib/gcc/armeb-linux-uclibc/4.1.2/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] Fout 2
</quote>

<quote>
SYMBOL TABLE:
00000000 l    df *ABS*  00000000 libgcc2.c
00000000 l    d  .text  00000000 .text
00000000 l    d  .data  00000000 .data
00000000 l    d  .bss   00000000 .bss
00000000 l    d  .comment       00000000 .comment
00000000         *UND*  00000000 __extendsfdf2
00000000         *UND*  00000000 __muldf3
00000000         *UND*  00000000 __fixunsdfsi
00000000         *UND*  00000000 __floatsidf
00000000         *UND*  00000000 __adddf3
00000000 g     F .text  000000a8 __fixunssfdi
</quote>

Any idea how to solve this?

Thanks,

Micha

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-04 21:40 [Buildroot] Uclibc 0.9.29 compiler error Micha Nelissen
@ 2007-09-04 22:19 ` Bernhard Fischer
  2007-09-04 22:26   ` Bernhard Fischer
  2007-09-05 18:46 ` Micha Nelissen
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 9+ messages in thread
From: Bernhard Fischer @ 2007-09-04 22:19 UTC (permalink / raw)
  To: buildroot

On Tue, Sep 04, 2007 at 11:40:15PM +0200, Micha Nelissen wrote:
>Hi,
>
>I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
>xscale. I've configured to use software floating point. Linking of
>uclibc fails, it cannot find some functions which seem software floating
>point related e.g. __floatsidf. Objdump'ing the libgcc.a file, this
>function is present, but section *UND* is listed instead of .text.

>Any idea how to solve this?

Retry with a shared libgcc

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-04 22:19 ` Bernhard Fischer
@ 2007-09-04 22:26   ` Bernhard Fischer
  0 siblings, 0 replies; 9+ messages in thread
From: Bernhard Fischer @ 2007-09-04 22:26 UTC (permalink / raw)
  To: buildroot

On Wed, Sep 05, 2007 at 12:19:16AM +0200, Bernhard Fischer wrote:
>On Tue, Sep 04, 2007 at 11:40:15PM +0200, Micha Nelissen wrote:
>>Hi,
>>
>>I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
>>xscale. I've configured to use software floating point. Linking of
>>uclibc fails, it cannot find some functions which seem software floating
>>point related e.g. __floatsidf. Objdump'ing the libgcc.a file, this
>>function is present, but section *UND* is listed instead of .text.
>
>>Any idea how to solve this?
>
>Retry with a shared libgcc

scratch that, i overread softfloat.

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-04 21:40 [Buildroot] Uclibc 0.9.29 compiler error Micha Nelissen
  2007-09-04 22:19 ` Bernhard Fischer
@ 2007-09-05 18:46 ` Micha Nelissen
  2007-09-06  7:10 ` Konstantin Kletschke
  2007-09-06 16:50 ` Yann E. MORIN
  3 siblings, 0 replies; 9+ messages in thread
From: Micha Nelissen @ 2007-09-05 18:46 UTC (permalink / raw)
  To: buildroot

Micha Nelissen wrote:
> I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
> xscale. I've configured to use software floating point. Linking of

It does work with gcc 3.4.6. With the 4.x branch it seems NPTL is
necessary, which doesn't work in uclibc-arm.

Micha

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-04 21:40 [Buildroot] Uclibc 0.9.29 compiler error Micha Nelissen
  2007-09-04 22:19 ` Bernhard Fischer
  2007-09-05 18:46 ` Micha Nelissen
@ 2007-09-06  7:10 ` Konstantin Kletschke
  2007-09-06 16:06   ` Micha Nelissen
  2007-09-06 16:50 ` Yann E. MORIN
  3 siblings, 1 reply; 9+ messages in thread
From: Konstantin Kletschke @ 2007-09-06  7:10 UTC (permalink / raw)
  To: buildroot

Am 2007-09-04 23:40 +0200 schrieb Micha Nelissen:

> I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
> xscale. I've configured to use software floating point. Linking of

Is armeb the same like arm-linux-uclibcgnueabi-gcc (i.e. EABI with
softfloat in my exact case, gcc-4.2.1 uClibc-0.9.29)?

Konsti


-- 
synertronixx GmbH
Dipl.-Ing. (FH) Konstantin Kletschke
Vahrenwalder Str. 7
30165 Hannover
Tel.    : 0511 / 3574 - 661
Fax     : 0511 / 93 57 - 679
E-mail  : kletschke at synertronixx.de
Internet: http://www.synertronixx.de
Vertretungsberechtigte Gesch?ftsf?hrer:
Marc-Oliver Borck, Dr. Matthias Blaschke
Registergericht: Amtsgericht Hannover
Registernummer: HRB 59670
USt-ID: DE 216 559 901

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-06  7:10 ` Konstantin Kletschke
@ 2007-09-06 16:06   ` Micha Nelissen
  2007-09-07  6:35     ` Konstantin Kletschke
  0 siblings, 1 reply; 9+ messages in thread
From: Micha Nelissen @ 2007-09-06 16:06 UTC (permalink / raw)
  To: buildroot

Konstantin Kletschke wrote:
> Is armeb the same like arm-linux-uclibcgnueabi-gcc (i.e. EABI with
> softfloat in my exact case, gcc-4.2.1 uClibc-0.9.29)?

armeb = arm big endian. I'm using OABI btw; does that matter? Would
using EABI resolve those floating point routine linker errors? EABI is
about the kernel interface, so my guess was no.

Micha

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-04 21:40 [Buildroot] Uclibc 0.9.29 compiler error Micha Nelissen
                   ` (2 preceding siblings ...)
  2007-09-06  7:10 ` Konstantin Kletschke
@ 2007-09-06 16:50 ` Yann E. MORIN
  2007-09-07 21:56   ` Micha Nelissen
  3 siblings, 1 reply; 9+ messages in thread
From: Yann E. MORIN @ 2007-09-06 16:50 UTC (permalink / raw)
  To: buildroot

Micha, All,

On Tuesday 04 September 2007 23:40, Micha Nelissen wrote:
> I am using buildroot SVN, gcc 4.2.1, uclibc 0.9.29, armeb-linux for
> xscale. I've configured to use software floating point. Linking of
> uclibc fails, it cannot find some functions which seem software floating
> point related e.g. __floatsidf.

Try attached patch.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< ?_? >==-- ?------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
?------------------------------?-------?------------------?--------------------?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 801-softfloat-fix.patch
Type: text/x-diff
Size: 2762 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070906/cd724734/attachment-0001.bin 

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-06 16:06   ` Micha Nelissen
@ 2007-09-07  6:35     ` Konstantin Kletschke
  0 siblings, 0 replies; 9+ messages in thread
From: Konstantin Kletschke @ 2007-09-07  6:35 UTC (permalink / raw)
  To: buildroot

Am 2007-09-06 18:06 +0200 schrieb Micha Nelissen:

> armeb = arm big endian. I'm using OABI btw; does that matter? Would

Ooops, sorry. Thought the issue was about softfloat+EABI.

Konsti


-- 
synertronixx GmbH
Dipl.-Ing. (FH) Konstantin Kletschke
Vahrenwalder Str. 7
30165 Hannover
Tel.    : 0511 / 3574 - 661
Fax     : 0511 / 93 57 - 679
E-mail  : kletschke at synertronixx.de
Internet: http://www.synertronixx.de
Vertretungsberechtigte Gesch?ftsf?hrer:
Marc-Oliver Borck, Dr. Matthias Blaschke
Registergericht: Amtsgericht Hannover
Registernummer: HRB 59670
USt-ID: DE 216 559 901

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

* [Buildroot] Uclibc 0.9.29 compiler error
  2007-09-06 16:50 ` Yann E. MORIN
@ 2007-09-07 21:56   ` Micha Nelissen
  0 siblings, 0 replies; 9+ messages in thread
From: Micha Nelissen @ 2007-09-07 21:56 UTC (permalink / raw)
  To: buildroot

Yann E. MORIN wrote:
> Micha, All,
> 
> Try attached patch.

With this patch I can indeed build a toolchain + root. But it doesn't
boot properly, it hangs after freeing init memory. Tried /bin/echo hello
from /etc/inittab, but no joy.

BTW, with gcc 3.3, /etc/init.d/rcS isn't executed, anyone seen this ?
BTW2, with gcc 3.3, ifup crashes after forking (illegal instruction).
BTW3, is there any script so that udhcpc writes /etc/resolv.conf and
configures the interface it got an IP for ? Interface eth0 e.g. is left
unconfigured for me.

Micha

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

end of thread, other threads:[~2007-09-07 21:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 21:40 [Buildroot] Uclibc 0.9.29 compiler error Micha Nelissen
2007-09-04 22:19 ` Bernhard Fischer
2007-09-04 22:26   ` Bernhard Fischer
2007-09-05 18:46 ` Micha Nelissen
2007-09-06  7:10 ` Konstantin Kletschke
2007-09-06 16:06   ` Micha Nelissen
2007-09-07  6:35     ` Konstantin Kletschke
2007-09-06 16:50 ` Yann E. MORIN
2007-09-07 21:56   ` Micha Nelissen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox