This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj failure with powerpc-860 & gcc-4.0.0


Tim Hayman wrote:
Using crosstool 0.34, I've been trying to build gcc 4.0.0 cross-compiler
for powerpc-860 without success.  Previously, I have built gcc 3.4.2
successfully so I think I've got everything setup correctly for running
crosstool.  However, for gcc 4.0.0, crosstool stops with:

In file included from ./include/java-signal.h:17,
                 from /home/tbhayman/xtool/crosstool-0.34
/build/powerpc-860-linux-gnu/gcc-4.0.0-glibc-2.3.5/gcc-4.0.0
/libjava/prims.cc:26:
/home/tbhayman/xtool/opt/crosstool/gcc-4.0.0-glibc-2.3.5
/powerpc-860-linux-gnu/powerpc-860-linux-gnu/include/sys/syscall.h:32:27:
error: bits/syscall.h: No such file or directory

And, sure enough, that file (bits/syscall.h) does not exist.  Looking back
through the build log I can see the prerequisite
(build-glibc-headers/misc/syscall-list.h) does exist but it doesn't get
copied/installed to the install directory.

That sounds familiar. I can't remember any details, but I think I got happier once I tried sanitized headers. Can you give that a shot? Just use gcc-4.0.0-glibc-2.3.5-hdrs-2.6.11.2.dat

GCC_LANGUAGES="c,c++,java"

Has anybody successfully built gcj for this combination? Anybody have a
hint what's going wrong?  Thanks,

I haven't done the build matrix with java support, ever, but with gcc-4.0 out, it's probably time to start. - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]