Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
@ 2007-10-23 17:19 Thiago A. Corrêa
  2007-10-23 19:54 ` Ivan Kuten
  0 siblings, 1 reply; 6+ messages in thread
From: Thiago A. Corrêa @ 2007-10-23 17:19 UTC (permalink / raw)
  To: buildroot

Hi,

   Does anyone knows how to fix this? I get this from libjpeg with
avr32. I found some threads on uClibc mailling list, related to arm,
but I don't know what the solution (if any) was. Does arm build it
correctly?

Regards,
    Thiago A. Correa

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

* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
  2007-10-23 19:54 ` Ivan Kuten
@ 2007-10-23 18:54   ` Thiago A. Corrêa
  2007-10-23 19:46     ` Ulf Samuelsson
  2007-10-23 20:17     ` Ivan Kuten
  0 siblings, 2 replies; 6+ messages in thread
From: Thiago A. Corrêa @ 2007-10-23 18:54 UTC (permalink / raw)
  To: buildroot

Hmmm well, I noticed that on my custom package at the linking stage it
was for some reason using the avr32 compiler instaled on my system
(4.0.99), so I removed that and I'm rebuilding to see what gives....
hopefully that's the problem :)

Strangely, I know I'm not the only one who have noticed that issue...
some others have mentioned that at the avrfreaks.com forums.

*crosses fingers and waits*

Regards,
    Thiago A. Correa

On 10/23/07, Ivan Kuten <ivan.kuten@promwad.com> wrote:
> Thiago A. Corr?a wrote:
> > Hi,
> >
> >    Does anyone knows how to fix this? I get this from libjpeg with
> > avr32. I found some threads on uClibc mailling list, related to arm,
> > but I don't know what the solution (if any) was. Does arm build it
> > correctly?
> >
> > Regards,
> >     Thiago A. Correa
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
>
> ./libtool --mode=link /opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe  -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include
> --sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -msoft-float  -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo rdbmp.lo rdswitch.lo
> cdjpeg.lo libjpeg.la
> /opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include
> --sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -msoft-float -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o
> cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so
>
>
> On ARM everything is fine with jpeg.
>
> BR,
> Ivan
> --------------------------------
> Embedded Linux engineer,
> Promwad Company: http://www.promwad.com/
> Homepage : http://www.ivankuten.com/
> --------------------------------
>

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

* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
  2007-10-23 18:54   ` Thiago A. Corrêa
@ 2007-10-23 19:46     ` Ulf Samuelsson
  2007-10-23 20:07       ` Thiago A. Corrêa
  2007-10-23 20:17     ` Ivan Kuten
  1 sibling, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2007-10-23 19:46 UTC (permalink / raw)
  To: buildroot

> Hmmm well, I noticed that on my custom package at the linking stage it
> was for some reason using the avr32 compiler instaled on my system
> (4.0.99), so I removed that and I'm rebuilding to see what gives....
> hopefully that's the problem :)

> Strangely, I know I'm not the only one who have noticed that issue...
> some others have mentioned that at the avrfreaks.com forums.

It is not unlikely that they have the same problem then.
If you indeed verify this, then pls inform them at the AVRfreaks forum.

Best Regards
Ulf Samuelsson

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

* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
  2007-10-23 17:19 [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array Thiago A. Corrêa
@ 2007-10-23 19:54 ` Ivan Kuten
  2007-10-23 18:54   ` Thiago A. Corrêa
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kuten @ 2007-10-23 19:54 UTC (permalink / raw)
  To: buildroot

Thiago A. Corr?a wrote:
> Hi,
> 
>    Does anyone knows how to fix this? I get this from libjpeg with
> avr32. I found some threads on uClibc mailling list, related to arm,
> but I don't know what the solution (if any) was. Does arm build it
> correctly?
> 
> Regards,
>     Thiago A. Correa
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

./libtool --mode=link /opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe  -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include
--sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -msoft-float  -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo rdbmp.lo rdswitch.lo
cdjpeg.lo libjpeg.la
/opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include
--sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -msoft-float -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o
cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so


On ARM everything is fine with jpeg.

BR,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
  2007-10-23 19:46     ` Ulf Samuelsson
@ 2007-10-23 20:07       ` Thiago A. Corrêa
  0 siblings, 0 replies; 6+ messages in thread
From: Thiago A. Corrêa @ 2007-10-23 20:07 UTC (permalink / raw)
  To: buildroot

Nope, it wasn't that I had another toochain installed... I'm still
getting that link error after removing the toolchain. Even using the
atngw100-defconfig :(

./libtool --mode=link
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc
-Os -pipe  -I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/include
-I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/include
-msoft-float  -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo
rdbmp.lo rdswitch.lo cdjpeg.lo libjpeg.la
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc
-Os -pipe -I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/usr/include
-I/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/include
-msoft-float -o .libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o
rdbmp.o rdswitch.o cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/lib/libc.so.0:
undefined reference to `_dl_app_init_array'
/root/novacomm/buildroot/buildroot-original/build_avr32/staging_dir/lib/libc.so.0:
undefined reference to `_dl_app_fini_array'
collect2: ld returned 1 exit status
make[1]: *** [cjpeg] Error 1
make[1]: Leaving directory
`/root/novacomm/buildroot/buildroot-original/build_avr32/jpeg-6b'
make: *** [/root/novacomm/buildroot/buildroot-original/build_avr32/jpeg-6b/.libs/libjpeg.a]
Error 2


On 10/23/07, Ulf Samuelsson <ulf@atmel.com> wrote:
> > Hmmm well, I noticed that on my custom package at the linking stage it
> > was for some reason using the avr32 compiler instaled on my system
> > (4.0.99), so I removed that and I'm rebuilding to see what gives....
> > hopefully that's the problem :)
>
> > Strangely, I know I'm not the only one who have noticed that issue...
> > some others have mentioned that at the avrfreaks.com forums.
>
> It is not unlikely that they have the same problem then.
> If you indeed verify this, then pls inform them at the AVRfreaks forum.
>
> Best Regards
> Ulf Samuelsson
>
>

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

* [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array
  2007-10-23 18:54   ` Thiago A. Corrêa
  2007-10-23 19:46     ` Ulf Samuelsson
@ 2007-10-23 20:17     ` Ivan Kuten
  1 sibling, 0 replies; 6+ messages in thread
From: Ivan Kuten @ 2007-10-23 20:17 UTC (permalink / raw)
  To: buildroot

libjpeg is OK for avr32 too:

./libtool --mode=link /opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -Os -pipe  -I/opt/buildroot/build_avr32/staging_dir/usr/include
-I/opt/buildroot/build_avr32/staging_dir/include -msoft-float  -o cjpeg cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo rdbmp.lo rdswitch.lo cdjpeg.lo libjpeg.la
/opt/buildroot/build_avr32/staging_dir/usr/bin/avr32-linux-uclibc-gcc -Os -pipe -I/opt/buildroot/build_avr32/staging_dir/usr/include -I/opt/buildroot/build_avr32/staging_dir/include -msoft-float -o
.libs/cjpeg cjpeg.o rdppm.o rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o -Wl,--rpath -Wl,/lib .libs/libjpeg.so


Thiago A. Corr?a wrote:
> Hmmm well, I noticed that on my custom package at the linking stage it
> was for some reason using the avr32 compiler instaled on my system
> (4.0.99), so I removed that and I'm rebuilding to see what gives....
> hopefully that's the problem :)
> 
> Strangely, I know I'm not the only one who have noticed that issue...
> some others have mentioned that at the avrfreaks.com forums.
> 
> *crosses fingers and waits*
> 
> Regards,
>     Thiago A. Correa
> 

Best regards,
Ivan
-- 

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

end of thread, other threads:[~2007-10-23 20:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 17:19 [Buildroot] undefined _dl_app_init_array and _dl_app_fini_array Thiago A. Corrêa
2007-10-23 19:54 ` Ivan Kuten
2007-10-23 18:54   ` Thiago A. Corrêa
2007-10-23 19:46     ` Ulf Samuelsson
2007-10-23 20:07       ` Thiago A. Corrêa
2007-10-23 20:17     ` Ivan Kuten

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