All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Smith <jesmith@kaon.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Trying and Failing to enable Java with GCC 4.3.3
Date: Thu, 4 Mar 2010 09:41:16 -0500	[thread overview]
Message-ID: <0209FF33-B31E-4779-B339-F0D678A6A075@kaon.com> (raw)
In-Reply-To: <19c1b8a91003032123t4e402cb0u8db75a6862dca799@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]

Oh, sorry about that.  I've attached the do_configure log for gcc_cross.  Doesn't look too helpful to me, but what do I know?  If you meant some other configure log, let me know!

In case it helps: before trying to build gcj inside OE, I was trying to build a native GCC compiler on the target machine (TouchBook, based on the Beagleboard), and I got this same error when I tried configuring with --disable-shared (with --enabled-shared I had other problems).

Thanks.

-Joshua

On Mar 4, 2010, at 12:23 AM, Khem Raj wrote:

> On Wed, Mar 3, 2010 at 9:19 AM, Joshua Smith <jesmith@kaon.com> wrote:
>> Update: I dug around in the log files and I think I have a more root cause of this error.
>> 
>> configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
>> 
>> I've attached the whole log of the failing build.
>> 
>> Any hints?
>> 
>> On Mar 3, 2010, at 11:20 AM, Joshua Smith wrote:
>> 
>>> Hello,
>>> 
>>> I'm new to OE.  I'm trying to get GCJ compiled for the TouchBook (an ARM-based tablet).  After some searching and trial-and-error, I figured out that I need to add:
>>> 
>>> JAVA_arm = ",java" to recipies/gcc-4.3.3.inc
>>> 
>>> But now I'm getting an error when it tries to build gcc-cross-4.3.3:
>>> 
>>> make[4]: Entering directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/64/zlib'
>>> make[4]: *** No rule to make target `all'.  Stop.
>>> make[4]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/64/zlib'
>>> make[3]: *** [multi-do] Error 1
>>> make[3]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/zlib'
>>> make[2]: *** [all-multi] Error 2
>>> make[2]: Leaving directory `/OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/build.i686-linux.arm-angstrom-linux-gnueabi/zlib'
>>> make[1]: *** [all-zlib] Error 2
>>> 
>>> (I can give you more of the log if it would help, but this is the first error)
>>> 
>>> I can see why adding Java would cause GCC to need zlib when maybe it didn't before.  But I don't know what to change to get zlib configured as part of the gcc build process.
> 
> for configure errors its better to post config.log which is generated
> in the build tree. Thats where we can find the cause of error.
> do_compile log wont help.
> 
> 
>>> 
>>> Help?
>>> 
>>> -Joshua Smith
>>> 
>> 
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>> 
>> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




[-- Attachment #2: log.do_configure.17055 --]
[-- Type: application/octet-stream, Size: 8724 bytes --]

NOTE: Running /OE/build/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-cross-4.3.3-r7.1/gcc-4.3.3/configure 		    --build=i686-linux 		    --host=i686-linux 		    --target=arm-angstrom-linux-gnueabi 		    --prefix=/OE/build/tmp/cross/armv7a 		    --exec_prefix=/OE/build/tmp/cross/armv7a 		    --bindir=/OE/build/tmp/cross/armv7a/bin 		    --sbindir=/OE/build/tmp/cross/armv7a/bin 		    --libexecdir=/OE/build/tmp/cross/armv7a/libexec 		    --datadir=/OE/build/tmp/cross/armv7a/share 		    --sysconfdir=/OE/build/tmp/cross/armv7a/etc 		    --sharedstatedir=/OE/build/tmp/cross/armv7a/com 		    --localstatedir=/OE/build/tmp/cross/armv7a/var 		    --libdir=/OE/build/tmp/cross/armv7a/lib 		    --includedir=/OE/build/tmp/cross/armv7a/include 		    --oldincludedir=/OE/build/tmp/cross/armv7a/include 		    --infodir=/OE/build/tmp/cross/armv7a/share/info 		    --mandir=/OE/build/tmp/cross/armv7a/share/man 			                 --with-gnu-ld                 --enable-shared                 --enable-target-optspace                 --enable-languages=c,c++,objc,fortran,java                 --enable-threads=posix                 --enable-multilib                 --enable-c99                 --enable-long-long                 --enable-symvers=gnu                 --enable-libstdcxx-pch                 --program-prefix=arm-angstrom-linux-gnueabi-                   --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap                                  --with-local-prefix=/OE/build/tmp/staging/armv7a-angstrom-linux-gnueabi/usr 		      --with-gxx-include-dir=/OE/build/tmp/staging/armv7a-angstrom-linux-gnueabi//usr/include/c++                       --with-sysroot=/OE/build/tmp/staging/armv7a-angstrom-linux-gnueabi                       --with-build-sysroot=/OE/build/tmp/staging/armv7a-angstrom-linux-gnueabi   --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=/OE/build/tmp/staging/i686-linux/usr --enable-__cxa_atexit 		    ...
configure: loading site script /OE/ai.openembedded.dev/site/endian-little
configure: loading site script /OE/ai.openembedded.dev/site/common-linux
configure: loading site script /OE/ai.openembedded.dev/site/common-glibc
configure: loading site script /OE/ai.openembedded.dev/site/ix86-common
configure: loading site script /OE/ai.openembedded.dev/site/common
configure: loading site script /OE/ai.openembedded.dev/site/common
configure: loading site script /OE/ai.openembedded.dev/site/endian-little
configure: loading site script /OE/ai.openembedded.dev/site/common-linux
configure: loading site script /OE/ai.openembedded.dev/site/common-glibc
configure: loading site script /OE/ai.openembedded.dev/site/ix86-common
configure: loading site script /OE/ai.openembedded.dev/site/common
configure: loading site script /OE/ai.openembedded.dev/site/common
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... arm-angstrom-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for i686-linux-gcc... gcc 
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc  accepts -g... yes
checking for gcc  option to accept ANSI C... none needed
checking for i686-linux-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for i686-linux-gnatbind... no
checking for gnatbind... no
checking for i686-linux-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
The following languages will be built: c,c++,fortran,java,objc
*** This configuration is not supported in the following subdirectories:
     target-libobjc target-libada gnattools target-libgomp target-libmudflap
    (Any other directories should still work fine.)
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... (cached) ar
checking for i686-linux-ar... (cached) ar
checking for as... (cached) as
checking for i686-linux-as... (cached) as
checking for i686-linux-dlltool... no
checking for dlltool... no
checking for ld... (cached) ld
checking for i686-linux-ld... (cached) ld
checking for i686-linux-lipo... no
checking for lipo... no
checking for nm... (cached) nm
checking for i686-linux-nm... (cached) nm
checking for ranlib... (cached) ranlib
checking for i686-linux-ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for i686-linux-strip... (cached) strip
checking for i686-linux-windres... no
checking for windres... no
checking for i686-linux-windmc... no
checking for windmc... no
checking for objcopy... (cached) objcopy
checking for i686-linux-objcopy... (cached) objcopy
checking for objdump... (cached) objdump
checking for i686-linux-objdump... (cached) objdump
checking for cc... (cached)  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
checking for gcc... (cached)  arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
checking for arm-angstrom-linux-gnueabi-c++... no
checking for arm-angstrom-linux-gnueabi-g++... no
checking for arm-angstrom-linux-gnueabi-cxx... no
checking for arm-angstrom-linux-gnueabi-gxx... no
checking for arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc
checking for arm-angstrom-linux-gnueabi-gcj... no
checking for arm-angstrom-linux-gnueabi-gfortran... no
checking for ar... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/ar
checking for as... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/as
checking for dlltool... no
checking for arm-angstrom-linux-gnueabi-dlltool... no
checking for ld... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/ld
checking for lipo... no
checking for arm-angstrom-linux-gnueabi-lipo... no
checking for nm... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/nm
checking for objdump... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/objdump
checking for ranlib... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/ranlib
checking for strip... /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin/strip
checking for windres... no
checking for arm-angstrom-linux-gnueabi-windres... no
checking for windmc... no
checking for arm-angstrom-linux-gnueabi-windmc... no
checking where to find the target ar... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target as... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target ld... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target objdump... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target ranlib... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target strip... pre-installed in /OE/build/tmp/cross/armv7a/arm-angstrom-linux-gnueabi/bin
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile

  reply	other threads:[~2010-03-04 14:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 16:20 Trying and Failing to enable Java with GCC 4.3.3 Joshua Smith
2010-03-03 17:19 ` Joshua Smith
2010-03-04  5:23   ` Khem Raj
2010-03-04 14:41     ` Joshua Smith [this message]
2010-03-05  2:39       ` Khem Raj
2010-03-05  3:27         ` Joshua Smith

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=0209FF33-B31E-4779-B339-F0D678A6A075@kaon.com \
    --to=jesmith@kaon.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.