Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Error building arm toolchain: undefined reference to `raise'
@ 2006-10-26  9:45 Tor Krill
  2006-10-26 19:26 ` Philippe Ney
  0 siblings, 1 reply; 6+ messages in thread
From: Tor Krill @ 2006-10-26  9:45 UTC (permalink / raw)
  To: buildroot

Hi,

I'm trying to build an up to date toolchain for our arm920t board, at91rm9200.
However compilation fails with a:

/home/tor/tmp/buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-ld -EL -e
_start -z now -Bsymbolic -shared --warn-common --export-dynamic --sort-common
-z combreloc --discard-locals --discard-all --no-undefined -s
-soname=ld-uClibc.so.0 \
        -o ld-uClibc-0.9.28.so arm/resolve.o ldso.o
/home/tor/tmp/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a
/home/tor/tmp/buildroot/build_arm/staging_dir/lib/gcc/arm-linux-uclibc/4.1.1/libgcc.a(_dvmd_lnx.o):
In function `__div0':
/home/tor/tmp/buildroot/toolchain_build_arm/gcc-4.1.1/gcc/config/arm/lib1funcs.asm:1000:
undefined reference to `raise'
make[3]: *** [ld-uClibc-0.9.28.so] Error 1
make[3]: Leaving directory
`/home/tor/tmp/buildroot/toolchain_build_arm/uClibc-0.9.28/ldso/ldso'
make[2]: *** [ldso] Error 2
make[2]: Leaving directory
`/home/tor/tmp/buildroot/toolchain_build_arm/uClibc-0.9.28/ldso'
make[1]: *** [_dir_ldso] Error 2
make[1]: Leaving directory
`/home/tor/tmp/buildroot/toolchain_build_arm/uClibc-0.9.28'

I used latest possible stable versions,
 * gcc-4.1.1
 * Kernel headers 2.6.12
 * Binutils 2.17
 * no softfloat
 * Busybox snapshot
 * Default stable uClibc 0.9.28

Am i missing something here?

Regards

/Tor

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

* [Buildroot] Error building arm toolchain: undefined reference to `raise'
@ 2006-10-26 17:48 Michael Opdenacker
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Opdenacker @ 2006-10-26 17:48 UTC (permalink / raw)
  To: buildroot

Sorry for not replying to the original thread... I've just subscribed to 
the list.

I've just faced the same issue, in a very similar configuration.

When I use the latest uClibc snapshot, compiling stumbles on another error:

AS libc/sysdeps/linux/arm/sigrestorer.os
libc/sysdeps/linux/arm/sigrestorer.S: Assembler messages:
libc/sysdeps/linux/arm/sigrestorer.S:43: Error: invalid constant -- `mov 
r7,$((0x900000+119))'
libc/sysdeps/linux/arm/sigrestorer.S:63: Error: invalid constant -- `mov 
r7,$((0x900000+173))'
make[2]: *** [libc/sysdeps/linux/arm/sigrestorer.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory 
`/home/mike/tmp/buildroot/buildroot/toolchain_build_arm/uClibc'

Still investigating...

Cheers,

    Michael.


-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)

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

* [Buildroot] Error building arm toolchain: undefined reference to `raise'
  2006-10-26  9:45 [Buildroot] Error building arm toolchain: undefined reference to `raise' Tor Krill
@ 2006-10-26 19:26 ` Philippe Ney
  2006-10-27  6:06   ` Tor Krill
  2006-10-27  8:22   ` Michael Opdenacker
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe Ney @ 2006-10-26 19:26 UTC (permalink / raw)
  To: buildroot

> Hi,
> 
> I'm trying to build an up to date toolchain for our arm920t board, at91rm9200.
> However compilation fails with a:
[...]
> /home/tor/tmp/buildroot/toolchain_build_arm/gcc-4.1.1/gcc/config/arm/lib1funcs.asm:1000:
> undefined reference to `raise'
[...]
> Am i missing something here?
> 
> Regards
> 
> /Tor

Hi,

Have a look at the gumstix buildroot (www.gumstix.org) for a patch called
uClibc-gcc-41-raise-error.patch, I think this will do the trick.

Philippe

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

* [Buildroot] Error building arm toolchain: undefined reference to `raise'
  2006-10-26 19:26 ` Philippe Ney
@ 2006-10-27  6:06   ` Tor Krill
  2006-10-27  8:22   ` Michael Opdenacker
  1 sibling, 0 replies; 6+ messages in thread
From: Tor Krill @ 2006-10-27  6:06 UTC (permalink / raw)
  To: buildroot

Quoting Philippe Ney <philippe.ney@pardes.ws>:

> > Hi,
> >
> > I'm trying to build an up to date toolchain for our arm920t board,
> at91rm9200.
> > However compilation fails with a:
> [...]
> >
>
/home/tor/tmp/buildroot/toolchain_build_arm/gcc-4.1.1/gcc/config/arm/lib1funcs.asm:1000:
> > undefined reference to `raise'
> [...]
> > Am i missing something here?
>
> Have a look at the gumstix buildroot (www.gumstix.org) for a patch called
> uClibc-gcc-41-raise-error.patch, I think this will do the trick.

Thanks Philippe, this solved the compilation error.

/Tor

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

* [Buildroot] Error building arm toolchain: undefined reference to `raise'
  2006-10-26 19:26 ` Philippe Ney
  2006-10-27  6:06   ` Tor Krill
@ 2006-10-27  8:22   ` Michael Opdenacker
  2006-11-01 11:53     ` MikeW
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Opdenacker @ 2006-10-27  8:22 UTC (permalink / raw)
  To: buildroot

Philippe Ney wrote:
> Have a look at the gumstix buildroot (www.gumstix.org) for a patch called
> uClibc-gcc-41-raise-error.patch, I think this will do the trick.
>   
To save time, here's the exact location of this patch:
http://svn.gumstix.com/gumstix-buildroot/trunk/toolchain/uClibc/uClibc-gcc-41-raise-error.patch

Cheers,

    Michael.

-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)

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

* [Buildroot] Error building arm toolchain: undefined reference to `raise'
  2006-10-27  8:22   ` Michael Opdenacker
@ 2006-11-01 11:53     ` MikeW
  0 siblings, 0 replies; 6+ messages in thread
From: MikeW @ 2006-11-01 11:53 UTC (permalink / raw)
  To: buildroot

Michael Opdenacker <michael-lists@...> writes:

> 
> Philippe Ney wrote:
> > Have a look at the gumstix buildroot (www.gumstix.org) for a patch called
> > uClibc-gcc-41-raise-error.patch, I think this will do the trick.
> >   
> To save time, here's the exact location of this patch:
> http://svn.gumstix.com/gumstix-buildroot/trunk/
toolchain/uClibc/uClibc-gcc-41-raise-error.patch
> 
> Cheers,
> 
>     Michael.
> 

When/How does this patch (and other similar) get incorporated
into uClibC.org patches ?
Surely that is the most appropriate location ?

Regards,
MikeW

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

end of thread, other threads:[~2006-11-01 11:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-26  9:45 [Buildroot] Error building arm toolchain: undefined reference to `raise' Tor Krill
2006-10-26 19:26 ` Philippe Ney
2006-10-27  6:06   ` Tor Krill
2006-10-27  8:22   ` Michael Opdenacker
2006-11-01 11:53     ` MikeW
  -- strict thread matches above, loose matches on Subject: below --
2006-10-26 17:48 Michael Opdenacker

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