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: Trouble putting together a glibc-2.3.5 addon for ColdFire


Peter Barada wrote:
I'm trying to add ColdFire as an addon for glibc-2.3.5, and it builds
for quite a while, but fails in the elf directory. ... make[3]: *** No rule to make target `/home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool/build/m68k-linux/gcc-3.4.3-glibc-2.3.5/build-glibc/glibc-ports-2.3.5/stamp.os', needed by `/home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool/build/m68k-linux/gcc-3.4.3-glibc-2.3.5/build-glibc/libc_pic.a'. Stop.
make[3]: Leaving directory `/home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool/build/m68k-linux/gcc-3.4.3-glibc-2.3.5/glibc-2.3.5/elf'
make[2]: *** [elf/subdir_lib] Error 2 ...


When this fails, there is *no* glibc-ports-3.3.5 directory in
build-glibc.

I'm trying to figure out *how* to debg this, 'make -p' generates over
130MB of output, and is so full of noise that I can't see the trees
for the forest.

Is there a glibc-ports-3.3.5 directory anywhere in the source or build directories? cd /home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool find . -name glibc-ports-3.3.5

Does that string occur anywhere in any file in those directories?
  find . -type f | xargs grep glibc-ports-3.3.5

If that doesn't help, try figuring out the smallest shell
script to reproduce the error, e.g.
  export PATH=...
  cd /home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool/build/m68k-linux/gcc-3.4.3-glibc-2.3.5/build-glibc
  make lib
If that reproduces it, then try to figure out a smaller target
that also reproduces it, e.g.
  export PATH=...
  cd /home/peter/work/cvs-logic/logic/ColdFire/LinuxTools/crosstool/build/m68k-linux/gcc-3.4.3-glibc-2.3.5/build-glibc
  make libc_pic.a
If that also reproduces it, then maybe you have a chance of
interpreting make's verbose output then.

And then there's always understanding the Makefile structure better -
which is a bit of an adventure with glibc.  It uses
lots of features of gnu make I'd never seen used before.
- 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]