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: master error list for crossgcc enthusiasts


Roman Duka wrote:
Hi all, if it's viable, i'd like to propose to create a master error list and then get everyone to contribute to it. The idea is to catalog error message during compilation of software, toolchain description and possible solutions. Quite often people get similar error message when they try building cross gcc and libc libraires etc, once there is a master error list, people could search that, and see if the same error message have been catalogued and which solutions have been suggested

For what it's worth, simply posting the error message and the solution to this mailing list will more or less do it; people can then search for the error message via google or whatever, and they'll see your post.

But even more useful would be if you would contribute a patch to fix
the problem in crosstool.

for example:

This is a list of error messages during different cross compilation stages
You can search for any error message you got, in case they have been
documented here and provide solutions to solve the problem

----------------------------
Problem:
x86-cross-sparc64 toolchain, binutils-2.14, gcc-3.4-20040121, glibc-2.3.3-20040127
cross compiling glibc fails


Solution:
When running "configure" script for glibc, set CC="sparc-64-unknown-linux-gnu -mcpu=ultrasparc3"

Wouldn't it be cleaner to just have a sparc64.dat that contained


TARGET=sparc64-unknown-linux-gnu
TARGET_CFLAGS="-O -mcpu=ultrasparc3"
GCC_EXTRA_CONFIG="--disable-multilib"

?

BTW, I did try building for sparc64 once, but got the error

../sysdeps/unix/sysv/linux/sparc/sparc64/pause.c:1:39: sysdeps/unix/common/pause.c: No such file or directory
make[2]: *** [/home/dank/crosstool-0.27-pre1/build/sparc64-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/posix/pause.o] Error 1

and haven't tried diagnosing it yet.  Sounds like you're further along than me;
where'd you get that version of glibc?  Is it an official
snapshot, or did you grab it from cvs yourself?

- Dan

------
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]