public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h
@ 2003-10-03 19:37 stuart_yarus at compusa dot com
  2003-10-06  3:45 ` [Bug other/12505] [3.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: stuart_yarus at compusa dot com @ 2003-10-03 19:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: build failure due to defines of uchar in cpphash.h and
                    sys/types.h
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stuart_yarus at compusa dot com
                CC: gcc-bugs at gcc dot gnu dot org,stuart_yarus at compusa
                    dot com
 GCC build triplet: powerpc-ibm-aix4.1.5.0
  GCC host triplet: powerpc-ibm-aix4.1.5.0
GCC target triplet: powerpc-ibm-aix4.1.5.0

problem: 
in compiling cpplib.o, 'uchar' defined in gcc/cpphash.h and
/usr/include/sys/types.h.

log:
xlc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H    -I. -I. -I../../gcc-3.3.1/gcc -I../
../gcc-3.3.1/gcc/. -I../../gcc-3.3.1/gcc/config -I../../gcc-3.3.1/gcc/../include
 ../../gcc-3.3.1/gcc/cpplib.c -o cpplib.o
../../gcc-3.3.1/gcc/cpphash.h", line 32.23: 1506-334 (S) Identifier uchar h
as already been defined on line 175 of "/usr/include/sys/types.h


my fix:
comment out line 32

result:
build continued


build was from full distribution gcc-3.3.1.tar.gz.

build done with "make bootstrap"

configuration options, from gcc -v:
Configured with: ../gcc-3.3.1/configure --prefix=/usr/local --libdir=/usr/local/
gcclib --program-suffix=3.3.1 --enable-threads=aix --enable-languages=c,c++ --di
sable-libgcj --disable-multilib
Thread model: aix
gcc version 3.3.1


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
@ 2003-10-06  3:45 ` pinskia at gcc dot gnu dot org
  2003-10-16  9:37 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-06  3:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-06 03:45:19
               date|                            |
            Summary|build failure due to defines|[3.3 Regression] build
                   |of uchar in cpphash.h and   |failure due to defines of
                   |sys/types.h                 |uchar in cpphash.h and
                   |                            |sys/types.h
   Target Milestone|---                         |3.3.2


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-06 03:45 -------
Fixed on the mainline by:
2003-01-20  Zack Weinberg  <zack@codesourcery.com>

        * configure.in: Check for system-provided 'uchar' type.
        * configure, config.in: Regenerate.
        * cpphash.h: Only typedef 'uchar' if the system doesn't.
This orginally caused by:
2002-05-16  Neil Booth  <neil@daikokuya.demon.co.uk>
        
        * cpphash.h (cpp_macro): Move here, and make expansion a union.
        * cppmacro.c (cpp_macro): Remove.
        (enter_macro_context, replace_args, warn_of_redefinition,
        _cpp_create_definition, cpp_macro_definition): Update.


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
  2003-10-06  3:45 ` [Bug other/12505] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2003-10-16  9:37 ` mmitchel at gcc dot gnu dot org
  2003-10-26 22:34 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-16  9:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.2                       |3.3.3


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-10-16 09:37 -------
Postponed until GCC 3.3.3.


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
  2003-10-06  3:45 ` [Bug other/12505] [3.3 Regression] " pinskia at gcc dot gnu dot org
  2003-10-16  9:37 ` mmitchel at gcc dot gnu dot org
@ 2003-10-26 22:34 ` pinskia at gcc dot gnu dot org
  2003-12-01 22:58 ` zack at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-26 22:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-26 22:29 -------
Here is the patch which fixed it: <http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01412.html>.


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
                   ` (2 preceding siblings ...)
  2003-10-26 22:34 ` pinskia at gcc dot gnu dot org
@ 2003-12-01 22:58 ` zack at gcc dot gnu dot org
  2003-12-01 23:02 ` gdr at integrable-solutions dot net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-01 22:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-01 22:58 -------
Gabriel - OK to backport to 3.3 branch?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org
         AssignedTo|unassigned at gcc dot gnu   |zack at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
                   ` (3 preceding siblings ...)
  2003-12-01 22:58 ` zack at gcc dot gnu dot org
@ 2003-12-01 23:02 ` gdr at integrable-solutions dot net
  2003-12-02  1:56 ` cvs-commit at gcc dot gnu dot org
  2003-12-02  1:56 ` zack at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-12-01 23:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2003-12-01 23:02 -------
Subject: Re:  [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h

"zack at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Gabriel - OK to backport to 3.3 branch?

Yes.  Thanks!

-- Gaby


-- 


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


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
                   ` (4 preceding siblings ...)
  2003-12-01 23:02 ` gdr at integrable-solutions dot net
@ 2003-12-02  1:56 ` cvs-commit at gcc dot gnu dot org
  2003-12-02  1:56 ` zack at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-02  1:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-02 01:56 -------
Done.
------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-02 01:56 -------
Subject: Bug 12505

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	zack@gcc.gnu.org	2003-12-02 01:56:18

Modified files:
	gcc            : ChangeLog configure.in config.in configure 
	                 cpphash.h 

Log message:
	PR 12505
	* configure.in: Check for system-provided 'uchar' type.
	* configure, config.in: Regenerate.
	* cpphash.h: Only typedef 'uchar' if the system doesn't.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.814&r2=1.16114.2.815
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.in.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.627.2.18&r2=1.627.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.in.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.146.2.6&r2=1.146.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.641.2.21&r2=1.641.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpphash.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.172.4.1&r2=1.172.4.2



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


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


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

* [Bug other/12505] [3.3 Regression] build failure due to defines of uchar in cpphash.h and sys/types.h
  2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
                   ` (5 preceding siblings ...)
  2003-12-02  1:56 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-02  1:56 ` zack at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-02  1:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-02 01:56 -------
Done.

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


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


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

end of thread, other threads:[~2003-12-02  1:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-03 19:37 [Bug other/12505] New: build failure due to defines of uchar in cpphash.h and sys/types.h stuart_yarus at compusa dot com
2003-10-06  3:45 ` [Bug other/12505] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-10-16  9:37 ` mmitchel at gcc dot gnu dot org
2003-10-26 22:34 ` pinskia at gcc dot gnu dot org
2003-12-01 22:58 ` zack at gcc dot gnu dot org
2003-12-01 23:02 ` gdr at integrable-solutions dot net
2003-12-02  1:56 ` cvs-commit at gcc dot gnu dot org
2003-12-02  1:56 ` zack at gcc dot gnu dot 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).