bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #15040] Trunk build fails on OpenBSD sparc64


From: Alexander Taler
Subject: [bug #15040] Trunk build fails on OpenBSD sparc64
Date: Wed, 23 Nov 2005 08:15:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15040>

                 Summary: Trunk build fails on OpenBSD sparc64
                 Project: Concurrent Versions System
            Submitted by: dissent
            Submitted on: Wed 11/23/05 at 08:15
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 
           Fixed Release: None
   Fixed Feature Release: None

    _______________________________________________________

Details:

Hi, I'm having a build failure for cvs 1.12 (trunk) on OpenBSD
Sparc64.  Support for inttypes is not being correctly detected.

Here's the tail of my build:

====================

if gcc -DHAVE_CONFIG_H -I. -I/home/cvstest/cvs-nightly/lib -I..   
-Ino/include  
-g -O2 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o
/home/cvstest/cvs-nightl
y/lib/md5.c;  then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f
".deps/md5.Tp
o"; exit 1; fi
In file included from /home/cvstest/cvs-nightly/lib/md5.h:25,
                 from /home/cvstest/cvs-nightly/lib/md5.c:27:
stdint.h:62: warning: redefinition of `int8_t'
/usr/include/machine/int_types.h:53: warning: `int8_t' previously declared
here
stdint.h:64: warning: redefinition of `uint8_t'
/usr/include/machine/int_types.h:54: warning: `uint8_t' previously declared
here
stdint.h:67: warning: redefinition of `int16_t'
/usr/include/machine/int_types.h:56: warning: `int16_t' previously declared
here
stdint.h:69: warning: redefinition of `uint16_t'
/usr/include/machine/int_types.h:57: warning: `uint16_t' previously declared
here
stdint.h:72: warning: redefinition of `int32_t'
/usr/include/machine/int_types.h:59: warning: `int32_t' previously declared
here
stdint.h:74: warning: redefinition of `uint32_t'
/usr/include/machine/int_types.h:60: warning: `uint32_t' previously declared
here
stdint.h:78: error: conflicting types for `int64_t'
/usr/include/machine/int_types.h:69: error: previous declaration of
`int64_t'
stdint.h:80: error: conflicting types for `uint64_t'
/usr/include/machine/int_types.h:70: error: previous declaration of
`uint64_t'
stdint.h:136: warning: useless keyword or type name in empty declaration
stdint.h:136: warning: empty declaration
stdint.h:137: warning: useless keyword or type name in empty declaration
stdint.h:137: warning: empty declaration
In file included from /home/cvstest/cvs-nightly/lib/md5.h:25,
                 from /home/cvstest/cvs-nightly/lib/md5.c:27:
stdint.h:233:1: warning: "SIZE_MAX" redefined
In file included from /usr/include/sys/limits.h:45,
                 from /usr/include/limits.h:88,
                 from stdint.h:30,
                 from /home/cvstest/cvs-nightly/lib/md5.h:25,
                 from /home/cvstest/cvs-nightly/lib/md5.c:27:
/usr/include/machine/limits.h:41:1: warning: this is the location of the
previous
 definition
*** Error code 1

Stop in /tmp/cvs-nightly/lib.
*** Error code 1

Stop in /tmp/cvs-nightly/lib (line 354 of Makefile).
*** Error code 1

Stop in /tmp/cvs-nightly (line 418 of Makefile).
*** Error code 1

Stop in /tmp/cvs-nightly (line 326 of Makefile).

====================

Here's a snippet of the configure output:

====================

checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes

====================

and here's the complete (except the license)
/usr/include/machine/int_types.h, which is included from stddef.h

====================

#ifndef _SPARC64_INT_TYPES_H_
#define _SPARC64_INT_TYPES_H_

/*
 * 7.18.1 Integer types
 */

/* 7.18.1.1 Exact-width integer types */

typedef __signed char            int8_t;
typedef unsigned char           uint8_t;
typedef unsigned char          u_int8_t;
typedef short int               int16_t;
typedef unsigned short int     uint16_t;
typedef unsigned short int    u_int16_t;
typedef int                     int32_t;
typedef unsigned int           uint32_t;
typedef unsigned int          u_int32_t;

#ifdef __COMPILER_INT64__
typedef __COMPILER_INT64__      int64_t;
typedef __COMPILER_UINT64__    uint64_t;
typedef __COMPILER_UINT64__   u_int64_t;
#else
/* 64-bit compiler */
typedef long long int           int64_t;
typedef unsigned long long int  uint64_t;
typedef unsigned long long int  u_int64_t;
#endif /* !__COMPILER_INT64__ */

#define __BIT_TYPES_DEFINED__

/* 7.18.1.4 Integer types capable of holding object pointers */

typedef long int               __intptr_t;
typedef unsigned long int     __uintptr_t;

#endif  /* !_SPARC64_INT_TYPES_H_ */

====================









    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15040>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]