public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16988] New: error: conflicting types for ‘pthread_attr_t’
@ 2014-05-26  7:17 2947868523 at qq dot com
  2014-05-26  7:22 ` [Bug build/16988] " 2947868523 at qq dot com
  2014-06-12 19:11 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-26  7:17 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16988

            Bug ID: 16988
           Summary: error: conflicting types for ‘pthread_attr_t’
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: 2947868523 at qq dot com
                CC: drepper.fsp at gmail dot com
             Flags: review+

glibc 2.18.0 + glibc-ports-2.15

configure ok
//-----------------------------------------------------------------------
unset LD_LIBRARY_PATH
unset CFLAGS
BUILD_CC=gcc CC=${TARGET}-gcc LD=${TARGET}-ld AR=${TARGET}-ar
RANLIB=${TARGET}-ranlib CFLAGS="-g -O2 -march=armv4t"
../../src/glibc-2.18/configure --build=i686-pc-linux-gnu --host=arm-linux
--target=$TARGET --prefix=$TARGET_PREFIX --disable-profile --enable-add-ons
--with-headers=$TARGET_PREFIX/include libc_cv_forced_unwind=yes 
libc_cv_c_cleanup=yes libc_cv_arm_tls=yes --enable-kernel=2.6.38
--with-binutils=$PREFIX/bin

error when make
//-----------------------------------------------------------------------
In file included from ../signal/signal.h:80:0,
                 from ../include/signal.h:5,
                 from ../misc/sys/param.h:28,
                 from ../include/sys/param.h:1,
                 from
../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../ports/sysdeps/arm/nptl/tls.h:55,
                 from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:31,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/bits/siginfo.h:291:30: error: conflicting types for
‘pthread_attr_t’
 typedef union pthread_attr_t pthread_attr_t;
                              ^
In file included from ../posix/sys/types.h:270:0,
                 from ../include/sys/types.h:1,
                 from ../nptl/descr.h:26,
                 from ../ports/sysdeps/arm/nptl/tls.h:55,
                 from ../ports/sysdeps/unix/sysv/linux/arm/sysdep.h:31,
                 from <stdin>:1:
../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h:45:3: note:
previous declaration of ‘pthread_attr_t’ was here
 } pthread_attr_t;
   ^
make[2]: *** [/home/lianhua/arm-linux/4.9.0/build/glibc/tcb-offsets.h] Error 1
make[2]: Leaving directory `/home/lianhua/arm-linux/4.9.0/src/glibc-2.18/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/lianhua/arm-linux/4.9.0/src/glibc-2.18'
make: *** [all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-22402-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon May 26 07:19:06 2014
Return-Path: <glibc-bugs-return-22402-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 13918 invoked by alias); 26 May 2014 07:19:06 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 13883 invoked by uid 48); 26 May 2014 07:19:02 -0000
From: "aj at suse dot de" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/16988] error:=?UTF-8?Q? conflicting types for ‘pthread_attr_t’?Date: Mon, 26 May 2014 07:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: aj at suse dot de
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: review+
X-Bugzilla-Changed-Fields: bug_status cc resolution
Message-ID: <bug-16988-131-4AvlImdEfS@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-16988-131@http.sourceware.org/bugzilla/>
References: <bug-16988-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-05/txt/msg00185.txt.bz2
Content-length: 630

https://sourceware.org/bugzilla/show_bug.cgi?id\x16988

Andreas Jaeger <aj at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |aj at suse dot de
         Resolution|---                         |INVALID

--- Comment #1 from Andreas Jaeger <aj at suse dot de> ---
> glibc 2.18.0 + glibc-ports-2.15

You need glibc-ports 2.18 for glibc 2.18.

--
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/16988] error: conflicting types for ‘pthread_attr_t’
  2014-05-26  7:17 [Bug libc/16988] New: error: conflicting types for ‘pthread_attr_t’ 2947868523 at qq dot com
@ 2014-05-26  7:22 ` 2947868523 at qq dot com
  2014-06-12 19:11 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-26  7:22 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16988

Chenyuan.Liu <2947868523 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com
          Component|libc                        |build

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug build/16988] error: conflicting types for ‘pthread_attr_t’
  2014-05-26  7:17 [Bug libc/16988] New: error: conflicting types for ‘pthread_attr_t’ 2947868523 at qq dot com
  2014-05-26  7:22 ` [Bug build/16988] " 2947868523 at qq dot com
@ 2014-06-12 19:11 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-12 19:11 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16988

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-06-12 19:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-26  7:17 [Bug libc/16988] New: error: conflicting types for ‘pthread_attr_t’ 2947868523 at qq dot com
2014-05-26  7:22 ` [Bug build/16988] " 2947868523 at qq dot com
2014-06-12 19:11 ` fweimer at redhat 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).