Mail Archives: cygwin/2013/05/17/02:06:01
X-Recipient: | archive-cygwin AT delorie DOT com
|
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:from:to:subject:date:message-id:mime-version
|
| :content-type:content-transfer-encoding; q=dns; s=default; b=emr
|
| 42KwNyg+mj/5t0uf9J955/4lqbzm8K2bL2ZVe1vVQfsiIrnPkZ30t7n4Qh976f0w
|
| FVii/9LoJSt/1e1I+pC6HjzbdEQlvAW2SJ/KEU+FwzjzATqjaHOR88HBXSM8x4T7
|
| 73Ru3nKy5KqPR81WhtfMeDlaKM16n0b5eKuHqFxA=
|
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:from:to:subject:date:message-id:mime-version
|
| :content-type:content-transfer-encoding; s=default; bh=5P6THJHEb
|
| aX1ZkQl0tqfbwXPw2I=; b=ZgPz+mcYGtw0sDx+O4xJ5ixlNdFFCbb31IApSKzcV
|
| 5Yk9UN32qnkdBJn/a/AOVtgzw8QYUwK2CpDJaiaCTBU3N8tpQ2uvHbxWTaljVdhi
|
| bb0kubW3kDy/dynTaJ8OXIUwz4gTvCQuAf1GUyAER+ckKTIjcLBxS4173sqSXeSZ
|
| s8=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
X-Spam-SWARE-Status: | No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS,T_MANY_HDRS_LCASE autolearn=ham version=3.3.1
|
From: | Fedin Pavel <p DOT fedin AT samsung DOT com>
|
To: | cygwin AT cygwin DOT com
|
Subject: | BUG: Ability to access nonexistent directories
|
Date: | Fri, 17 May 2013 10:05:29 +0400
|
Message-id: | <000201ce52c4$891b04c0$9b510e40$%fedin@samsung.com>
|
MIME-version: | 1.0
|
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
- Raw text -