public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/36545]  New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c
@ 2008-06-16  1:41 andry at inbox dot ru
  2008-08-11  1:08 ` [Bug bootstrap/36545] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: andry at inbox dot ru @ 2008-06-16  1:41 UTC (permalink / raw)
  To: gcc-bugs

Error output:

<<<<
In file included from ../../../gcc-4.3.1/libgcc/../gcc/unwind-dw2.c:41:
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:133: error: expected declaration
specifiers or '...' before '_uleb128_t'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h: In function 'read_uleb128':
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:137: error: '_uleb128_t'
undeclared (first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:137: error: (Each undeclared
identifier is reported only once
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:137: error: for each function it
appears in.)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:137: error: expected ';' before
'result'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:139: error: 'result' undeclared
(first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:143: error: expected ')' before
'byte'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:148: error: 'val' undeclared
(first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h: At top level:
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:155: error: expected declaration
specifiers or '...' before '_sleb128_t'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h: In function 'read_sleb128':
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:159: error: '_uleb128_t'
undeclared (first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:159: error: expected ';' before
'result'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:161: error: 'result' undeclared
(first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:165: error: expected ')' before
'byte'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:172: error: expected ')' before
numeric constant
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:174: error: 'val' undeclared
(first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:174: error: '_sleb128_t'
undeclared (first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:174: error: expected ';' before
'result'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h: In function
'read_encoded_value_with_base':
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:218: error: '_uleb128_t'
undeclared (first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:218: error: expected ';' before
'tmp'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:219: error: 'tmp' undeclared
(first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:219: error: too many arguments to
function 'read_uleb128'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:226: error: '_sleb128_t'
undeclared (first use in this function)
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:226: error: expected ';' before
'tmp'
../../../gcc-4.3.1/libgcc/../gcc/unwind-pe.h:227: error: too many arguments to
function 'read_sleb128'
make[3]: *** [unwind-dw2.o] Error 1
make[3]: Leaving directory
`/c/_Builds/gcc-4.3.1-mingw-build/i686-pc-mingw32/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/c/_Builds/gcc-4.3.1-mingw-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/c/_Builds/gcc-4.3.1-mingw-build'
make: *** [all] Error 2
>>>>

This is because type _uleb128_t doesn't properly defined in context of
"/gcc/unwind-dw2.c" in sources of GCC. Type is defined in "unwind-generic.h" in
the same directory, but at first - it doesn't included, at second - it declares
guard define "_UNWIND_H" which already declared in
"/mingw/lib/gcc/mingw32/3.4.5/include/unwind.h" and this file already included,
so try to include "unwind-generic.h" just before "unwind-pe.h" in
"unwind-dw2.c" anyway useless and could invoke different errors.


-- 
           Summary: Type _uleb128_t doesn't defined properly in /gcc/unwind-
                    dw2.c
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andry at inbox dot ru
  GCC host triplet: i686-pc-mingw32


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


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

* [Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c
  2008-06-16  1:41 [Bug bootstrap/36545] New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c andry at inbox dot ru
@ 2008-08-11  1:08 ` pinskia at gcc dot gnu dot org
  2008-08-11  1:43 ` andry at inbox dot ru
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-11  1:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-11 01:07 -------
How did you configure GCC and how did you invoke make?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   GCC host triplet|i686-pc-mingw32             |
 GCC target triplet|                            |i686-pc-mingw32/


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


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

* [Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c
  2008-06-16  1:41 [Bug bootstrap/36545] New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c andry at inbox dot ru
  2008-08-11  1:08 ` [Bug bootstrap/36545] " pinskia at gcc dot gnu dot org
@ 2008-08-11  1:43 ` andry at inbox dot ru
  2009-03-29  4:31 ` rob1weld at aol dot com
  2009-03-29  4:38 ` rob1weld at aol dot com
  3 siblings, 0 replies; 5+ messages in thread
From: andry at inbox dot ru @ 2008-08-11  1:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from andry at inbox dot ru  2008-08-11 01:42 -------
I don't know already. At now i have no this error.


-- 


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


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

* [Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c
  2008-06-16  1:41 [Bug bootstrap/36545] New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c andry at inbox dot ru
  2008-08-11  1:08 ` [Bug bootstrap/36545] " pinskia at gcc dot gnu dot org
  2008-08-11  1:43 ` andry at inbox dot ru
@ 2009-03-29  4:31 ` rob1weld at aol dot com
  2009-03-29  4:38 ` rob1weld at aol dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rob1weld at aol dot com @ 2009-03-29  4:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rob1weld at aol dot com  2009-03-29 04:31 -------
(In reply to comment #1)
> How did you configure GCC and how did you invoke make?

I am getting the exact same error on the Trunk for OpenBSD 4.5 .

# gmake
... (Errors)
# gcc/xgcc -v
Using built-in specs.
Target: i686-unknown-openbsd4.5
Configured with: /usr/src/gcc_trunk/configure --prefix=/home/usr/gcc_installed
--build=x86_64-unknown-openbsd4.5 --host=x86_64-unknown-openbsd4.5 
--targeti686-unknown-openbsd4.5
--enable-languages=c,c++,fortran,java,objc,obj-c++
--enable-multilib --disable-stage1-checking --enable-checking=release
--with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: single
gcc version 4.5.0 20090328 (experimental) [trunk revision 145157] (GCC)

Thanks,
Rob


-- 


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


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

* [Bug bootstrap/36545] Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c
  2008-06-16  1:41 [Bug bootstrap/36545] New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c andry at inbox dot ru
                   ` (2 preceding siblings ...)
  2009-03-29  4:31 ` rob1weld at aol dot com
@ 2009-03-29  4:38 ` rob1weld at aol dot com
  3 siblings, 0 replies; 5+ messages in thread
From: rob1weld at aol dot com @ 2009-03-29  4:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rob1weld at aol dot com  2009-03-29 04:38 -------
Another person has the same complaint as Andrey here:
http://www.mail-archive.com/gcc@gcc.gnu.org/msg23970.html


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


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


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

end of thread, other threads:[~2009-03-29  4:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16  1:41 [Bug bootstrap/36545] New: Type _uleb128_t doesn't defined properly in /gcc/unwind-dw2.c andry at inbox dot ru
2008-08-11  1:08 ` [Bug bootstrap/36545] " pinskia at gcc dot gnu dot org
2008-08-11  1:43 ` andry at inbox dot ru
2009-03-29  4:31 ` rob1weld at aol dot com
2009-03-29  4:38 ` rob1weld at aol dot com

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).