Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0005714]: bug with jamvm + concierge + classpath
Date: Tue, 28 Oct 2008 02:05:16 -0700	[thread overview]
Message-ID: <eb903f89fdfdeb261479c94b15ed7871@bugs.uclibc.org> (raw)


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=5714 
====================================================================== 
Reported By:                sylvain
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   5714
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-24-2008 05:46 PDT
Last Modified:              10-28-2008 02:05 PDT
====================================================================== 
Summary:                    bug with jamvm + concierge + classpath
Description: 
I work on arm9.

I try with the tarball of 22/09/2008 

When I compil busyboc + classpath + jamvm + concierge I get something like
:

libtool: link:
/home/sylvain/FSEmbarque/maChaineDeCompil/usr/bin/arm-linux-uclibc-gcc -Os
-I/home/sylvain/FSEmbarque/maChaineDeCompil/usr/include
-I/home/sylvain/FSEmbarque/maChaineDeCompil/include
--sysroot=/home/sylvain/FSEmbarque/maChaineDeCompil/ -isysroot
/home/sylvain/FSEmbarque/maChaineDeCompil -msoft-float -g -O2 -Wall -W -o
mkg3states mkg3states.o  -L/home/sylvain/FSEmbarque/maChaineDeCompil/lib
../port/.libs/libport.a /usr/lib/libjpeg.so -lz -lm -lc
/usr/lib/libjpeg.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [mkg3states] Erreur 1
make[3]: *** Attente des t?ches non termin?es....
libtool: link:
/home/sylvain/FSEmbarque/maChaineDeCompil/usr/bin/arm-linux-uclibc-gcc -Os
 -I/home/sylvain/FSEmbarque/maChaineDeCompil/usr/include
-I/home/sylvain/FSEmbarque/maChaineDeCompil/include
--sysroot=/home/sylvain/FSEmbarque/maChaineDeCompil/ -isysroot
/home/sylvain/FSEmbarque/maChaineDeCompil -msoft-float -shared 
.libs/tif_aux.o .libs/tif_close.o .libs/tif_codec.o .libs/tif_color.o
.libs/tif_compress.o .libs/tif_dir.o .libs/tif_dirinfo.o
.libs/tif_dirread.o .libs/tif_dirwrite.o .libs/tif_dumpmode.o
.libs/tif_error.o .libs/tif_extension.o .libs/tif_fax3.o
.libs/tif_fax3sm.o .libs/tif_flush.o .libs/tif_getimage.o .libs/tif_jpeg.o
.libs/tif_luv.o .libs/tif_lzw.o .libs/tif_next.o .libs/tif_ojpeg.o
.libs/tif_open.o .libs/tif_packbits.o .libs/tif_pixarlog.o
.libs/tif_predict.o .libs/tif_print.o .libs/tif_read.o .libs/tif_strip.o
.libs/tif_swab.o .libs/tif_thunder.o .libs/tif_tile.o .libs/tif_unix.o
.libs/tif_version.o .libs/tif_warning.o .libs/tif_write.o .libs/tif_zip.o 
-Wl,--whole-archive ../port/.libs/libport.a -Wl,--no-whole-archive 
-L/home/sylvain/FSEmbarque/maChaineDeCompil/lib /usr/lib/libjpeg.so -lz
-lm -lc  -isysroot /home/sylvain/FSEmbarque/maChaineDeCompil -msoft-float 
   -Wl,-soname -Wl,libtiff.so.3 -o .libs/libtiff.so.3.8.2
/usr/lib/libjpeg.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libtiff.la] Erreur 1
make[3]: quittant le r?pertoire ?
/home/sylvain/FSEmbarque/buildroot-20081024/build_arm/tiff-3.8.2/libtiff
?
make[2]: *** [all] Erreur 2
make[2]: quittant le r?pertoire ?
/home/sylvain/FSEmbarque/buildroot-20081024/build_arm/tiff-3.8.2/libtiff
?
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le r?pertoire ?
/home/sylvain/FSEmbarque/buildroot-20081024/build_arm/tiff-3.8.2 ?

====================================================================== 

---------------------------------------------------------------------- 
 tpetazzoni - 10-24-08 06:55  
---------------------------------------------------------------------- 
The problem at the beginning is that it tries to link with the host libjpeg
instead of the target libjpeg. Not sure why, though, and I don't really get
why setting TARGET_DIR would solve the problem. 

---------------------------------------------------------------------- 
 Correa - 10-24-08 10:35  
---------------------------------------------------------------------- 
It did build ok for me using avr32 as target.

I'm using latest svn (r23778 at the moment).
Try updating. There were changes in the Makefile.autotools.in that might
affect your build. 

---------------------------------------------------------------------- 
 sylvain - 10-28-08 02:05  
---------------------------------------------------------------------- 
Thanks for the help.

tpetazzoni you are right to modify the TARGET_DIR do not resolve the
problem permanently, I was just lucky and I don t know why..

(Correa) I tried to update my release, unfortunatly I have the same
bug...
I should have a a difference with your linux settings... That's stuff are
not really easy to solve...






I did other investigations to understand the problem.
In fact, when I compile classpath, it compiles its dependences : libjpeg,
libtiff, etc....

And inside tiff's makefile LIBTOOL try to resolve the dynamics shared
libraries and it resolve -ljpeg by /usr/lib/libjpeg.so instead of
<mycrosscompilToolchain>/usr/bin/libjpeg.so ...

I try to understand libtool and resolve the problem but the libtool script
are more or less a nightmare to understand.


If you have some idea you are really welcome :-)) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-24-08 05:46  sylvain        New Issue                                    
10-24-08 05:46  sylvain        Status                   new => assigned     
10-24-08 05:46  sylvain        Assigned To               => buildroot       
10-24-08 05:49  sylvain        Issue Monitored: sylvain                     
10-24-08 05:50  sylvain        Issue End Monitor: sylvain                    
10-24-08 06:55  tpetazzoni     Note Added: 0014104                          
10-24-08 10:35  Correa         Note Added: 0014114                          
10-28-08 02:05  sylvain        Note Added: 0014414                          
======================================================================

             reply	other threads:[~2008-10-28  9:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28  9:05 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-29 14:11 [Buildroot] [buildroot 0005714]: bug with jamvm + concierge + classpath bugs at busybox.net
2008-10-29 11:09 bugs at busybox.net
2008-10-29  9:00 bugs at busybox.net
2008-10-29  7:26 bugs at busybox.net
2008-10-29  7:22 bugs at busybox.net
2008-10-28 23:03 bugs at busybox.net
2008-10-28 15:53 bugs at busybox.net
2008-10-28 10:38 bugs at busybox.net
2008-10-28 10:28 bugs at busybox.net
2008-10-28  9:35 bugs at busybox.net
2008-10-24 17:35 bugs at busybox.net
2008-10-24 13:55 bugs at busybox.net
2008-10-24 12:46 bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb903f89fdfdeb261479c94b15ed7871@bugs.uclibc.org \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox