Mail Archives: cygwin/2011/12/11/09:58:55
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
|
X-Spam-Check-By: | sourceware.org
|
MIME-Version: | 1.0
|
In-Reply-To: | <CABxpwDnMk=6XkAp+XD4bjr2W9VV09kNDVO+7eipV=zDcgG9qUg@mail.gmail.com>
|
References: | <CABxpwDnMk=6XkAp+XD4bjr2W9VV09kNDVO+7eipV=zDcgG9qUg AT mail DOT gmail DOT com>
|
Date: | Sun, 11 Dec 2011 15:58:20 +0100
|
Message-ID: | <CABxpwDk_bPL1vHudHDWTejxz8Jr8JW+F=go7C7Hh3utxU4Yt0g@mail.gmail.com>
|
Subject: | Re: Failure to bootstrap current gcc trunk on cygwin (20111207 snapshot): conflicting declarations in cygwin's /usr/include/sys/wait.h
|
From: | Christian Joensson <christian DOT joensson AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com, GCC Development <gcc AT gcc DOT gnu DOT org>
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id pBBEwqYh005629
|
On 7 December 2011 20:14, Christian Joensson wrote:
> I am trying to build gcc trunk on cygwin (with the snapshot of
> 20111207) and get this:
>
> /usr/local/src/trunk/objdir.withada/./prev-gcc/g++
> -B/usr/local/src/trunk/objdir.withada/./prev-gcc/
> -B/usr/i686-pc-cygwin/bin/ -nostdinc++
> -B/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
> -B/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
> -I/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
> -I/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/include
> -I/usr/local/src/trunk/gcc/libstdc++-v3/libsupc++
> -L/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/src/.libs
> -L/usr/local/src/trunk/objdir.withada/prev-i686-pc-cygwin/libstdc++-v3/libsupc++/.libs
> -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -W -Wall
> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
> -fno-common -Wno-error -DHAVE_CONFIG_H -I. -Iada
> -I/usr/local/src/trunk/gcc/gcc -I/usr/local/src/trunk/gcc/gcc/ada
> -I/usr/local/src/trunk/gcc/gcc/../include
> -I/usr/local/src/trunk/gcc/gcc/../libcpp/include -I/usr/include
> -I/usr/include -I/usr/local/src/trunk/gcc/gcc/../libdecnumber
> -I/usr/local/src/trunk/gcc/gcc/../libdecnumber/bid -I../libdecnumber
> /usr/local/src/trunk/gcc/gcc/ada/adaint.c -o ada/adaint.o
> In file included from /usr/local/src/trunk/gcc/gcc/system.h:346:0,
> from /usr/local/src/trunk/gcc/gcc/ada/adaint.c:107:
> /usr/include/sys/wait.h: In function 'int __wait_status_to_int(const wait&)':
> /usr/include/sys/wait.h:77:61: error: declaration of C function 'int
> __wait_status_to_int(const wait&)' conflicts with
> /usr/include/sys/wait.h:75:12: error: previous declaration 'int
> __wait_status_to_int(int)' here
> /usr/include/sys/wait.h: In function 'pid_t wait(wait*)':
> /usr/include/sys/wait.h:81:40: error: declaration of C function 'pid_t
> wait(wait*)' conflicts with
> /usr/include/sys/wait.h:37:7: error: previous declaration 'pid_t
> wait(__wait_status_ptr_t)' here
> /usr/include/sys/wait.h: In function 'pid_t waitpid(pid_t, wait*, int)':
> /usr/include/sys/wait.h:83:71: error: declaration of C function 'pid_t
> waitpid(pid_t, wait*, int)' conflicts with
> /usr/include/sys/wait.h:38:7: error: previous declaration 'pid_t
> waitpid(pid_t, __wait_status_ptr_t, int)' here
> /usr/include/sys/wait.h: In function 'pid_t wait3(wait*, int, rusage*)':
> /usr/include/sys/wait.h:85:81: error: declaration of C function 'pid_t
> wait3(wait*, int, rusage*)' conflicts with
> /usr/include/sys/wait.h:39:7: error: previous declaration 'pid_t
> wait3(__wait_status_ptr_t, int, rusage*)' here
> /usr/include/sys/wait.h: In function 'pid_t wait4(pid_t, wait*, int, rusage*)':
> /usr/include/sys/wait.h:87:94: error: declaration of C function 'pid_t
> wait4(pid_t, wait*, int, rusage*)' conflicts with
> /usr/include/sys/wait.h:40:7: error: previous declaration 'pid_t
> wait4(pid_t, __wait_status_ptr_t, int, rusage*)' here
this seems to me to be fixed, as of cygwin snapshot 20111209 I no
longer get this specific error.
--
Cheers,
/ChJ
--
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 -