public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
@ 2012-12-22  1:50 gerald at pfeifer dot com
  2012-12-22  2:21 ` [Bug bootstrap/55784] " pinskia at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: gerald at pfeifer dot com @ 2012-12-22  1:50 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

             Bug #: 55784
           Summary: [4.8 regression] declaration of C function 'const
                    char* strsignal(int)' conflicts with
                    /usr/include/string.h:112: error: previous declaration
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gerald@pfeifer.com


This happened in the last 24 hours and seems to affect all versions of
FreeBSD (explicitly amd64-unknown-freebsd8.2 and i386-unknown-freebsd10.0):

g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/scratch2/tmp/gerald/gcc-HEAD/gcc -I/scratch2/tmp/gerald/gcc-HEAD/gcc/build
-I/scratch2/tmp/gerald/gcc-HEAD/gcc/../include -I./../intl
-I/scratch2/tmp/gerald/gcc-HEAD/gcc/../libcpp/include
-I/home/gerald/10-i386/include 
-I/scratch2/tmp/gerald/gcc-HEAD/gcc/../libdecnumber
-I/scratch2/tmp/gerald/gcc-HEAD/gcc/../libdecnumber/dpd -I../libdecnumber
-I/scratch2/tmp/gerald/gcc-HEAD/gcc/../libbacktrace    \
        -o build/genconstants.o
/scratch2/tmp/gerald/gcc-HEAD/gcc/genconstants.c
In file included from /scratch2/tmp/gerald/gcc-HEAD/gcc/system.h:198,
                 from /scratch2/tmp/gerald/gcc-HEAD/gcc/genconstants.c:29:
/usr/include/sys/types.h:187: error: declaration does not declare anything
In file included from /scratch2/tmp/gerald/gcc-HEAD/gcc/genconstants.c:29:
/scratch2/tmp/gerald/gcc-HEAD/gcc/system.h:502: error: declaration of C
function 'const char* strsignal(int)' conflicts with
/usr/include/string.h:112: error: previous declaration 'char* strsignal(int)'
here
gmake[3]: *** [build/genconstants.o] Error 1
gmake[3]: Leaving directory `/scratch2/tmp/gerald/OBJ-1222-0104/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/scratch2/tmp/gerald/OBJ-1222-0104'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/scratch2/tmp/gerald/OBJ-1222-0104'
gmake: *** [all] Error 2


The respective lines of /usr/include/sys/types.h are the following:

186 #ifndef _RLIM_T_DECLARED
187 typedef __rlim_t        rlim_t;         /* resource limit */
188 #define _RLIM_T_DECLARED
189 #endif

though I'd focus on the other issue first.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
@ 2012-12-22  2:21 ` pinskia at gcc dot gnu.org
  2012-12-22  8:57 ` schwab@linux-m68k.org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-22  2:21 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-12-22
   Target Milestone|---                         |4.8.0
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-22 02:21:11 UTC ---
Confirmed.  The issue is related to gmp.h included from system.h.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
  2012-12-22  2:21 ` [Bug bootstrap/55784] " pinskia at gcc dot gnu.org
@ 2012-12-22  8:57 ` schwab@linux-m68k.org
  2012-12-22 12:00 ` dominiq at lps dot ens.fr
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: schwab@linux-m68k.org @ 2012-12-22  8:57 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2012-12-22 08:57:46 UTC ---
Take a look at gcc/config.log.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
  2012-12-22  2:21 ` [Bug bootstrap/55784] " pinskia at gcc dot gnu.org
  2012-12-22  8:57 ` schwab@linux-m68k.org
@ 2012-12-22 12:00 ` dominiq at lps dot ens.fr
  2012-12-22 12:28 ` ebotcazou at gcc dot gnu.org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-12-22 12:00 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at libertysurf
                   |                            |dot fr, rguenther at suse
                   |                            |dot de

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-22 12:00:12 UTC ---
I think this failure plagues all the builds which don't have a gmp dev package
installed and rely on --with-gmp. The following patch

--- ../_clean/gcc/configure    2012-12-20 17:19:54.000000000 +0100
+++ ../p_work/gcc/configure    2012-12-21 23:44:46.000000000 +0100
@@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 

 # We will need to find libiberty.h and ansidecl.h
 saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
+CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 saved_CXXFLAGS="$CXXFLAGS"
-CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include"
+CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \
     strsignal strstr stpcpy strverscmp \
     errno snprintf vsnprintf vasprintf malloc realloc calloc \

fixes it for languages c,c++,lto,fortran,objc,obj-c++, but not for libada (I
did not test libjava, nor go).
With the above patch libada fails with

make -C ../gcc/ada/tools -f ../Makefile \
      "CC=../../xgcc -B../../" "CFLAGS=-g -O2 -W -Wall"
"LDFLAGS=-static-libstdc++ -static-libgcc " "ADAFLAGS=-gnatpg -gnata"
"ADA_CFLAGS=" "INCLUDES=-I. -I.. -I../.. -I/opt/gcc/p_work/gcc/ada
-I/opt/gcc/p_work/gcc/config -I/opt/gcc/p_work/gcc/../include
-I/opt/gcc/p_work/gcc" "ADA_INCLUDES=-I- -I../rts -I.
-I/opt/gcc/p_work/gcc/ada" "exeext=" "fsrcdir=/opt/gcc/p_work/gcc"
"srcdir=/opt/gcc/p_work/gcc" "GNATMAKE=../../gnatmake"
"GNATLINK=../../gnatlink" "GNATBIND=../../gnatbind" "TOOLSCASE=native" \
      ../../gnatmake ../../gnatlink
../../xgcc -B../../ -c -DIN_GCC  -g -O2 -W -Wall  \
        -iquote /opt/gcc/p_work/gcc \
         -iquote . -iquote .. -iquote ../.. -iquote /opt/gcc/p_work/gcc/ada
-iquote /opt/gcc/p_work/gcc -I/opt/gcc/p_work/gcc/../include \
        ../rts/targext.c -o targext.o
In file included from ../rts/targext.c:43:0:
/opt/gcc/p_work/gcc/system.h:641:17: fatal error: gmp.h: No such file or
directory
 #include <gmp.h>
                 ^


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (2 preceding siblings ...)
  2012-12-22 12:00 ` dominiq at lps dot ens.fr
@ 2012-12-22 12:28 ` ebotcazou at gcc dot gnu.org
  2012-12-22 12:46 ` dominiq at lps dot ens.fr
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-22 12:28 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-22 12:27:51 UTC ---
> --- ../_clean/gcc/configure    2012-12-20 17:19:54.000000000 +0100
> +++ ../p_work/gcc/configure    2012-12-21 23:44:46.000000000 +0100
> @@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 
> 
>  # We will need to find libiberty.h and ansidecl.h
>  saved_CFLAGS="$CFLAGS"
> -CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
> +CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
>  saved_CXXFLAGS="$CXXFLAGS"
> -CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include"
> +CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
>  for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \
>      strsignal strstr stpcpy strverscmp \
>      errno snprintf vsnprintf vasprintf malloc realloc calloc \
> 
> fixes it for languages c,c++,lto,fortran,objc,obj-c++, but not for libada (I
> did not test libjava, nor go).
> With the above patch libada fails with

Try to add $GMPINC to INCLUDES & INCLUDES_FOR_SUBDIR in
gcc-interface/Makefile.in


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (3 preceding siblings ...)
  2012-12-22 12:28 ` ebotcazou at gcc dot gnu.org
@ 2012-12-22 12:46 ` dominiq at lps dot ens.fr
  2012-12-22 18:39 ` dominiq at lps dot ens.fr
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-12-22 12:46 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-22 12:46:02 UTC ---
> Try to add $GMPINC to INCLUDES & INCLUDES_FOR_SUBDIR in
> gcc-interface/Makefile.in

This leads to

make -C ../gcc/ada/tools -f ../Makefile \
      "CC=../../xgcc -B../../" "CFLAGS=-g -O2 -W -Wall"
"LDFLAGS=-static-libstdc++ -static-libgcc " "ADAFLAGS=-gnatpg -gnata"
"ADA_CFLAGS=" "INCLUDES=-I. -I.. -I../.. -I/opt/gcc/p_work/gcc/ada
-I/opt/gcc/p_work/gcc/config -I/opt/gcc/p_work/gcc/../include
-I/opt/gcc/p_work/gcc" "ADA_INCLUDES=-I- -I../rts -I.
-I/opt/gcc/p_work/gcc/ada" "exeext=" "fsrcdir=/opt/gcc/p_work/gcc"
"srcdir=/opt/gcc/p_work/gcc" "GNATMAKE=../../gnatmake"
"GNATLINK=../../gnatlink" "GNATBIND=../../gnatbind" "TOOLSCASE=native" \
      ../../gnatmake ../../gnatlink
../../xgcc -B../../ -c -DIN_GCC  -g -O2 -W -Wall  \
        -iquote /opt/gcc/p_work/gcc \
         -iquote . -iquote .. -iquote ../.. -iquote /opt/gcc/p_work/gcc/ada
-iquote /opt/gcc/p_work/gcc -I/opt/gcc/p_work/gcc/../include MPINC \
        ../rts/targext.c -o targext.o
xgcc: error: MPINC: No such file or directory
make[3]: *** [targext.o] Error 1
make[2]: *** [gnattools-native] Error 2
make[1]: *** [all-gnattools] Error 2
make: *** [all] Error 2

but I finished bootstrap with the following patch

--- ../_clean/gcc/ada/gcc-interface/Makefile.in    2012-11-07
08:50:19.000000000 +0100
+++ ../p_work/gcc/ada/gcc-interface/Makefile.in    2012-12-22
13:34:39.000000000 +0100
@@ -273,7 +273,7 @@ endif
 # Both . and srcdir are used, in that order,
 # so that tm.h and config.h will be found in the compilation
 # subdirectory rather than in the source directory.
-INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include
+INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include
$(GMPINC)

 ADA_INCLUDES = -I- -I. -I$(srcdir)/ada

@@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
 ifneq ($(findstring vxworks,$(osys)),)
   INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
             -iquote $(fsrcdir)/ada \
-            -I$(fsrcdir)/../include
+            -I$(fsrcdir)/../include $(GMPINC)
 else
   INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
             -iquote $(fsrcdir)/ada -iquote $(fsrcdir) \
-            -I$(fsrcdir)/../include
+            -I$(fsrcdir)/../include $(GMPINC)
 endif

 ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada

Thanks for the tip.

I'll try to bootstrap with java, but I cannot test go (AFAIR it does work on
darwin).


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (4 preceding siblings ...)
  2012-12-22 12:46 ` dominiq at lps dot ens.fr
@ 2012-12-22 18:39 ` dominiq at lps dot ens.fr
  2012-12-22 18:58 ` ebotcazou at gcc dot gnu.org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-12-22 18:39 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-22 18:38:55 UTC ---
On x86_64-apple-darwin10 I have successfully bootstrapped revision 194694 with
the patches in comments #3 and #5, and configured with

../work/configure --prefix=/opt/gcc/gcc4.8w
--enable-languages=c,c++,fortran,objc,obj-c++,java,ada,lto --with-gmp=/opt/mp
--with-system-zlib --with-isl=/opt/mp --enable-lto --enable-plugin
--enable-build-with-cxx

So java/libjava seem OK (regtest scheduled for tonight).


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (5 preceding siblings ...)
  2012-12-22 18:39 ` dominiq at lps dot ens.fr
@ 2012-12-22 18:58 ` ebotcazou at gcc dot gnu.org
  2012-12-23 14:19 ` dominiq at lps dot ens.fr
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-12-22 18:58 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-22 18:57:55 UTC ---
> but I finished bootstrap with the following patch
> 
> --- ../_clean/gcc/ada/gcc-interface/Makefile.in    2012-11-07
> 08:50:19.000000000 +0100
> +++ ../p_work/gcc/ada/gcc-interface/Makefile.in    2012-12-22
> 13:34:39.000000000 +0100
> @@ -273,7 +273,7 @@ endif
>  # Both . and srcdir are used, in that order,
>  # so that tm.h and config.h will be found in the compilation
>  # subdirectory rather than in the source directory.
> -INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include
> +INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include
> $(GMPINC)
> 
>  ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
> 
> @@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
>  ifneq ($(findstring vxworks,$(osys)),)
>    INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
>              -iquote $(fsrcdir)/ada \
> -            -I$(fsrcdir)/../include
> +            -I$(fsrcdir)/../include $(GMPINC)
>  else
>    INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
>              -iquote $(fsrcdir)/ada -iquote $(fsrcdir) \
> -            -I$(fsrcdir)/../include
> +            -I$(fsrcdir)/../include $(GMPINC)
>  endif
> 
>  ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada
> 
> Thanks for the tip.

You're welcome.  The Ada bits are OK for mainline.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (6 preceding siblings ...)
  2012-12-22 18:58 ` ebotcazou at gcc dot gnu.org
@ 2012-12-23 14:19 ` dominiq at lps dot ens.fr
  2012-12-23 19:32 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-12-23 14:19 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-23 14:18:58 UTC ---
> regtest scheduled for tonight

Finished without new failure. I won't have access to the net for the next ten
days.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (7 preceding siblings ...)
  2012-12-23 14:19 ` dominiq at lps dot ens.fr
@ 2012-12-23 19:32 ` pinskia at gcc dot gnu.org
  2012-12-24 10:46 ` andreast at gcc dot gnu.org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-23 19:32 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (8 preceding siblings ...)
  2012-12-23 19:32 ` pinskia at gcc dot gnu.org
@ 2012-12-24 10:46 ` andreast at gcc dot gnu.org
  2012-12-26 21:29 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: andreast at gcc dot gnu.org @ 2012-12-24 10:46 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Andreas Tobler <andreast at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreast at gcc dot gnu.org
           Severity|blocker                     |normal

--- Comment #9 from Andreas Tobler <andreast at gcc dot gnu.org> 2012-12-24 10:45:58 UTC ---
I can confirm a completed bootstrap w/o ada on x86_64-unknown-freebsd10.0 with
the 'patch' from comment #3.

Thanks & frohe Weihnachten!
Andreas


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (9 preceding siblings ...)
  2012-12-24 10:46 ` andreast at gcc dot gnu.org
@ 2012-12-26 21:29 ` pinskia at gcc dot gnu.org
  2012-12-31 16:09 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-12-26 21:29 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (10 preceding siblings ...)
  2012-12-26 21:29 ` pinskia at gcc dot gnu.org
@ 2012-12-31 16:09 ` rguenth at gcc dot gnu.org
  2013-01-02 10:26 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-31 16:09 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (11 preceding siblings ...)
  2012-12-31 16:09 ` rguenth at gcc dot gnu.org
@ 2013-01-02 10:26 ` rguenth at gcc dot gnu.org
  2013-01-02 11:57 ` rguenth at gcc dot gnu.org
  2013-01-02 11:58 ` rguenth at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-02 10:26 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-02 10:26:25 UTC ---
I'm combining the patches from comment#3 and comment#5, do a bootstrap and
regtest and commit them.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (12 preceding siblings ...)
  2013-01-02 10:26 ` rguenth at gcc dot gnu.org
@ 2013-01-02 11:57 ` rguenth at gcc dot gnu.org
  2013-01-02 11:58 ` rguenth at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-02 11:57 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-02 11:57:36 UTC ---
Author: rguenth
Date: Wed Jan  2 11:57:31 2013
New Revision: 194804

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194804
Log:
2013-01-02  Richard Biener  <rguenther@suse.de>

    PR bootstrap/55784
    * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
    * configure: Regenerate.

    ada/
    * gcc-interface/Makefile.in: Add $(GMPINC) to includes.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/Makefile.in
    trunk/gcc/configure
    trunk/gcc/configure.ac


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/55784] [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration
  2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
                   ` (13 preceding siblings ...)
  2013-01-02 11:57 ` rguenth at gcc dot gnu.org
@ 2013-01-02 11:58 ` rguenth at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-01-02 11:58 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55784

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-02 11:58:08 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-01-02 11:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-22  1:50 [Bug bootstrap/55784] New: [4.8 regression] declaration of C function 'const char* strsignal(int)' conflicts with /usr/include/string.h:112: error: previous declaration gerald at pfeifer dot com
2012-12-22  2:21 ` [Bug bootstrap/55784] " pinskia at gcc dot gnu.org
2012-12-22  8:57 ` schwab@linux-m68k.org
2012-12-22 12:00 ` dominiq at lps dot ens.fr
2012-12-22 12:28 ` ebotcazou at gcc dot gnu.org
2012-12-22 12:46 ` dominiq at lps dot ens.fr
2012-12-22 18:39 ` dominiq at lps dot ens.fr
2012-12-22 18:58 ` ebotcazou at gcc dot gnu.org
2012-12-23 14:19 ` dominiq at lps dot ens.fr
2012-12-23 19:32 ` pinskia at gcc dot gnu.org
2012-12-24 10:46 ` andreast at gcc dot gnu.org
2012-12-26 21:29 ` pinskia at gcc dot gnu.org
2012-12-31 16:09 ` rguenth at gcc dot gnu.org
2013-01-02 10:26 ` rguenth at gcc dot gnu.org
2013-01-02 11:57 ` rguenth at gcc dot gnu.org
2013-01-02 11:58 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).