tcb-offsets.h.d: long path problems in glibc-2.3.2 ?

Wedde, Thomas thomas.wedde@hfwk.de
Mon Dec 12 16:15:00 GMT 2005


Hello again,

it seems that my first assumption was not completely correct,
because in the second try it is not a long path which causes the error.

The problem seems to be that the tcb-offsets.h.d file is not created
correctly so that it aborts after a (certain ?) number of signs...

Here is what tcb-offsets.h.d contains:

First try (build-dir crosstool/crosstool-0.38/):


\
 $(common-objpfx)tcb-offsets.h.d $(common-objpfx)tcb-offsets.h \
  -: $(..)include/libc-symbols.h \
  $(common-objpfx)config.h \
 $(..)sysdeps/unix/sysv/linux/i386/sysdep.h
$(..)sysdeps/unix/i386/sysdep.h \
 $(..)sysdeps/unix/sysdep.h $(..)sysdeps/generic/sysdep.h \
 $(..)sysdeps/unix/sysv/linux/sys/syscall.h \
 
/opt/crosstool/gcc-3.2.3-glibc-2.3.2/i386-unknown-linux-gnu/i386-unknown
-linux-gnu/include/asm/unistd.h \
 $(..)sysdeps/i386/sysdep.h $(..)sysdeps/generic/bp-sym.h \
 $(..)sysdeps/i386/bp-asm.h \
 $(..)linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h \
 $(..)include/tls.h $(..)linuxthreads/sysdeps/i386/tls.h \
 $(..)linuxthreads/sysdeps/i386/pt-machine.h \
 
/crosstool/crosstool-0.38/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2
.3.2/gcc-core-prefix/lib/gcc-lib/i386-unknown-linux-gnu/3.2.3/incl 

---> please look at the last line and compare it to the 

Second try (build-dir /b):

\
 $(common-objpfx)tcb-offsets.h.d $(common-objpfx)tcb-offsets.h \
  -: $(..)include/libc-symbols.h \
  $(common-objpfx)config.h \
 $(..)sysdeps/unix/sysv/linux/i386/sysdep.h
$(..)sysdeps/unix/i386/sysdep.h \
 $(..)sysdeps/unix/sysdep.h $(..)sysdeps/generic/sysdep.h \
 $(..)sysdeps/unix/sysv/linux/sys/syscall.h \
 
/opt/crosstool/gcc-3.2.3-glibc-2.3.2/i386-unknown-linux-gnu/i386-unknown
-linux-gnu/include/asm/unistd.h \
 $(..)sysdeps/i386/sysdep.h $(..)sysdeps/generic/bp-sym.h \
 $(..)sysdeps/i386/bp-asm.h \
 $(..)linuxthreads/sysdeps/unix/sysv/linux/i386/dl-sysdep.h \
 $(..)include/tls.h $(..)linuxthreads/sysdeps/i386/tls.h \
 $(..)linuxthreads/sysdeps/i386/pt-machine.h \
 
/b/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/gcc-core-prefix/li
b/gcc-lib/i386-unknown-linux-gnu/3.2.3/include/stddef.h \
 $(..)sysdeps/generic/stdint.h $(..)include/features.h \
 $(..)include/sys/cdefs.

So this causes an error in the compilation (of course):

mv -f
/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/build-glibc/s-prot
o.T /a/build/i386-unknown-linux-gnu/gcc-3.2.3-g
libc-2.3.2/build-glibc/s-proto.d
make[2]: Leaving directory
`/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/glibc-2.3.2/csu'
make[2]: Entering directory
`/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/glibc-2.3.2/csu'
make[2]: *** No rule to make target `../include/sys/cdefs.', needed by
`/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2
/build-glibc/tcb-offsets.h.d'.  Stop.
make[2]: Leaving directory
`/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory
`/a/build/i386-unknown-linux-gnu/gcc-3.2.3-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2


Do anyone know a reason why something like this can happen ? 
I tried several Re-runs the whole day but there is always the same
problem...




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



More information about the crossgcc mailing list