c++/4479: can't build under cygwin

david.abrahams@rcn.com david.abrahams@rcn.com
Fri Oct 5 06:46:00 GMT 2001


>Number:         4479
>Category:       c++
>Synopsis:       can't build under cygwin
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 06:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Abrahams
>Release:        gcc_3_0_1_release
>Organization:
>Environment:
latest cygwin release as of 5 Oct 2001
>Description:
libiberty fails to build:

make[1]: Entering directory `/cygdrive/e/gcc-src/build2/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include  -W -Wall -Wtraditional -pedant
ic  ../../gcc/libiberty/strerror.c -o pic/strerror.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic
 ../../gcc/libiberty/strerror.c
../../gcc/libiberty/strerror.c:465: warning: static declaration for `sys_nerr' follows non-static
../../gcc/libiberty/strerror.c:466: conflicting types for `sys_errlist'
/usr/include/sys/errno.h:23: previous declaration of `sys_errlist'
make[1]: *** [strerror.o] Error 1
make[1]: Leaving directory `/cygdrive/e/gcc-src/build2/libiberty'
make: *** [all-libiberty] Error 2
>How-To-Repeat:
1. install fresh copy of latest cygwin release
2. get gcc_3_0_1_release from CVS
3. configure --with-languages=c,c++
4. make bootstrap
>Fix:
Unknown. I know I have done this successfully in the past. Maybe something changed in Cygwin.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list