This is the mail archive of the
cygwin
mailing list for the Cygwin project.
BUG: Ability to access nonexistent directories
- From: Fedin Pavel <p dot fedin at samsung dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 17 May 2013 10:05:29 +0400
- Subject: BUG: Ability to access nonexistent directories
Hello! I have found a bug in Cygwin. It exists at least for several months.
I have updated today but it is still there.
The bug is simple to trigger and verify. Make a directory like:
mkdir /tmp/test
Then go to /tmp and execute:
ls -l /tmp/nonexist/../test
The command succeeds despite this path is actually nonexistent. At least
under Linux the same attempt causes "No such file or directory" error.
I have first triggered the bug by attempting to cross-compile eglibc v2.17
for ARM target. The following happens:
--- cut ---
/opt/vd/arm-v7a15v4r1/bin/arm-v7a15v4r1-linux-gnueabi-gcc
pthread_spin_unlock.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline
-Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes
-fPIC -I../include
-I/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl
-I/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final
-I../ports/sysdeps/unix/sysv/linux/arm/nptl
-I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/nptl
-I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic
-I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
/opt/vd/arm-v7a15v4r1/lib/gcc/arm-v7a15v4r1-linux-gnueabi/4.7.3/include
-isystem
/opt/vd/arm-v7a15v4r1/lib/gcc/arm-v7a15v4r1-linux-gnueabi/4.7.3/include-fixe
d -isystem
/opt/vd/arm-v7a15v4r1/arm-v7a15v4r1-linux-gnueabi/sys-root/./usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_libpthread=1 -DIN_LIB=libpthread -o
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_spin_unlock.
os -MD -MP -MF
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_spin_unlock.
os.dt -MT
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_spin_unlock.
os
In file included from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23:0,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23,
from ../ports/sysdeps/arm/nptl/pthread_spin_lock.c:23:
../ports/sysdeps/arm/sysdeps/../nptl/pthread_spin_lock.c:23:47: error:
#include nested too deeply
/opt/vd/arm-v7a15v4r1/bin/arm-v7a15v4r1-linux-gnueabi-gcc
pthread_barrier_init.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline
-Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes
-fPIC -I../include
-I/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl
-I/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final
-I../ports/sysdeps/unix/sysv/linux/arm/nptl
-I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/nptl
-I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic
-I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
/opt/vd/arm-v7a15v4r1/lib/gcc/arm-v7a15v4r1-linux-gnueabi/4.7.3/include
-isystem
/opt/vd/arm-v7a15v4r1/lib/gcc/arm-v7a15v4r1-linux-gnueabi/4.7.3/include-fixe
d -isystem
/opt/vd/arm-v7a15v4r1/arm-v7a15v4r1-linux-gnueabi/sys-root/./usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_libpthread=1 -DIN_LIB=libpthread -o
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_barrier_init
.os -MD -MP -MF
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_barrier_init
.os.dt -MT
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_barrier_init
.os
/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/sysd-rules:2099: recipe
for target
`/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_spin_lock.o
s' failed
make[2]: ***
[/usr/src/vd/build.arm.cortex-a15/obj/glibc_0_final/nptl/pthread_spin_lock.o
s] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/usr/src/vd/build.arm.cortex-a15/sources/glibc/libc/nptl'
--- cut ---
The actual #include directive is:
--- cut ---
/* We can't use the normal "#include <nptl/pthread_spin_lock.c>" because
it will resolve to this very file. Using "sysdeps/.." as reference to
the
top level directory does the job. */
#include <sysdeps/../nptl/pthread_spin_lock.c>
--- cut ---
It is supposed to catch a directory one level up because there's no
'sysdeps' in 'ports/sysdeps/arm', however ports/sysdeps/arm/nptl is a
perfectly valid path.
Kind regards.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple